AI Engineer · Published 2026-04-27

Gateways are All You Need — Karan Sampath, Anthropic

Open on YouTube ↗

Summary

Overview

  • Speaker: Karan Sampath
  • Channel: AI Engineer
  • Main topic: MCP (Model Context Protocol) Gateways in Enterprise Environments
  • Purpose: To explain enterprise pain points around MCP server adoption and present gateways as the necessary architectural primitive for secure, scalable AI agent deployments. Karan Sampath from Anthropic discusses the challenges enterprises face when deploying Model Context Protocol (MCP) servers, such as observability, access control, and security bottlenecks. He argues that registries alone are insufficient and introduces the concept of MCP Gateways as the ultimate enterprise control plane to solve these issues, enabling decoupled agent architectures, robust authentication, role-based access control, and secure server deployments.

Topic Map

Introduction and Background

  • Explanation: Karan Sampath introduces himself as an Applied AI Forward Deployment Engineer at Anthropic outside the US, working with enterprises on MCP and internal use cases.
  • Key claims:
    • Enterprises face severe friction when deploying MCP servers.
  • Examples:
    • Working with enterprises on MCP and internal use cases.
  • Terminology:
    • MCP
    • Applied AI
    • Forward Deployment Engineer
  • Why it matters: Establishes speaker context and industry relevance.

Enterprise State of Play with MCPs

  • Explanation: Overview of MCP adoption: open standard created by Anthropic, thousands of servers in the official registry. However, enterprises struggle with three major table stakes: Observability, Access Control, and Security.
  • Key claims:
    • Registries help with discovery and installation but are insufficient for enterprise requirements.
    • Observability, access control, and security form a three-headed hydra of enterprise bottlenecks.
  • Examples:
    • Who is using my MCP? Which servers and tools are being used?
    • Ensuring correct users have access to each server and correct scoping of tools.
  • Terminology:
    • MCP registry
    • Observability
    • Access Control
    • RBAC
    • Security posture
  • Why it matters: Highlights why enterprises get stuck and stay with a tiny handful of MCP servers.

The Security Review Bottleneck

  • Explanation: Every team builds MCP servers, but they hit security review bottlenecks because security teams are overloaded and lack visibility into tool usage and safety.
  • Key claims:
    • Most enterprises stay with a handful of MCP servers due to security review friction.
    • Security teams are unable to see which MCPs teams want to use or verify their safety.
  • Examples:
    • Multiple department MCPs feeding into a single security review pipeline.
  • Terminology:
    • Security review
    • Bottleneck
    • Server sprawl
  • Why it matters: Explains why AI agent deployments stall in large organizations.

What is an MCP Gateway?

  • Explanation: Definition of an MCP Gateway as an enterprise control plane sitting between MCP clients and MCP servers, handling auth, authz, ops, deployment, and connectivity.
  • Key claims:
    • Gateways serve as a root of trust for security teams.
    • Team-specific business logic is decoupled from security, auth, and network infrastructure.
  • Examples:
    • Gateway sitting between MCP clients and servers.
  • Terminology:
    • Gateway
    • Control plane
    • Proxy router
    • Auth handler
    • RBAC engine
    • Tunnel handler
    • Subregistry
  • Why it matters: Provides a scalable architectural pattern for enterprise AI.

What a Gateway Gives You

  • Explanation: Detailed breakdown of gateway benefits: plug-in identity providers once, centralized governance and access control, observability and audit logs, pluggable credentials, and scalability.
  • Key claims:
    • Plug into your IDP once, not per server.
    • Centralized audit logging of every tool call and usage metrics across teams and servers.
  • Examples:
    • Allowlists, version pins, RBAC, central audit logs.
  • Terminology:
    • IDP
    • SSO
    • Delegated user identity
    • Audit log
  • Why it matters: Demonstrates the tangible ROI of adopting a gateway layer.

Separating the Agent Harness from Data

  • Explanation: The big picture vision: decouple the agent harness (clients) from enterprise data and internal MCP servers via a gateway, enabling agents to run anywhere while data stays secure.
  • Key claims:
    • Gateway is the root of trust; agents run anywhere while private MCP servers and data stay inside the network.
    • Separate agents from deployments.
  • Examples:
    • Claude managed agents connecting through MCP gateway to enterprise servers.
  • Terminology:
    • Agent harness
    • Root of trust
    • VPC
  • Why it matters: Enables safe scaling of AI agents without exposing underlying data infrastructure.

