Control MCP tool calls with one set of rules
The short answer
@scopebond/mcp is a proxy that sits between an MCP client and its servers. Every tools/call is checked against your rules before it reaches the server; a call that breaks a rule is blocked, and each decision gets a signed record. Rules can count earlier calls in the session, such as a rate limit, a spend cap or a required order of calls, so "at most N per hour" holds across calls. They are the same rules you use for Claude Code, Cursor and GitHub.
Proxy an MCP server
Point your MCP client at the Scopebond proxy instead of the upstream server; the proxy forwards allowed calls and blocks the rest.
npx @scopebond/mcp@latest --policy .scopebond/policy.json --upstream <server-command>Limits that count across calls
The proxy keeps a history of the session's allowed calls, so a rule can count them: a rate limit, a spend cap or a required order of calls, not only one call at a time.
Good to know
What this does not do
The proxy checks calls that go through it; a client that talks to the server directly is not covered. It decides on the call and does not inspect the contents passed in it.
Alternatives
- MCP server allowlists in the client — coarse per-server on and off; Scopebond adds per-call rules, limits across calls and a signed record.
Questions
Does it work with any MCP server?
It proxies an upstream MCP server and decides each tools/call; the client sees a normal MCP server.
Can I set a rate or spend limit across calls?
Yes. The proxy keeps a session history, so a rate limit, spend cap or call order counts earlier allowed calls.