PolicyLayer Intercept — open-source policy enforcement proxy for MCP #2125
s-a-m-a-i
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We built Intercept, an open-source transparent proxy that enforces YAML policies on every MCP tool call before it reaches upstream.
The problem it solves: when you connect an agent to an MCP server, the agent gets access to every tool with no limits. There's no way to say "read-only" or "max 5 issues per hour" or "no repo deletions" at the protocol level.
Intercept sits between the agent and the server. You write a policy file:
Then run:
Your agent connects to Intercept like any MCP server. Intercept proxies everything through the policy engine. Denied calls never reach GitHub.
Enforcement is at the transport layer — below the model. The agent can't see it or reason around it.
Works with this server and any other MCP server. Open source, MIT licensed.
Would love feedback from anyone running github-mcp-server in production. What policies would be most useful?
Beta Was this translation helpful? Give feedback.
All reactions