Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

Home/Integration/MCP gateway
Integration · MCP gateway

MCP gateway design for enterprise AI agents, with the controls mapped to threats

Duczer East designs and builds MCP gateways for regulated enterprises whose AI agents call internal tools. We inventory your MCP servers, trace how tokens travel, write a deny-by-default policy and enforce it on the platform you already run: WSO2 API Manager, Apigee or Azure API Management.

Our first engagement is an MCP gateway review. You get a server register, a token map and a policy your risk team can read.

Trusted By · Proven with Industry Leaders

DTCCKochExxonMobilHCA HealthcareRyderAAA Club AlliancePartnersClouderaChoreo LabsServiceNow
Definition

What an MCP gateway does that an API gateway does not

An MCP gateway sits between AI agents and the MCP servers that expose your tools. It checks who the agent is, who it acts for, whether the token was issued for that server, which tool may be called with which scope, and it logs the result. It uses the same enforcement ideas as an API gateway, applied to tool calls instead of requests from applications.

MCP gateway compared with an API gateway and an AI gateway
QuestionAPI gatewayAI gateway (model traffic)MCP gateway (tool access)
What it frontsStructured API calls from applications.Calls from applications and agents to language models.Calls from agents to tool servers: the tools, resources and prompts an MCP server exposes.
Who the caller isAn application or a user, identified by key or token.An application, team or agent, identified so tokens and cost can be attributed.An agent acting for a user. The gateway must tell the agent, the user and the tool apart.
Main riskAbuse, overload, stolen credentials.Sensitive data in prompts, runaway cost, unsafe output.Over-broad tool access, tokens reused across servers, poisoned tool descriptions.
What to logCaller, route, status, latency.Prompt, response, model version, tokens, policy applied.Agent, user, server, tool, arguments, scope used, decision.
Our pageWSO2 API Manager, ApigeeAI gatewayThis page

Exception: one agent calling one internal tool needs no gateway. The need starts when a second team, a second server or an auditor appears. Our view on MCP and authorization and the data residency checklist cover the policy side.

Security

MCP server security: threats and the gateway control for each

Most MCP incidents come from a handful of patterns. The current MCP specification (version 2026-07-28, checked November 24, 2026) names six of them in its security best practices. We add a seventh from practice. Each row says what the gateway can do about it.

MCP threats mapped to gateway controls
ThreatWhat happensGateway controlWhere it comes from
Token passthroughA server accepts a token that was issued for another service and forwards it downstream. Audit trails blur and rate limits are bypassed.The spec says a server must not accept tokens not issued for it. Validate the audience at the gateway and exchange tokens instead of forwarding them.Spec: security best practices
Confused deputy on an MCP proxyA proxy with one static client ID and open client registration lets an attacker reuse a consent cookie and steal an authorization code.Per-client consent stored server-side, exact redirect URI match, state checked after consent, no wildcard URIs.Spec: security best practices
SSRF during OAuth discoveryA malicious server points discovery URLs at internal addresses or the cloud metadata endpoint.Require HTTPS, block private and link-local ranges with a tested library, validate redirects, send discovery through an egress proxy.Spec: security best practices
Scope inflationA client asks for every scope the server lists, so one stolen token reaches every tool.Start with a low-risk scope. Raise it with an insufficient_scope challenge when a privileged tool is first used. Log each elevation.Spec: security best practices
State handle hijackingA guessed or leaked handle lets another user act on someone else's workflow state.Treat a handle as data, never as proof of identity. Bind it to the verified user on the server.Spec: security best practices
Local server compromiseA one-click local server runs a malicious start-up command with the user's rights.Show the exact command, require consent, run servers in a sandbox, prefer stdio or restricted sockets.Spec: security best practices
Tool description tamperingA tool's description or schema changes and steers the model to a harmful call. Not in the spec's own list.Allow-list servers, review and pin tool descriptions, alert on change, and let the gateway block any call not on the allow-list.Our practice view

Checklist version: MCP server security checklist.

Authentication

MCP authentication: what the specification requires

Authorization is optional in MCP, but an HTTP server that offers it should follow the specification. The specification builds on OAuth 2.1. An MCP server must publish protected resource metadata (RFC 9728) so clients can find its authorization server. Clients must send the resource parameter (RFC 8707) with every authorization and token request, and servers must accept only tokens issued for them. Tokens go in the Authorization header, never in the URL. Servers that use stdio should take credentials from the environment instead.

