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.

GuideIntegration & Security5 min read

MCP Proxies on WSO2 API Manager: Create, Guard, Control and Log

Three ways to create an MCP server on API Manager, and what to add before agents use it.

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: API Management & Integration
On this page
  1. How do I create an MCP server in API Manager?
  2. Should we expose every API operation as a tool?
  3. Generate MCP from APIs
  4. Guardrails
  5. Access
  6. Logging
  7. What to log for each call
  8. A rollout checklist
  9. Questions we hear
  10. A first engagement

Short answer: WSO2 API Manager can create an MCP server three ways: from an OpenAPI definition, from an API it already manages, or by proxying an existing MCP server. Agents then reach it through the gateway, which applies security, throttling and analytics. The MCP gateway arrived in release 4.6 and MCP governance and analytics in 4.7. Checked November 24, 2026 against the 4.6 documentation and a 4.7 page on moving MCP servers between environments.

How do I create an MCP server in API Manager?

The labels below come from the 4.6.0 documentation. In the Publisher, open MCP Servers, then choose one of the three paths.

StepFrom an existing APIProxy an existing MCP server
StartMCP Servers, then Create MCP Server from Existing APIMCP Servers, then Proxy an Existing MCP Server
InputPick a source API that is already deployedChoose MCP Server URL and enter the upstream endpoint
ToolsSelect which API operations become toolsAPI Manager discovers the upstream tools. Select which to expose
DetailsName, context and version, then CreateName, context, version and the upstream base URL, then Create
AfterRefine tool names and descriptions, test in the MCP Playground, deploy to a gatewayThe same
Carries overThe API's existing security, throttling and analyticsPolicies for authentication, throttling and analytics can be applied

When you proxy a server, API Manager does not generate tools. It discovers the upstream tools and proxies MCP methods such as initialize, tools/list and tools/call. It assumes the upstream server follows the MCP standard. The documentation page for this path does not cover authentication inputs or transport selection.

Should we expose every API operation as a tool?

No. The overview warns that converting an API straight into an MCP server works for small deployments but does not scale. Exposing every resource as its own tool uses up the model's context window and raises the risk of invented calls. The recommended approach is to design servers around specific workflows, with small, strongly typed input schemas.

Design choiceDoAvoid
Tool countA short list built around one workflowOne tool per API resource
Input schemaMinimal and strongly typedFree-text fields that pass through to the backend
Names and descriptionsClear, reviewed on every changeCopying the API's internal names
Write operationsA separate server or scope for themMixing read and write in one tool

Generate MCP from APIs

PathUse it when
Import an OpenAPI definitionYou design the MCP server first.
Create from an existing APIThe API is already in API Manager and you want to reuse its security and throttling. You pick the operations that become tools.
Proxy an existing MCP serverYou want governance, security and analytics around a server someone else runs.

Guardrails

Tool descriptions steer a model, so treat them as policy. Keep the set of tools small, and review a description whenever it changes. The gateway's semantic tool filtering ranks tools by relevance so the model sees fewer of them, which reduces exposure but is not an access control.

Access

Give each agent its own identity and decide which agent may call which tool. Put one scope on each tool. For the threats and controls in detail, see the checklist.

Logging

Log agent, user, server, tool and decision for every call, allowed or denied. Use the 4.7 analytics for usage and keep the raw log for audit.

What to log for each call

FieldWhy you want it
Agent identityShows which agent acted, not only which application
User, if the agent acts for oneTies the action to a person for audit
Server and toolShows what was reached
Scope usedShows whether the call stayed within its grant
Decision and reasonAllowed or denied, and by which policy
Time and correlation IDLets you follow one request across systems

A rollout checklist

  1. Pick one workflow and list the three to five operations an agent needs for it.
  2. Create the server from the existing API, or proxy the upstream server, and expose only those tools.
  3. Rewrite tool names and descriptions, then test them in the MCP Playground.
  4. Attach authentication and throttling policies, and give each tool one scope.
  5. Deploy to a gateway and subscribe a test agent with its own identity.
  6. Check the log for an allowed call and a denied call.
  7. Review the tool descriptions again whenever the API changes.

Questions we hear

Can we proxy a server another team runs? Yes, if it follows the MCP standard. The proxy adds governance, security and analytics around it, and the owner stays responsible for the server itself.

Does the proxy replace the server's own authorization? No. Treat the gateway as one control. The protocol rules in MCP authentication with OAuth still apply to every server behind it.

A first engagement

Duczer East offers an MCP gateway fit check: we choose the first workflow with you, design the tool set and policies, and test it in a lab before anything reaches production.

Related: WSO2 AI Gateway setup · WSO2 AI Gateway setup and registration · MCP server security checklist

Frequently asked questions

What is an MCP proxy on WSO2 API Manager?

An MCP server in API Manager that wraps an existing API or an external MCP server, so agents reach it through the gateway with its security, throttling and analytics.

Which release has MCP support?

The MCP gateway arrived in API Manager 4.6, and MCP governance and analytics in 4.7.

Does API Manager generate tools when it proxies an MCP server?

No. It discovers the tools the upstream server already has, lets you pick which to expose and proxies MCP methods such as tools/list and tools/call.

Should every API operation become an MCP tool?

No. The vendor overview warns this uses up the model context and raises the risk of invented calls. Build servers around specific workflows with small, strongly typed inputs.

Where can we test a new MCP server before deploying it?

The 4.6.0 documentation points to the MCP Playground, where you can test tools after you refine their names and descriptions.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote