logoalt Hacker News

ramozyesterday at 6:53 PM1 replyview on HN

If using Claude Code, a simple hook can govern `browser_navigate` (mcp)

A custom sh script or something for whitelists would take ~5min to setup.

For more robust governance (many policies), you can write Rego using https://github.com/eqtylab/cupcake

https://code.claude.com/docs/en/hooks#mcp-tool-naming


Replies

moss_dogyesterday at 7:00 PM

Thank you for the links / info! I'm looking forward to digging into this.