Create an MCP gateway
Creates a client-facing MCP gateway that links one or more synced upstream servers and exposes a unified MCP endpoint.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Lowercase slug of letters, digits, hyphens and underscores, max 64 characters, unique per workspace; backs the gateway's public MCP URL.
Human readable name shown in the workspace.
Free-form note about what this gateway is for.
Upstream servers this gateway aggregates.
How upstream tool names are namespaced before they are exposed. Defaults to PREFIX_ON_COLLISION.
MCP_TOOL_NAMING_UNSPECIFIED, MCP_TOOL_NAMING_PREFIX_WITH_SERVER_KEY, MCP_TOOL_NAMING_PREFIX_ON_COLLISION Shape of the tool surface presented to MCP clients: CODE or DIRECT. Defaults to CODE.
MCP_GATEWAY_MODE_UNSPECIFIED, MCP_GATEWAY_MODE_CODE, MCP_GATEWAY_MODE_DIRECT Which projects in the workspace may use this gateway. Defaults to every project.
Response
OK