MCP Gateway

Create an MCP gateway

Creates a client-facing MCP gateway that links one or more synced upstream servers and exposes a unified MCP endpoint.

post/v2/mcp-gateways

Request body

keystring required

Lowercase slug of letters, digits, hyphens and underscores, max 64 characters, unique per workspace; backs the gateway's public MCP URL.

display_namestring required

Human readable name shown in the workspace.

descriptionstring

Free-form note about what this gateway is for.

tool_naming'MCP_TOOL_NAMING_UNSPECIFIED' | 'MCP_TOOL_NAMING_PREFIX_WITH_SERVER_KEY' | 'MCP_TOOL_NAMING_PREFIX_ON_COLLISION'
mode'MCP_GATEWAY_MODE_UNSPECIFIED' | 'MCP_GATEWAY_MODE_CODE' | 'MCP_GATEWAY_MODE_DIRECT'

Response

OK