Key Points

Registries are necessary but insufficient for enterprises

  • Explanation: While registries like modelcontextprotocol.io help with public discovery, they lack authentication, SSO, RBAC, audit logs, and credential management.
  • Evidence: Official registry contains thousands of servers, but enterprise adoption stalls on governance.
  • Practical implication: Enterprises must build or adopt a control plane beyond basic registries.

The Security Bottleneck restricts AI velocity

  • Explanation: Without standardized gateways, every custom MCP server requires individual security reviews, causing massive bottlenecks.
  • Evidence: Organizations stay restricted to a handful of approved MCP servers.
  • Practical implication: Decentralized tool creation fails without centralized security guardrails.

Gateways establish a Root of Trust

  • Explanation: A gateway acts as a single integration point where security teams can bless one platform, allowing individual teams to ship business logic independently.
  • Evidence: Gateway handles auth, routing, tunneling, and subregistry management.
  • Practical implication:

Frameworks, Models & Processes

MCP Gateway Architecture

  • How it works: Sits between MCP clients and MCP servers to intercept, authenticate, authorize, route, and audit all tool calls and server connections.
  • Components:
    • Auth Handler
    • RBAC Engine
    • Proxy Router
    • Tunnel Handler
    • Subregistry
    • Tooling CLI
  • When to use: When deploying AI agents across enterprise environments requiring strict data governance and multi-team tool development.

Examples & Case Studies

Legal teams building custom MCP servers for contract review

  • Illustrates: Enterprise teams wanting to leverage AI tools on internal documents
  • Lesson: Legal teams should only care about contract review business logic, not auth, proxying, or security hardening.

Actionable Takeaways

  • Immediate:
    • Do not hand-roll ad-hoc MCP security controls per server.
    • Evaluate existing open source or managed gateway providers.
  • Strategic:
    • Establish a root of trust using an enterprise gateway layer.
    • Separate the agent harness from your private data infrastructure.
  • Questions to investigate:
    • How does our organization handle authentication across multiple AI client applications?
    • What is our current security review process for new tool definitions?

Claims Worth Verifying

  • Official MCP registry contains over a thousand servers (statistic)
  • Gateways remove the need for individual security reviews per MCP server (architectural claim)

Notable Quotes

"These are important papercuts. The protocol is incredibly powerful — But we must invest in better infrastructure to realize its value." (at 8:41) "Don't hand-roll MCPs. Establish a Root of Trust." (at 8:55)

Compressed Summary

  • MCP registries provide discovery but lack enterprise security and governance features.
  • Security reviews create severe bottlenecks for enterprise MCP deployments.
  • Gateways act as a central control plane for authentication, RBAC, routing, and audit logging.
  • Separating agent harnesses from enterprise data via gateways enables secure, scalable AI deployment.
  • Keywords: mcp, gateway, security, rbac, governance, agents
  • Core insight: Enterprise AI agent deployment requires an MCP Gateway to decouple agent development from security, authentication, and data governance infrastructure.

Core insights

6
Architecturemedium noveltystrong evidence

An MCP Gateway is defined as an enterprise control plane that sits between MCP clients and MCP servers and owns cross-cutting concerns (authentication, authorization, routing, tunneling, audit), so that team-specific business logic can be decoupled from security, auth, and network infrastructure.

Why it matters

It relocates auth, authz, routing, and audit out of individual MCP servers and into a shared layer, changing where responsibilities belong in an agentic deployment and reducing the surface each team must harden.

Generalization

Any growing fleet of heterogeneous tool/skill servers eventually needs a shared control plane that owns identity, policy, routing, and audit instead of duplicating them per server.

Team-specific business logic is decoupled from security, auth, and network infrastructure.
Open source video
Sits between MCP clients and MCP servers to intercept, authenticate, authorize, route, and audit all tool calls and server connections.
Open source video
Mental Modelmedium noveltystrong evidence

Registries (e.g., modelcontextprotocol.io) solve public discovery and installation but are structurally insufficient for enterprises because they lack authentication, SSO, RBAC, audit logs, and credential management; a control plane is required beyond the registry.

