Skip to content
  1. Home
  2. AI agents
  3. Tools, MCP and agent-to-agent
  4. MCP gateways and registries

Build · Tools, MCP and agent-to-agent

What is an MCP gateway, and why does it need a registry?

An MCP gateway is a proxy between AI agents and the MCP servers they call. It checks which agent is calling, allows only approved servers and tools, applies policy, swaps in the credential for the target system and logs every call. An MCP registry is the catalogue of approved servers that the gateway reads as its allow list.

In this guide: 83 pages

Key takeaways

  1. A gateway gives you one place to enforce rules on tool calls. Without one, each agent keeps its own server list and credentials, and an audit means collecting logs from every agent.
  2. The registry records what is allowed and the gateway enforces it. Point the gateway at the registry so that a server without an approved record cannot be reached.
  3. The official MCP Registry is a public catalogue, in preview since 8 Sep 2025, and it lists no private servers. Enterprises run a private sub-registry such as Azure API Center, AWS Agent Registry or Google Agent Registry.
  4. Each cloud now has a managed gateway: Azure API Management and Foundry Toolbox, AgentCore Gateway, and Google Agent Gateway. Check which parts of MCP each one passes through; API Management handles tools only.
Where an MCP gateway and a private registry sitAn agent or client sends every tool call to the MCP gateway instead of to each server. The gateway authenticates the agent, checks the server and tool against an allow list configured from the private registry, applies policy to the call, swaps in the credential for the target system, and logs the call before the MCP server runs it. The private registry holds approved servers with owners and versions and may pull public entries from the official MCP Registry, which is in preview. The identity provider issues the agent's token, and the logs feed tracing and audit.One tool callAgent or clientCopilot Studio,Foundry, AgentCore, anIDE or your own codeGateway: who andwhatAuthenticates theagent; checks serverand tool against theallow listGateway: howApplies policy to thecall; swaps in thetarget credential; logsitMCP serverInternal server, vendorserver or an API turnedinto toolsWhat the gateway reads and writesPrivate registryApproved servers andowners; source of theallow listOfficial MCPRegistryPublic metadata only; inpreview since 8 Sep 2025Identity providerIssues the agent tokenthe gateway checksLogs and tracesOne record per call foraudit and costWhere an MCP gateway and a private registry sitAn agent or client sends every tool call to the MCP gateway instead of to each server. The gateway authenticates the agent, checks the server and tool against an allow list configured from the private registry, applies policy to the call, swaps in the credential for the target system, and logs the call before the MCP server runs it. The private registry holds approved servers with owners and versions and may pull public entries from the official MCP Registry, which is in preview. The identity provider issues the agent's token, and the logs feed tracing and audit.One tool callAgent or clientCopilot Studio, Foundry, AgentCore, an IDE or yourown codeGateway: who and whatAuthenticates the agent; checks server and toolagainst the allow listGateway: howApplies policy to the call; swaps in the targetcredential; logs itMCP serverInternal server, vendor server or an API turned intotoolsWhat the gateway reads and writesPrivate registryApproved servers and owners; source of the allowlistOfficial MCP RegistryPublic metadata only; in preview since 8 Sep 2025Identity providerIssues the agent token the gateway checksLogs and tracesOne record per call for audit and cost
One tool call through a gateway. The gateway reads its allow list from the private registry and the agent’s token from the identity provider, then writes one log record per call.

What is the difference between an MCP gateway and an MCP server?

An MCP server wraps one system and describes its tools; an MCP gateway sits in front of many servers and decides which agent may call which tool, with which credential. Agents connect to the gateway as if it were one large server, and the gateway forwards each call it allows.

Gateways usually aggregate as well. AgentCore Gateway presents several targets as one virtual MCP server, and Foundry Toolbox puts MCP, OpenAPI and agent-to-agent tools behind a single MCP-compatible endpoint with tool search, so the model loads only the definitions it needs. Many also translate: Azure API Management and AgentCore Gateway turn an existing REST or OpenAPI definition into MCP tools, and the API itself stays as it was.

The 2026-07-28 specification made gateways easier to run. Every Streamable HTTP request now carries Mcp-Method and Mcp-Name headers, so a gateway or a web application firewall can route and filter a call without parsing the JSON body. Because the core protocol is now stateless, any gateway instance behind a plain load balancer can handle any request, with no session affinity to manage.

