Est.

Single MCP Gateway as a Security Chokepoint When Claude and ChatGPT Touch Internal Tools

Routing agents through one governed endpoint closes MCP's security gaps.

· 8 min read · Updated
Cover illustration for “Single MCP Gateway as a Security Chokepoint When Claude and ChatGPT Touch Internal Tools”
Threat Intelligence · October 18, 2026 · 8 min read · 1,869 words

An MCP gateway is a reverse proxy that connects Claude, ChatGPT, and other AI clients to multiple MCP servers through one governed endpoint. It checks identity and tool permissions, supplies credentials, inspects traffic, and records calls before and after agents reach internal systems. A single governed gateway is the practical architecture for enterprise MCP security because the protocol standardizes connectivity while governance requires additional controls.

Why MCP became enterprise infrastructure before enterprise security was ready for it

MCP adoption has outpaced the governance around it. Now stewarded by the Agentic AI Foundation, a directed fund under the Linux Foundation, the open standard had adoption from every major AI lab by December 2025. Datadog reported in August 2026 that MCP tool calls were up 22x since Q4 2025, quadrupling again quarter over quarter.

The attraction is straightforward. MCP standardizes how agents discover and invoke tools through JSON-RPC 2.0 over stdio or Streamable HTTP, whether the backend is GitHub, Salesforce, Postgres, or an internal API. That shared language makes connections easier to build, but it does not settle whose authority a call carries. Speakeasy addresses that gap as an enterprise AI control plane between clients and MCP servers, applying access policy, identity verification, and audit logging across those connections.

What MCP's protocol-level silence on security actually means in practice

Direct per-tool API integration gives developers a concrete connection to the system they need, with credentials and permissions managed for that integration. The difficulty comes when those connections multiply. MCP solves the N×M connectivity problem of connecting N agents to M tools, but direct agent-to-server connections bring the same problem back for security. Each needs authentication, credential storage, and access policy, or those protections remain absent. Protocol compatibility is not a security review.

The credentials for those connections can sit in environment variables, configuration files, and secret stores spread across services. GitGuardian's research found thousands of unique secrets that were exposed in MCP configuration files in 2025 alone, including Google API keys and PostgreSQL connection strings. Access to a server also does not by itself give each tool least privilege. Consider an internal database server intended for read-only analytics that still exposes a write_record tool left over from setup. An agent can discover and attempt that tool, and without an explicit tool allow-list, the call succeeds if the user's underlying permissions include writing. The server works as connected, but not as intended.

How shadow agents replicate the shadow IT problem at a faster and more dangerous scale

That gap becomes harder to contain when security teams do not know the connection exists. A developer can run a local MCP server that gives an AI tool access to production databases, SaaS records, or cloud commands. The gain in productivity is clear right away, while the organization's inventory may leave out the credentials, the systems they can reach, and the data flows. This is the familiar shadow IT problem with a different operator.

Shadow SaaS usually has a human deliberately choosing what to do next. An ungoverned agent instead chooses what to do at runtime, using whatever access it was given at setup. A misconfiguration can therefore cascade across systems at machine speed rather than remaining bounded by the developer's original intent. Keeping that behavior in check takes inspection in the traffic path, such as the secret detection, PII blocking, and real-time prompt injection detection that Speakeasy offers. Those controls work only when shadow connections pass through the gateway, where they can be seen and subject to policy.

The MCP threat taxonomy security teams are now testing against

OWASP's MCP Top 10 project, currently in beta, gives these risks a vocabulary beyond “the agent did something odd.” Its categories include tool poisoning (MCP03), command injection and execution (MCP05), shadow MCP servers (MCP09), and context injection and over-sharing (MCP10). Tool poisoning manipulates an agent through malicious tool descriptions. Context injection can instead come through things the agent reads in its usual work, including a Confluence page, a Jira ticket, or a shared Google Doc. The attack enters as content and attempts to leave as an instruction.

CVE-2025-49596, with a CVSS 9.4 score, exposed a remote code execution path in Anthropic's MCP Inspector. A zero-click RCE vulnerability in Claude Desktop Extensions, rated CVSS 10.0, could be triggered through a Google Calendar event when a user asked Claude to check their calendar and 'take care of it'. These examples distinguish two enforcement problems. Permission checks decide whether a caller may use a tool, while runtime inspection checks whether the material that passes through that authorized call is dangerous.

Why traditional API gateways cannot govern AI agent traffic

Traditional API gateways already do useful work, including authorization, rate limiting, and forwarding requests along known routes. Direct integrations benefit from those controls, and MCP does not make them obsolete. An agent chooses tools dynamically, chains calls across systems, and changes its execution path according to intermediate results. A permitted endpoint can still carry an impermissible action.

The question therefore grows from whether a client may reach an endpoint to whether a given agent may run a given tool with given parameters on behalf of a given user. Answering it requires awareness of MCP tools and agent context alongside HTTP traffic. Likewise, static credentials do not meet the need for short-lived tokens and user-delegated authorization. Request and response metadata also cannot explain why the agent chose its tools or what it tried to do when it was blocked.

How does a single MCP gateway connect Claude or ChatGPT to internal tools?