Why it matters

It separates the discovery problem from the governance problem and warns that adopting a registry does not deliver the enterprise-required capabilities, so teams must budget for a control plane separately.

Generalization

Catalog/discovery layers and policy-enforcement layers are different primitives; conflating them leaves production systems without the enforcement guarantees they assume they have.

Registries help with discovery and installation but are insufficient for enterprise requirements.
Open source video
While registries like modelcontextprotocol.io help with public discovery, they lack authentication, SSO, RBAC, audit logs, and credential management.
Open source video
Failure Modemedium noveltystrong evidence

Without a standardized gateway, every custom MCP server requires its own security review, collapsing multi-team tool development into a bottleneck that restricts organizations to a handful of approved MCP servers.

Why it matters

It identifies a concrete scaling failure: decentralized tool creation without centralized guardrails does not scale, and the bottleneck is human security review, not technical capability.

Generalization

Decentralized contribution of executable tools fails when the review/enforcement path is per-artifact rather than per-platform; review capacity becomes the binding constraint on deployment velocity.

Every custom MCP server requires individual security reviews, causing massive bottlenecks.
Open source video
Organizations stay restricted to a handful of approved MCP servers.
Open source video
Decentralized tool creation fails without centralized security guardrails.
Open source video
Practicemedium noveltymoderate evidence

A gateway establishes a 'root of trust' — a single integration point security teams bless once — enabling individual teams to ship business logic independently rather than re-solving auth and hardening per server.

Why it matters

It converts an N-times review problem into a one-time platform approval, which is the mechanism by which AI velocity is unblocked without abandoning security oversight.

Generalization

Centralizing the trust boundary (one blessed chokepoint) is a way to preserve both security assurance and team autonomy simultaneously.

Gateways serve as a root of trust for security teams.
Open source video
A gateway acts as a single integration point where security teams can bless one platform, allowing individual teams to ship business logic independently.
Open source video
Architecturehigh noveltymoderate evidence

The gateway decouples the agent harness from enterprise data and internal MCP servers: agents can run anywhere (including managed agents) while private MCP servers and data stay inside the network via tunneling.

Why it matters

It separates the agent execution boundary from the data boundary, letting teams adopt externally-hosted agent runtimes without exposing internal data infrastructure.

Generalization

Splitting the execution plane from the data plane through a trusted intermediary is a reusable pattern for adopting third-party agent runtimes on private data.

Gateway is the root of trust; agents run anywhere while private MCP servers and data stay inside the network.
Open source video
Separate the agent harness from your private data infrastructure.
Open source video
Mechanismlow noveltymoderate evidence

Identity provider integration is done once at the gateway (SSO/delegated user identity, pluggable credentials) rather than per MCP server, which is the concrete ROI mechanism of the gateway layer.

Why it matters

It explains the operational payoff: one IDP integration plus centralized audit logs of every tool call replaces repeated per-server auth wiring and preserves delegated user identity.

Generalization

Pull repeated cross-cutting integrations (IDP, credential brokering, audit) to a single shared chokepoint to reduce per-component configuration drift and review cost.

Plug into your IDP once, not per server.
Open source video
Centralized audit logging of every tool call and usage metrics across teams and servers.
Open source video

Deep dives

5

Gateway blast radius and failure-mode specification

Research question

What is the blast radius when the MCP gateway is unavailable, misconfigured, or compromised, and what fail-closed/fail-open and HA behavior should the architecture specify?

Why

The gateway is positioned as the root of trust for all MCP traffic; without specified failure semantics, a single unavailable or compromised gateway can halt every agent tool call or silently degrade audit integrity, so the pattern's availability and compromise model must be part of the design, not an afterthought.

Gateways serve as a root of trust for security teams.
Open source video
Observability, access control, and security form a three-headed hydra of enterprise bottlenecks.
Open source video
Source video

Measuring security review latency and approved-server count before/after gateway adoption

Research question

Does introducing an MCP gateway measurably reduce security review cycle time per MCP server and increase the number of approved MCP servers per organization compared to a per-server review baseline?

Why