Three components that get confused, compared on the questions that matter for a design review.

QuestionMCP serverMCP gatewayAPI gateway
What it frontsOne system, such as a database or a SaaS APIMany MCP servers, and APIs turned into toolsREST or gRPC APIs for any caller
Who calls itAn MCP client, usually inside an agentAgents and MCP clients, which see one endpointApplications and services
What it decidesWhat the tool does when calledWhich agent may call which tool, with which credentialWhich caller may reach which API, and how often
Understands tool callsYes, for its own toolsYes; routes on the Mcp-Method and Mcp-Name headersOnly with an MCP feature, as Azure API Management and Kong have
ExamplesGitHub, Azure and AWS MCP serversAgentCore Gateway, Google Agent Gateway, Foundry Toolbox, Docker MCP GatewayAzure API Management, Kong Gateway

What does an MCP gateway check on each tool call?

Before the server runs, a gateway should settle four questions: which agent is calling, whether this server and tool are on the allow list for that agent, whether policy allows these arguments, and which credential goes to the target system. Then it records the call.

  1. Authenticate the agent. Inbound, the gateway accepts an OAuth token or a cloud identity: AgentCore Gateway takes OAuth or IAM SigV4, and API Management validates an Entra token in a policy. The token should identify the agent itself, so the log can name who called.
  2. Check the allow list. Configure the gateway to take its allow list from the private registry, through a native integration where the products offer one or a sync on every approval, so servers and tools without an approved record are refused. Pin the tool list too: AgentCore Gateway can serve a static tool schema, and Anthropic’s mcp-client-2026-09-15 header records each server’s tools so a server cannot change them mid-conversation; a changed schema still needs a fresh review.
  3. Apply policy to the arguments. AgentCore Policy evaluates Cedar rules on each tool call (GA 3 Mar 2026). Google added semantic governance policies on tool calls (preview, 29 Jun 2026) and Model Armor scanning on Agent Gateway (24 Jun 2026). API Management applies its usual policies, such as rate limits and IP filters.
  4. Swap the credential. Outbound, the gateway sends the credential the target system expects and keeps the agent’s inbound token to itself. AgentCore Gateway supports OAuth two-legged, three-legged and token exchange, IAM SigV4 and API keys. The MCP authorization specification forbids token passthrough, and the gateway is the natural place to enforce that rule.
  5. Log the call. Write one record per call with the agent, the user it acts for, the tool, the arguments, the result and the latency, and send it to your tracing system. OWASP’s MCP Top 10, still in beta, lists missing audit and telemetry as MCP08.

Approval for write tools can live at the gateway or in the agent. Foundry’s MCP tool has a require_approval setting, and OpenAI’s remote MCP tool requires approval by default. We place the approval step where the approver can see the conversation, usually the agent’s own channel, and use the gateway to make sure an unattended agent is never offered a write tool at all.

What is an MCP registry, and why run a private one?

An MCP registry is a catalogue of MCP servers with the metadata a client needs to find and connect to them. The official MCP Registry lists public servers. A private registry lists the servers your company has approved, and it becomes the gateway’s allow list.

The official registry launched in preview on 8 Sep 2025, after a grassroots effort led by PulseMCP and Block, and it is still in preview: its documentation warns that breaking changes or data resets may happen before general availability, and its repository reports an API freeze at v0.1 since 24 Oct 2025. It stores metadata only, one server.json per server and never code. Namespaces are verified through GitHub, DNS or HTTP challenges, and security scanning is left to package registries and downstream aggregators. Private servers are out of scope.

The registry also publishes an OpenAPI specification that anyone can implement, and private sub-registries are built on it. A sub-registry pulls the public entries you approve, adds your internal servers and serves the same API, so clients such as VS Code and GitHub Copilot read it the way they read the public one. Azure API Center does this today: it registers remote and local servers, syncs from API Management or Git, and exposes a registry endpoint in the v0.1 format.

On AWS and Google, the MCP registry and the agent registry are one product. AWS Agent Registry holds agents, MCP servers, skills and gateways, returns only approved revisions through its discovery APIs and its own MCP endpoint, and opens a new draft when someone edits an approved record. Google Agent Registry catalogues agents, MCP servers and tools, endpoints and skills, and Agent Gateway enforces it at run time. The guide’s page on agent registries covers the agent side of those products.

