Guide 46

MCP Gateway vs. Traditional API Gateway — When the Old One Breaks

Problem Framing

Enterprises routinely try to route MCP traffic through their existing API gateway (Kong, Apigee, AWS API Gateway in REST mode, NGINX as passive proxy). It does not work — and the failure mode is silent: traffic flows, agents talk to MCP servers, but the gateway loses every policy + observability + governance property it was meant to provide. The two architectures are built on incompatible paradigms. This guide is the decision tree for when a traditional API gateway suffices and when an MCP-native gateway is mandatory.

Relevant Nodes

  • Topics: Agent Orchestration
  • Standards: Model Context Protocol (MCP)
  • Architectures: MCP Gateway
  • Pain Points: Tool Discovery Governance Gap, Confused Deputy Problem (MCP)

Decision Path

  1. Diagnose what traffic shape you actually have.

    • Stateless REST request → response: any traditional API gateway is fine.
    • Stateful session over Server-Sent Events with bidirectional JSON-RPC messages: you have MCP traffic. Native MCP Gateway required.
  2. List the capabilities a traditional API gateway structurally cannot deliver for MCP:

    • Mid-stream policy enforcement: traditional gateways treat SSE as opaque passthrough; cannot inspect / filter / authorize per-event.
    • Tool discovery governance: MCP tool schemas are discovered dynamically at runtime, not configured at gateway deploy-time. Traditional gateways' static-config model breaks.
    • MCP multiplexing: federating tools across many backend MCP servers into a single client-facing endpoint requires session mapping the traditional gateway has no concept of.
    • Token-cost telemetry per tool call: requires JSON-RPC payload parsing.
    • Semantic caching of tool calls: requires vector embedding the request payload.
  3. Pick a native MCP Gateway by deployment shape:

    • Self-hosted open source: Bifrost (federated registration + semantic caching + OAuth 2.1).
    • Commercial / enterprise: Tyk MCP Gateway.
    • AWS-native translation layer: Amazon API Gateway MCP proxy — wraps REST APIs as MCP endpoints with semantic-search-based tool discovery.
  4. Use the gateway as the IT-governance enforcement point. This is the architectural fix for the Tool Discovery Governance Gap (OWASP MCP09 — Shadow MCP Servers). Agents only see servers the gateway has registered + sanctioned. Ad-hoc network-discovered servers blocked. Audit-tier provenance becomes possible because every tool call routes through one place.

  5. Defeat the Confused Deputy at the gateway. Per-tenant downstream credentials. Strict consent-flow attestation. Static-Client-ID proxy mode treated as legacy and deprecated. See Guide 43.

  6. Plan for the MCP 2026-07-28 stateless-transport revision. The protocol roadmap is moving toward stateless transport (SEP-2575 removes the initialize / initialized handshake; SEP-2567 removes the Mcp-Session-Id header). MCP Gateways must support both pre- and post-2026-07-28 traffic shapes during the migration window. Stateful execution moves into the runtime (e.g., Amazon Bedrock AgentCore Runtime); the gateway and protocol stay stateless.

What Changed Over Time

  • 2024: Enterprises tried to wedge MCP traffic through Kong / Apigee. The pattern silently degraded observability and governance.
  • 2025: The New Stack + Tyk + Bifrost authors documented the architectural divergence publicly.
  • 2026: Native MCP Gateways became consensus infrastructure; AWS launched the API Gateway MCP proxy. OWASP MCP Top 10 codified the gateway-tier risks.
  • Forward: MCP Server Cards (.well-known/mcp-server-card) standardize server-metadata advertisement so gateways and registries can crawl + index capabilities before granting agent access.

Sources