The central causal claim is that per-server review caps deployment at a handful of servers and that a gateway's one-time platform approval unblocks velocity; without instrumented before/after data, the claim remains an architectural argument rather than a validated effect size.

Most enterprises stay with a handful of MCP servers due to security review friction.
Open source video
Multiple department MCPs feeding into a single security review pipeline.
Open source video
Source video

Verifying zero-egress reachability for externally-hosted agents through gateway tunneling

Research question

Can externally-hosted or managed agents reach internal MCP servers through gateway tunneling without any data egress, and what residual egress paths (logs, error payloads, telemetry) remain?

Why

The claim that agents can run anywhere while private MCP servers and data stay inside the network is the highest-novelty architectural promise; if tunneling leaks data through side channels or requires persistent inbound connectivity, the adoption calculus for managed agent runtimes changes.

enabling decoupled agent architectures, robust authentication, role-based access control, and secure server deployments.
Open source video
Team-specific business logic is decoupled from security, auth, and network infrastructure.
Open source video
Source video

Tool-call latency and error profile of gateway-mediated MCP connections

Research question

What is the added round-trip latency and error rate for MCP tool calls routed through a gateway versus direct MCP server connections, and how does that vary with gateway policy complexity (RBAC, audit, tunneling)?

Why

Routing, auth, and audit at a gateway add a network hop and policy evaluation; if latency or error rates degrade materially, the operational cost may outweigh governance benefits for latency-sensitive agent loops.

Definition of an MCP Gateway as an enterprise control plane sitting between MCP clients and MCP servers, handling auth, authz, ops, deployment, and connectivity.
Open source video
Source video

Delegated identity propagation and revocation across heterogeneous MCP clients and managed agents

Research question

How does delegated user identity from an IDP/SSO integration propagate to individual MCP tool calls and revoke across heterogeneous clients and managed agents, and what are the failure modes when revocation lags?

Why

The gateway's ROI depends on plugging into the IDP once and using delegated user identity for authz; without clear revocation propagation, a compromised or offboarded user's credentials may continue to authorize tool calls through cached sessions or long-lived agent runtimes.

Ensuring correct users have access to each server and correct scoping of tools.
Open source video
Gateways serve as a root of trust for security teams.
Open source video
Source video

Article ideas

4

The Security Review Bottleneck Is an Architecture Smell, Not a Staffing Shortage

Per-server security review is the binding constraint that keeps enterprises at a handful of approved MCP servers, and adding reviewers cannot fix it; only centralizing the trust boundary at a gateway converts N per-artifact reviews into one platform approval, which is the architectural move that preserves oversight while unblocking tool contribution.

Angle

Reframe a perceived staffing problem as a distributed-systems design problem, using the MCP server review pipeline as the worked example.

Source video

Registries Are Not Gateways: Discovery Is Not Governance

Adopting an MCP registry delivers discovery and installation but structurally omits authentication, SSO, RBAC, audit logs, and credential management; teams that treat registry adoption as governance coverage will deploy agents without enforceable policy, so the control plane must be budgeted as a separate architectural primitive.

Angle

Separate the two primitives (catalog vs policy-enforcement layer) and show what each does and does not guarantee.

Source video

The Gateway Is Your New Single Point of Failure — Specify It Before You Bless It

Centralizing auth, routing, and audit into one blessed chokepoint improves security review throughput but creates an availability and compromise single point of failure; teams must define fail-closed/fail-open behavior, gateway HA, and blast-radius containment as first-class requirements, or the pattern trades one bottleneck for a systemic outage risk.

Angle

Counterpoint/risk analysis of the gateway pattern, using the root-of-trust framing to argue for explicit failure semantics.

Source video

Your Agent Harness Does Not Belong in Your Trust Boundary

Coupling agent execution with private data and internal MCP servers forces a false choice between adopting externally-hosted agent runtimes and keeping data inside the network; a gateway that tunnels requests decouples the execution plane from the data plane, letting hosted agents use internal tools without moving data out of the VPC.

Angle

Architectural pattern argument for control-plane/data-plane separation applied to agentic systems.

Source video

Project ideas

4

Review-Latency A/B for Gateway vs Per-Server MCP Approval

new

Introducing a gateway-mediated approval path reduces median security review cycle time per MCP server by >50% and increases the number of approved servers per quarter by >2x compared to a per-server review baseline.