Which MCP gateway should you use?

Use the gateway that sits where your agents already run. Before you commit, check which parts of the MCP specification it supports and whether it can read your registry. A common end state is one managed gateway per cloud and one registry that feeds all of them.

MCP gateways on 2 Nov 2026, with the status each vendor page showed that day.

GatewayWhat it doesStatus and limits
Azure API ManagementTurns any managed REST API into an MCP server or proxies an existing one; applies its policies, such as Entra token validation, rate limits, IP filters and cachingGA 18 Nov 2025 on classic and v2 tiers and the self-hosted gateway; tools only, no resources or prompts; not available in workspaces
Foundry ToolboxPuts MCP, OpenAPI, agent-to-agent and search tools behind one MCP-compatible endpoint with central auth, tool search and versioningThe page, dated 26 Oct 2026, gives no overall GA or preview label; skills and MCP tasks inside a toolbox are preview
Amazon Bedrock AgentCore GatewayTurns OpenAPI, Smithy and Lambda targets into MCP tools; joins MCP servers into one virtual server; semantic tool search; passthrough for A2A trafficGA 13 Oct 2025; accepts MCP 2026-07-28, 2025-11-25, 2025-06-18 and 2025-03-26
Google Agent GatewayGoverns agent-to-tool traffic in Gemini Enterprise Agent Platform and enforces Agent RegistryGA 18 Jun 2026; Model Armor on the gateway from 24 Jun 2026; IAM Unified Access Policies for MCP servers GA 31 Aug 2026
Docker MCP GatewayRuns each MCP server in its own container, joins them behind one endpoint and injects secretsOpen source; the docs now place it in the invite-only Docker AI Governance offering, and it also ships in the Desktop MCP Toolkit
Kong AI MCP Proxy pluginConverts REST APIs to MCP tools or proxies MCP serversKong Gateway 3.12 and later, AI Gateway Enterprise only
Cloudflare MCP server portalsPuts several MCP servers behind one endpoint with Access logging and optional data loss preventionDocs updated 2 Nov 2026 carry no preview or GA label

Two open-source gateways, agentgateway and Agent Router, are hosted projects of the Agentic AI Foundation, the Linux Foundation fund that also hosts MCP. If an agent only calls one or two servers that your own team runs, a gateway can be more machinery than the job needs: keep the allow list and the logging in the agent’s runtime, and add a gateway when a second team or a vendor server arrives.

How do Microsoft, AWS and Google implement it?

Where the gateway and the registry live on each cloud, with statuses as the vendor pages showed on 2 Nov 2026.

Capability, Microsoft, AWS, Google

CapabilityMicrosoftAWSGoogle
Managed MCP gatewayAzure API Management (GA 18 Nov 2025) for APIs and existing servers; Foundry Toolbox for agent tools behind one endpointAgentCore Gateway (GA 13 Oct 2025), one virtual MCP server per gateway with inbound and outbound authAgent Gateway (GA 18 Jun 2026) for agent-to-tool traffic in Agent Platform
Private MCP registryAzure API Center with a v0.1 registry endpoint that VS Code and GitHub Copilot read; it also feeds Foundry tool cataloguesAWS Agent Registry (GA 31 Aug 2026) holds MCP servers next to agents and exposes an MCP endpointAgent Registry (GA 18 Jun 2026) holds MCP servers and tools, enforced through Agent Gateway
Policy on tool callsAPI Management policies; require_approval per MCP tool in FoundryAgentCore Policy, Cedar rules on each call (GA 3 Mar 2026)IAM Unified Access Policies for MCP servers (GA 31 Aug 2026); semantic governance policies (preview since 29 Jun 2026)
Identity checked on the way inEntra tokens validated by API Management; Foundry MCP tool supports key, Entra identity, Entra user delegation and OAuth identity passthroughOAuth or IAM SigV4 inbound; outbound OAuth, token exchange, SigV4 or API keysIAM allow and deny policies on managed MCP servers; Model Armor scanning of MCP calls

Outside the clouds, OpenAI’s Secure MCP Tunnel (19 May 2026, for enterprise customers) and Anthropic’s MCP tunnels (research preview since 19 May 2026) let hosted models reach MCP servers inside a private network.

