Skip to content
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.

CapabilityWhat it gives you
MCP tool callsEach MCP call decided as the tool, resource, prompt or task it names
Names taken wholeA tool called get_* is never read as a pattern, and a resource URI can’t place itself beneath another
Header and body agreeA call whose MCP headers disagree with its body, or whose protocol is too old, is refused
Refusals MCP clients readEvery refusal as a JSON-RPC error, with its HTTP status and challenge
Sign-in discoveredMCP clients find the realm from the server’s resource metadata
A token for the server aloneEach allowed call goes on under a token meant for the MCP server