Before You Begin
- A Tyk-managed REST API (Tyk OAS format) already onboarded to Tyk, with its API ID to hand.
- Tyk Gateway v5.15 or later, Enterprise Edition. See Requirements.
The Pattern
Every proxy generated this way is its own Tyk OAS API definition, so nothing stops you from creating several proxies that all point at the same source API. Each one has its ownupstream.url adapter target (identical across every proxy sliced from the same source, since they all reference the same source API ID) and its own x-tyk-mcp-server extension, listing only the operations that proxy should expose.
The two proxies below both target the same source API (ID 4d5e6f7a8b9c4d1e8f0a1b2c3d4e5f6a), but each has its own allow-list:
Payments Reporting, read-only lookups only:
Creating Both Proxies
Create each definition through whichever interface you use to manage MCP proxies. The Tyk Dashboard, Tyk Operator, or the Gateway/Dashboard API all work the same way here, since both proxies are ordinary Tyk OAS API definitions. See Creating and managing a proxy for the specifics of each. In the Dashboard wizard specifically, this means running through Tyk API proxy creation twice against the same source API, deselecting different operations each time in the Map endpoints to tools step.Governing Each Proxy Independently
Because they’re separate proxies, Payments Reporting and Payments Operations each get their own credential and security policy: issue keys scoped to whichever proxy an agent should reach, rather than relying on per-tool RBAC within a single shared proxy. A fraud-review agent’s key never needs to be trusted with write access at all, because the write tools don’t exist on the proxy it connects to.Tool names only need to be unique within the proxy that exposes them, with one exception: if two proxies sliced from the same source API both expose a tool with the same name, that name must refer to the same source operation in both. Giving the same tool name to two different operations across proxies on the same source API is a configuration error, not a runtime ambiguity: creating or reloading the second proxy fails outright. See How to resolve tool and parameter collisions for the full collision rules.