Proof of concept

Simulate a review pipeline for 20 mock MCP servers under two regimes: (a) per-server review with unique auth/security questionnaires and (b) gateway root-of-trust review where only business logic is assessed; instrument each review step as a task with timestamps and reviewer effort.

Measurement

Median review cycle time (hours), reviewer hours per server, number of servers approved before a fixed review budget is exhausted.

Source video

Gateway Blast-Radius Chaos Harness

gatehouse

A gateway deployed without HA or failover causes 100% tool-call failure during an outage, while a gateway with warm standby and a specified fail-closed policy maintains >99% tool-call availability and 100% audit-event completeness.

Proof of concept

Deploy a minimal MCP client, gateway, and mock MCP server; inject gateway pod kill, network partition, and policy misconfiguration; record tool-call success/failure and audit completeness for each fault.

Measurement

Tool-call success rate during fault, audit event completeness (fraction of calls with start/end/decision records), p99 outage duration until service restoration.

Source video

Gateway Tool-Call Latency and Error Benchmark

gatehouse

Gateway-mediated MCP tool calls add <10 ms p95 latency and <0.1% error rate versus direct MCP server connections when RBAC and audit are enabled, and the overhead scales sublinearly with the number of policy rules.

Proof of concept

Benchmark 10k tool calls through direct MCP connections and through a gateway with RBAC/audit enabled at three policy-rule counts (1, 10, 100); measure round-trip latency and error classes.

Measurement

p50/p95/p99 round-trip latency, error rate by class, policy-evaluation time per call.

Source video

Delegated Identity Revocation Propagation Test

gatehouse

After an IDP revocation event, gateway-mediated tool calls using delegated user identity stop authorizing within one token lifetime for stateless flows but may continue for long-lived managed agent sessions unless explicit revocation propagation is implemented.

Proof of concept

Prototype delegated-identity flows through the gateway with a mock IDP; issue a tool call, revoke the user in the IDP, then replay tool calls from a managed agent runtime and from a fresh MCP client, measuring the time until authorization is refused.

Measurement

Time-to-revocation (seconds) for fresh client vs managed agent session; number of tool calls authorized after revocation; audit-log evidence of revocation event.

Source video

Architectural implications

3

Cross-cutting concerns (auth, authz, routing, audit) are pulled out of individual MCP servers into a gateway control plane.

Before

Each MCP server team implements its own authentication, authorization, proxying, and security hardening.

After

A gateway handles Auth Handler, RBAC Engine, Proxy Router, Tunnel Handler, and Subregistry, leaving servers with only business logic.

Consequence

Teams ship tool logic faster, security reviews target one platform, and audit becomes centralized and comparable across servers.

Source video

The agent harness is decoupled from data and internal MCP servers through the gateway.

Before

Agents and their data/tool servers are coupled in the same trust and network boundary.

After

Agents run anywhere while private MCP servers and data stay inside the network, connected through gateway tunneling.

Consequence

External or vendor-hosted agent runtimes can be adopted without moving private data out of the VPC.

Source video

Registry and gateway are treated as distinct layers rather than one solution.

Before

Teams assume a registry (discovery/installation) satisfies enterprise needs.

After

A registry handles discovery while a gateway handles identity, policy, audit, and credential management.

Consequence

Architecture decisions must explicitly budget for a control plane; relying on a registry alone leaves governance gaps.

Source video

Tradeoffs and failure modes

3

Centralized root of trust

Benefit

Security teams bless one platform, and teams can ship business logic independently, removing the per-server review bottleneck.

Cost or risk

Concentrating the trust boundary in a single gateway makes that layer a high-value chokepoint; availability and compromise of the gateway affect all MCP traffic. The summary does not address gateway availability or blast radius.

A gateway acts as a single integration point where security teams can bless one platform, allowing individual teams to ship business logic independently.
Open source video
Source video

Decoupled agent harness vs. data egress

Benefit

Agents can run anywhere while private MCP servers and data stay inside the network.

Cost or risk

Requires tunneling and a persistent trusted connection between external agent runtimes and internal servers, adding a network control path that must itself be secured and monitored.