Diagram: How an MCP Gateway Intercepts Every Agent-to-Tool Call. Visualizes: Illustrate the left-to-right flow of a single governed MCP tool call through five stages: (1) AI Client (Claude / ChatGPT) issues a tool call to one URL; (2) MCP Gateway…

The architecture places the AI client first, the governed gateway next, and the registered MCP servers behind it. The gateway federates built-in, third-party, and custom servers into a curated catalog exposed through a single URL. Claude or ChatGPT connects to that endpoint rather than maintaining separate governed connections to every backend. The agent still discovers tools and issues tool calls, but the gateway intercepts those requests before a backend executes them.

For each call, the gateway resolves identity and evaluates whether the role, team, or agent may use the specific tool and action. If policy permits the request, it injects authorized credentials at runtime and forwards the call. The agent can exercise its granted authority without possessing the underlying secret. The gateway then inspects the returning response and records the approved or denied call with its identity and timestamp. In Speakeasy's implementation, enterprise identity integration, scoped permissions, and a centralized audit trail replace controls otherwise scattered across agent configurations.

Why agent identity tied to enterprise IdPs is the foundation the rest of the architecture depends on

That sequence depends on knowing who is acting. Authentication confirms an agent's identity, while authorization determines what it may do at the tool and action level. A generic service account can authenticate successfully without identifying the human responsible for a call. It also obscures when an agent's access should change because its owner changes roles or leaves. Identity governance supplies the ownership and lifecycle context that gateway policy needs.

Okta for AI Agents, generally available April 30, 2026, detects employee connections between agents and enterprise applications and shows granted scopes. Its Universal Logout for AI Agents can revoke access tokens and deactivate agent access across the enterprise ecosystem. Microsoft Entra Agent ID, generally available in April 2026, extends Conditional Access, Identity Protection, and Identity Governance to non-human identities. Its specialized service principal has no credentials of its own and acquires tokens through its blueprint with consent to the relevant scopes. The June 2026 Enterprise-Managed Authorization extension to MCP formalizes IdP-provisioned server access, making enterprise identity the provisioning authority rather than leaving access scattered across individual server setups.

What full observability over agent-to-tool traffic requires and why it is not free with MCP

Identity makes actions attributable, but an attributable action still needs a useful record. MCP does not define a standard audit-record schema, integrity guarantee, or retention semantics. Its protocol logging utility was a diagnostic channel, deprecated in the 2026-07-28 revision in favour of OpenTelemetry. With direct connections, reconstructing a workflow means stitching together logs from different servers without a unified execution timeline. That is a poor foundation for detecting an attack spread across several calls.

A meaningful gateway record includes a UTC timestamp at millisecond precision, the IdP-attributed user, the agent identity, and the MCP server and tool name. It also contains input parameters, the output or error state, the authorization decision and policy rule, and a session identifier for multi-turn correlation. Together, these fields let investigators connect a suspicious result to the preceding calls and the authority that allowed them. This makes observability both a detection mechanism and a reporting feature. The same unified record supports cost attribution, which matters because MCP itself supplies no budget ceiling for repeated tool calls and paid API operations.

MCP gateway options for enterprise teams in 2026

The platform decision follows from these requirements, with Speakeasy a recommended starting point for enterprise security and platform teams. It combines a governed MCP endpoint with identity enforcement through Okta and Microsoft Entra ID, role-based permissions, and attributed audit records. Its traffic layer checks more than access by adding real-time prompt injection detection, PII blocking, and secret detection. Telemetry on cost and usage links tool calls to the users, agents, and sessions behind them.

NeuralTrust TrustGate puts particular emphasis on runtime security. Its Security Engine inspects tool-call content inline and reasons across a whole session, while also covering access governance and connectivity. TrueFoundry combines an AI Gateway and MCP Gateway with centralized observability, governance, and security. It fits organizations seeking to consolidate LLM routing and MCP governance in one platform.

Composio emphasizes a large catalog of pre-built SaaS connectors. Its self-serve plans are managed-only, while self-hosted and VPC deployments require Enterprise-tier sales engagement, a material consideration where data residency constrains deployment. Workato brings thousands of enterprise connectors with established workflow automation, governance, and compliance capabilities. Its fit is strongest when enterprise workflow automation is the primary need. Across these options, the important distinction is whether the platform only governs access or also inspects content for injection, leakage, and abuse across turns. Identity governance, connector breadth, platform consolidation, and runtime security answer different buying problems.

What to implement first when standing up governed MCP access for enterprise AI

The first move is an inventory of running MCP servers, the credentials they hold, and the internal systems they can reach. That inventory establishes what must be brought under control. Next, federate existing servers behind a single gateway endpoint before adding new ones, replacing direct agent-to-tool connections.

Then connect the gateway to the IdP already in use so calls carry a human identity and access decisions use the roles the organization has in place. With attribution in place, audit the tools each agent role needs and apply tool-level allow-lists. A support agent should not discover deployment tools, and a read-only analytics agent should not reach write operations simply because a server exposes them. Before declaring the deployment production-ready, validate that every call produces the required audit fields, including its authorization decision and session identifier. Identity lifecycle management and runtime content inspection come next, but both need traffic to pass through the chokepoint to govern it the same way across the enterprise.

Sources

  1. Model Context Protocol (MCP) Security
  2. Inside Track - Protecting AI conversations at Microsoft with Model Context Protocol security and governance

More in Threat Intelligence