GatewayMarkdown
MCP servers
Put the gateway in front of an MCP server, and allow or refuse each tool, resource and prompt by name, for each agent or user.
An MCP server offers many tools behind one address, and they’re rarely equally safe: get_weather is not
delete_records. With the gateway in front of it, each MCP call is decided as what it does, the tool, resource or
prompt it names, so you allow one tool and refuse another on the same server, for each agent or user, with policies
in the realm. The server itself knows nothing about your policies.
An MCP client that has never met your server finds where to sign in from the gateway’s resource metadata, and a refusal comes back as a JSON-RPC error the client reads natively.
MCP tool calls How each MCP method is decided, and what you set up.
Protect an MCP server One tool allowed and another refused, step by step.
Capabilities
Section titled “Capabilities”Decide each call by name
Section titled “Decide each call by name”| Capability | What it gives you |
|---|---|
| MCP tool calls | Each MCP call decided as the tool, resource, prompt or task it names |
| Names taken whole | A tool called get_* is never read as a pattern, and a resource URI can’t place itself beneath another |
| Header and body agree | A call whose MCP headers disagree with its body, or whose protocol is too old, is refused |
| Refusals MCP clients read | Every refusal as a JSON-RPC error, with its HTTP status and challenge |
| Sign-in discovered | MCP clients find the realm from the server’s resource metadata |
| A token for the server alone | Each allowed call goes on under a token meant for the MCP server |
Coming next
Section titled “Coming next”- MCP tool federation: one endpoint for many servers’ tools.