Gateway is the root of trust; agents run anywhere while private MCP servers and data stay inside the network.
Open source video
Source video

Centralized governance vs. per-team autonomy

Benefit

Centralized RBAC, allowlists, version pins, and audit logs give consistent policy enforcement.

Cost or risk

Centralization introduces a dependency on gateway configuration and rollout cadence; teams that previously self-managed controls now depend on the shared layer.

Allowlists, version pins, RBAC, central audit logs.
Open source video
Source video

Open questions

5

What is the actual measured reduction in security review latency and number of approved MCP servers after adopting a gateway?

Why unresolved

The summary asserts the bottleneck and the fix but provides no quantitative before/after data.

Research direction

Instrument review cycle time and count of approved servers pre/post gateway adoption across several enterprises.

Source video

How does a gateway-based root of trust handle delegation and revocation of user identity across heterogeneous MCP clients and managed agents?

Why unresolved

Delegated user identity and pluggable credentials are named as capabilities but the delegation and revocation mechanics are not described.

Research direction

Prototype delegated-identity flows with SSO/IDP integration and test revocation propagation to live tool calls.

Source video

What are the failure modes when the gateway itself is unavailable, misconfigured, or compromised?

Why unresolved

The summary frames the gateway as the root of trust but does not discuss availability or blast-radius trade-offs.

Research direction

Chaos-test gateway outages and policy misconfiguration to characterize impact on agent tool calls and audit integrity.

Source video

Does centralizing auth/routing/audit at a gateway change the tool-call latency and error profile compared to direct MCP server connections?

Why unresolved

The summary lists routing and proxying as gateway functions but gives no performance characterization.

Research direction

Benchmark tool-call round-trip latency and error rates through the gateway vs direct server connections.

Source video

How should the gateway's subregistry and tooling CLI interact with the public MCP registry to keep allowlists and version pins in sync?

Why unresolved

The summary mentions a Subregistry and Tooling CLI as components but not how they relate to the public registry lifecycle.

Research direction

Design and test sync/version-pinning workflows between public registry entries and gateway subregistry allowlists.

Source video

Key claims

8
factualVerification needed

The official MCP registry contains thousands of servers, but registry discovery alone does not satisfy enterprise requirements.

Evidence

Official registry contains thousands of servers, but enterprise adoption stalls on governance.

Question

What is the current count of servers in the official MCP registry, and what enterprise capabilities does it omit?

Source video
opinionVerification not requested

Observability, access control, and security are the three major enterprise bottlenecks for MCP deployment.

Evidence

Observability, access control, and security form a three-headed hydra of enterprise bottlenecks.

Source video
causalVerification needed

Without standardized gateways, per-server security reviews restrict organizations to a small number of approved MCP servers.

Evidence

Organizations stay restricted to a handful of approved MCP servers.

Question

Do organizations without gateways consistently cap approved MCP servers at a small number, and does gateway adoption raise that cap?

Source video
factualVerification needed

Registries lack authentication, SSO, RBAC, audit logs, and credential management.

Evidence

While registries like modelcontextprotocol.io help with public discovery, they lack authentication, SSO, RBAC, audit logs, and credential management.

Question

Which of these capabilities (auth, SSO, RBAC, audit, credentials) are absent from the official MCP registry by design?

Source video
causalVerification needed

Plugging identity provider integration into the gateway once removes the need to do it per server.

Evidence

Plug into your IDP once, not per server.

Question

Does gateway-mediated IDP integration fully cover per-server auth needs, including tool-level scoping?

Source video
predictionVerification needed

A gateway enables agents to run anywhere while private MCP servers and data remain inside the network.

Evidence

Gateway is the root of trust; agents run anywhere while private MCP servers and data stay inside the network.

Question

Can managed/hosted agents reach internal MCP servers through gateway tunneling without any data egress in practice?

Source video
opinionVerification not requested

Teams should not build ad-hoc per-server MCP security controls but should evaluate existing gateway providers.

Evidence

Do not hand-roll ad-hoc MCP security controls per server.

Source video
comparativeVerification not requested

A legal team building a contract-review MCP server should only own contract review business logic, not auth, proxying, or security hardening.

Evidence

Legal teams should only care about contract review business logic, not auth, proxying, or security hardening.

Source video

Connections

4