ApiProxy

Update the MCP Routing config of an MCP API Proxy

Changed on

Permission: API_MANAGEMENT or AI_DEVELOPMENT × MANAGE. Replaces the McpRouting config of an MCP proxy. The backend target is given inline via backendServers[] — each entry needs a non-blank endpoint; entries without one are ignored. Deployed environments are marked redeploy-required.

put/apiops/projects/{projectName}/apiProxies/{apiProxyName}/mcp-routing/

Request

Path parameters

projectNamestring required

Project name

apiProxyNamestring required

MCP API Proxy name

Request body

routingMode'TOOL_EXPOSE' | 'PASSTHROUGH'
protocolVersionstring
serverJsonOverridestring
allowedToolNamesstring[]
authProfile'LEGACY' | 'STANDARD_MCP_OAUTH'
serviceClientNamestring
standardMcpOAuthProfileboolean
routingModeRaw'TOOL_EXPOSE' | 'PASSTHROUGH'

Response

successful operation!

status'SUCCESS' | 'FAILURE'
resultMessagestring
resultListstring[]
resultCountinteger
unresolvedReferencesstring[]

Changes