Walkthrough with the common mistakes: MCP authentication with OAuth. For identity for the agent itself, see agent identity and governance.

Policy

A deny-by-default policy for MCP tool access

Write the policy as a short list of rules, then enforce it in the gateway so a flagged call is blocked whatever the model says. This is the shape we start from.

Shape of a deny-by-default MCP gateway policy
RuleWhat it says
DefaultDeny every call from every agent to every server and tool.
Allow listAllow named (agent, server, tool) triples, each with an owner and a review date.
IdentityRequire a token whose audience is the MCP server. Reject anything else, including tokens meant for downstream APIs.
ScopeMap each tool to one scope. A read tool never needs a write scope.
Argument limitsReject calls whose arguments fall outside the schema or the size limit.
Human stepRoute calls that change money, access or records to an approval header from a person.
LogWrite agent, user, server, tool, scope and decision for every call, allowed or denied.

Exception: a read-only tool on public data can sit in a lighter tier. Decide that per tool, not per server.

Platforms

MCP gateway on Choreo Labs, Apigee or Azure API Management

You may not need a new product. Three API platforms we run already publish APIs as MCP servers. Each is also an enforcement point for the controls above.

MCP capability in three API platforms, as of November 2026
PlatformWhat it offers for MCPOur page
WSO2 API Manager4.6 added the MCP gateway. 4.7 added MCP governance and analytics. You can create an MCP server from an OpenAPI definition, from an existing API, or by proxying an existing MCP server.Choreo AI Gateway
ApigeePublish an existing API as an MCP server. MCP in Apigee hybrid arrived in 1.17.0 on September 14, 2026 as an optional feature.Apigee
Azure API ManagementExpose a REST API as an MCP server, pass through to an existing MCP server, and register MCP servers in Azure API Center.Azure API Management

WSO2 versions from the vendor release notes as recorded on our WSO2 API Manager page. Open source and specialist MCP gateways also exist. We pick by where the gateway must run and how it ties to your identity provider.

First engagement

Start with an MCP gateway review

The first engagement is a review of the MCP servers your agents already reach. It ends with a policy and a design you can build or hand to your own team.

MCP gateway review stages and deliverables
StageWhat we doWhat you keep
InventoryEvery MCP server in use, including ones teams run on laptops, with owner, tools and the systems each reaches.A server and tool register.
TraceHow a token travels from the agent to the tool and on to the backend.A token map that shows where audience checks are missing.
DesignPolicy set, scopes, consent and the place the gateway sits.A deny-by-default policy and a target design.
ProveA test that a blocked call stays blocked and that every call leaves a record.A test log your risk team can read.

Who this is not for: teams with no agent in or near production. Read the checklist first.

Scope, duration and fee are set after a short scoping call.

Questions

MCP gateway, answered plainly

What is an MCP gateway?

A gateway between AI agents and MCP servers. It authenticates the agent, checks that the token was issued for that server, limits which tools each agent may call, and logs every call.

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

An API gateway fronts calls from applications. An MCP gateway fronts calls from agents to tools and has to handle delegation, per-tool scopes and tool descriptions that can change. Many API gateways now publish APIs as MCP servers, so one product can do both.

How do we secure an MCP server?

Require OAuth with a token issued for that server, validate the audience, give each tool the smallest scope, block private network ranges in discovery, sandbox local servers and log every call. The checklist article lists the checks in order.

Does MCP require OAuth?

Authorization is optional in the specification. HTTP-based servers that support it should follow it. Servers that use stdio should take credentials from the environment.

Can an MCP gateway run on premises?

Yes. Self-hosted WSO2 API Manager, Apigee hybrid and the Azure API Management self-hosted gateway all keep tool calls inside your network. Control planes and analytics may still leave, so check each one.

Is there an open source MCP gateway?

Yes, several exist. We choose by where the gateway must run, how it joins your identity provider and who will patch it.

How is this different from your AI gateway page?

The AI gateway page covers traffic from applications and agents to models. This page covers agents calling tools. Most estates need both.

Let's talk

Talk to us about your MCP gateway

Tell us which agents call which tools. The first conversation is with an integration engineer.

Get a quote