Skip to main content

Hosted MCP request

POST /mcp

Stateless Streamable HTTP using MCP 2026-07-28 or legacy 2025-11-25. Requires a current workspace admin, analyst or viewer bearer credential; cookies and agent credentials are not accepted. Initialization and discovery authenticate, and each tool call uses the existing tenant API authorization and limits. Use protocol tool discovery for argument/result schemas. Browser OAuth supports explicit consent and MCP-only session-bound grants; no persistent MCP sessions or subscriptions. Canonical origin only; supplied Origin must match. JSON request bodies are limited to 512 KiB without compression.

Authentication​

The following OpenAPI alternatives describe accepted authentication. Browser mutations also require the canonical Origin header.

[
{
"organizationCredential": []
},
{
"mcpAuthorization": [
"mcp:tools"
]
}
]

Parameters​

[
{
"name": "MCP-Protocol-Version",
"in": "header",
"schema": {
"type": "string"
},
"description": "Protocol version selected by the MCP client."
},
{
"name": "Accept",
"in": "header",
"schema": {
"type": "string"
},
"description": "Use application/json, text/event-stream according to the MCP transport."
}
]

Request body​

{
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "MCP JSON-RPC request or notification, including protocol-specific envelope metadata."
}
}
}
}

Responses​

{
"200": {
"description": "MCP result or protocol error",
"content": {
"application/json": {
"schema": {
"type": "object"
}
},
"text/event-stream": {
"schema": {
"type": "string"
}
}
}
},
"202": {
"description": "Notification accepted"
},
"400": {
"description": "Invalid request",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"401": {
"description": "Credential expired, revoked or invalid",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"403": {
"description": "Role or origin denied",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"405": {
"description": "POST required",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"413": {
"description": "Request too large",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"415": {
"description": "Unsupported content type or encoding",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"429": {
"description": "Request budget exhausted",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
"500": {
"description": "Request failed",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}

References such as #/components/schemas/Asset resolve in shared schemas. Download the OpenAPI contract for client generation. This page is generated; it describes the implemented development API, not planned endpoints.