What the MCP Specification Does and Does Not Define
Model Context Protocol is an open standard originally introduced by Anthropic to standardize how AI applications connect to external tools and data sources. The specification defines three roles: MCP Hosts, the AI applications; MCP Clients, the connectors within those hosts; and MCP Servers, the programs that expose tools, resources, and callable functions. It supports multiple transport mechanisms, including stdio for local integrations and HTTP-based transports, such as Streamable HTTP, for remote communication. The specification also includes an OAuth 2.1-based authorization framework for HTTP transports, defining how clients obtain and present access tokens to servers.
What the specification does not define is a gateway. Gateway and proxy patterns are implementation choices made by adopters, not a mandated part of the core protocol. This distinction matters for enterprise architects: any claims about "MCP gateway security" describe an added architectural layer, not a protocol guarantee. Enforcement of least-privilege access, fine-grained tool-call authorization, and audit logging are all left to implementers.
Where an MCP Gateway Sits
MCP Host / Client
AI application and its protocol connector initiating tool requests
MCP Gateway
Enforcement point for identity, authorization, policy, and logging
MCP Server(s)
Programs exposing tools, resources, and data to the agent
Why Enterprises Are Adding a Gateway Layer
As organizations connect AI agents to increasing numbers of MCP servers, several structural gaps become apparent. Independent security research has identified "tool poisoning," where malicious or manipulated tool descriptions influence agent behavior, along with inconsistent input validation across server implementations. OWASP's guidance on LLM and agentic application security similarly identifies excessive agency and inadequate access control as primary risk categories for tool-calling systems, MCP-based or otherwise.
Because each MCP server may implement authorization independently, an enterprise running dozens of servers faces fragmented credential management, inconsistent security maturity across servers, and no centralized view of which agent called which tool, with what parameters, and what result. A gateway is the architectural response to this fragmentation: a single point where identity, policy, and logging can be applied consistently rather than left to each server's own implementation.
Placement and Architectural Tradeoffs
Gateway placement affects what traffic is visible for enforcement. A client-side gateway, positioned at the host application boundary, sees all outbound tool requests from a given agent but may have limited visibility into server-side responses across multiple backends. A server-side gateway, positioned in front of one or more MCP servers, can normalize authorization decisions across heterogeneous servers but may not capture agent-level context from the host.
Transport type also constrains placement. Local stdio transports limit interception options because the client and server often run in the same process boundary, while HTTP-based transports allow standard reverse-proxy patterns familiar from API gateway architectures. Multi-server environments compound this: a gateway aggregating authorization decisions across servers with differing security maturity must reconcile inconsistent implementations without silently weakening the strictest server's controls. Session and context boundaries in multi-step agent workflows add further complexity, since a policy decision made at step one of a tool chain may need to persist or be re-evaluated at step five.
Evaluation Criteria for an MCP Gateway
Enterprise architects assessing a gateway, whether built in-house or sourced from a vendor, should verify the following before treating it as a control boundary:
- Enforcement applies at both tool-discovery and tool-invocation stages, not only at initial connection setup.
- The gateway maps enterprise identity and IdP context to per-tool, per-resource permission scopes across multiple MCP servers.
- Audit logging captures individual tool-call requests and responses, not just connection-level events.
- The gateway handles MCP specification version differences between clients and servers as the standard evolves.
- Latency overhead introduced by policy checks is measured, particularly for multi-step agent workflows with many chained tool calls.
- Inspection or redaction of sensitive tool-call payloads is possible without breaking MCP message schemas.
Governance Alignment in the Absence of MCP-Specific Standards
No MCP-specific regulatory or compliance standard currently exists. Enterprises evaluating or building a gateway must map its controls to adjacent frameworks rather than protocol-native rules. NIST SP 800-207 establishes general zero trust principles (continuous verification, least privilege, and policy enforcement points) that are frequently referenced when describing agent-to-tool controls, though the standard does not address MCP specifically. OWASP's identification of excessive agency as a top risk for LLM-based systems implies that governance processes should include defined approval workflows before an agent's tool access is expanded, rather than allowing permissions to accumulate implicitly.
Because MCP's own specification leaves least-privilege enforcement and audit requirements undefined, the responsibility for documenting and enforcing these policies sits with the enterprise, whether through gateway configuration, server-side controls, or a runtime governance layer that applies policy consistently across both.
Runtime governance as a complement to gateway controls
Trussed AI's runtime governance approach addresses this gap by enforcing agent identity, permission scoping, and tool approval workflows at runtime, with audit logging that supports the traceability MCP itself does not mandate.