Frequently asked questions

Is an MCP gateway the same as an AI gateway?

They overlap. An AI gateway usually fronts model endpoints for routing, quotas and token spend, while an MCP gateway fronts tools. AgentCore Gateway now covers both, with model inference routing and passthrough for A2A traffic next to its MCP targets, so one gateway can carry an agent’s tool, model and agent-to-agent calls.

Can we use the official MCP Registry as our allow list?

No. It is a public catalogue in preview that lists no private servers and leaves security scanning to others. Use it as an upstream source: pull the public servers you approve into a private registry, add your internal servers, and point the gateway at the private one.

Does a gateway stop tool poisoning?

It reduces the risk. A gateway that pins tool lists and serves only reviewed descriptions stops a server from changing a tool after approval, the attack Invariant Labs called a rug pull. Hidden instructions inside an approved description still get through, so review descriptions whenever a server is added or changed and treat them as untrusted input, as Microsoft’s Foundry guidance advises.

Do MCP gateways pass through resources and prompts as well as tools?

Some do not. Azure API Management exposes MCP tools only, with no resources or prompts, and Anthropic’s MCP connector, a client feature, is also tools only. Before an agent depends on resources or prompts, read the gateway’s documentation and test that path end to end.

More in Tools, MCP and agent-to-agent

Sources

Each source was read on 2 November 2026. The date shown is the date on the page, or the page’s ms.date for Microsoft Learn; an undated page shows the date it was read.

  1. Transports, specification 2026-07-28 Model Context Protocol, 28 July 2026
  2. Authorization, specification 2026-07-28 Model Context Protocol, 28 July 2026
  3. Introducing the MCP Registry (preview) Model Context Protocol blog, 8 September 2025
  4. About the MCP Registry Model Context Protocol, undated page, read 2 November 2026
  5. MCP Registry repository Model Context Protocol on GitHub, undated page, read 2 November 2026. The v0.1 API freeze date comes from the README.
  6. Expose a REST API as an MCP server in Azure API Management Microsoft Learn, 20 October 2026
  7. Azure update AZ527626: MCP support in API Management generally available Azure updates (third-party mirror), 18 November 2025. Mirror of Microsoft’s update; the GA date is taken from it.
  8. Register and discover MCP servers in Azure API Center Microsoft Learn, 20 October 2026
  9. Foundry Toolbox overview Microsoft Learn, 26 October 2026
  10. Model Context Protocol tool in Foundry Agent Service Microsoft Learn, 29 October 2026
  11. Amazon Bedrock AgentCore Gateway AWS documentation, undated page, read 2 November 2026
  12. MCP server targets for AgentCore Gateway AWS documentation, undated page, read 2 November 2026
  13. Policy for Amazon Bedrock AgentCore is now generally available AWS What’s New, 3 March 2026
  14. AWS Agent Registry now generally available AWS What’s New, 31 August 2026
  15. AWS Agent Registry record lifecycle AWS documentation, undated page, read 2 November 2026
  16. Gemini Enterprise Agent Platform release notes Google Cloud, 28 October 2026
  17. Agent Registry overview Google Cloud, undated page, read 2 November 2026
  18. MCP servers overview (Google Cloud) Google Cloud, undated page, read 2 November 2026
  19. MCP Gateway Docker documentation, undated page, read 2 November 2026
  20. AI MCP Proxy plugin Kong developer documentation, undated page, read 2 November 2026
  21. MCP server portals Cloudflare documentation, 2 November 2026
  22. Projects Agentic AI Foundation, undated page, read 2 November 2026
  23. OWASP MCP Top 10 (beta) OWASP, undated page, read 2 November 2026
  24. MCP security notification: tool poisoning attacks Invariant Labs, 1 April 2025
  25. MCP connector Anthropic Claude documentation, undated page, read 2 November 2026
  26. Claude Platform release notes Anthropic Claude documentation, undated page, read 2 November 2026
  27. Connectors and MCP guide OpenAI developer documentation, undated page, read 2 November 2026
  28. OpenAI API changelog OpenAI developer documentation, undated page, read 2 November 2026

Planning an AI program?

Talk to the team that builds it and runs it after launch.

  • Built to SOC 2, HIPAA and GDPR standards
  • EU AI Act-aligned delivery
  • Microsoft Solutions Partner