ApiProxy

Create an MCP API Proxy

Changed on

Permission: API_MANAGEMENT or AI_DEVELOPMENT × MANAGE. Creates a name-based MCP (Model Context Protocol) API Proxy in a single call. The path apiProxyName overrides the body name. routingMode is required (TOOL_EXPOSE or PASSTHROUGH — no implicit default, same fail-closed contract mcp-routing/ uses). protocolVersion is optional. For PASSTHROUGH the backend target is given inline via mcpRouting.backendServers[] (each entry needs a non-blank endpoint); referencing a separate connection is no longer supported.

post/apiops/projects/{projectName}/apiProxies/mcp/{apiProxyName}/

Request

Path parameters

projectNamestring required

Project name

apiProxyNamestring required

MCP API Proxy name (overrides body name)

Request body

relativePathstring
descriptionstring
routingMode'TOOL_EXPOSE' | 'PASSTHROUGH'
protocolVersionstring

Response

successful operation!

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

Changes

    • warning

      removed the request property //

    • warning

      removed the request property //

    • breaking

      request property was restricted to a list of enum values

    • breaking

      the request property type changed from object to string

    • warning

      removed the request property

    This list may be incomplete.