Skip to content

Add Intercept — open-source MCP policy enforcement proxy#3516

Closed
policylayer-dan wants to merge 1 commit into
modelcontextprotocol:mainfrom
policylayer-dan:add-intercept
Closed

Add Intercept — open-source MCP policy enforcement proxy#3516
policylayer-dan wants to merge 1 commit into
modelcontextprotocol:mainfrom
policylayer-dan:add-intercept

Conversation

@policylayer-dan
Copy link
Copy Markdown

What is Intercept?

Intercept is an open-source enforcement proxy that wraps any MCP server and evaluates every tools/call request against YAML-defined policies before forwarding to the upstream server.

What it does

  • Block tools — deny destructive operations like delete_repository
  • Rate limit — cap tool calls per minute/hour/day
  • Validate arguments — enforce conditions on tool call parameters
  • Spending caps — stateful counters for financial operations
  • Hide tools — remove tools from tools/list so the agent never sees them

How it works

Intercept sits between the MCP client and server at the transport layer. The agent doesn't know it's there — it sees the same tools and schemas. Policy enforcement is deterministic (YAML rules, not prompt-based).

Agent → [Intercept] → MCP Server
             ↑
         policy.yaml

Install

npx -y @policylayer/intercept -c policy.yaml -- npx -y @modelcontextprotocol/server-github

Also available as a Go binary: go install github.com/policylayer/intercept@latest

License: Apache 2.0
npm: @policylayer/intercept
Website: policylayer.com

@olaservo
Copy link
Copy Markdown
Member

Thanks for contributing to the MCP servers repo!

We've retired the third-party server list from the README in favor of the MCP Registry — see #3950 for context. The Official Integrations and Community Servers sections no longer exist in the README, so this PR no longer has a target.

Going forward, please publish your server to the MCP Registry using the quickstart guide:
https://github.com/modelcontextprotocol/registry/blob/main/docs/modelcontextprotocol-io/quickstart.mdx

That's where server discovery now happens. Thanks for building on MCP!


Note: I'm working through the backlog with help from Claude Code to give everyone a prompt response.

@olaservo olaservo closed this Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants