MCP server (Streamable HTTP, JSON answers, no session) with the assistant's tools: initialize, tools/list, tools/call, ping
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/mcp may answer 202MCP server (Streamable HTTP, JSON answers, no session) with the assistant's tools: initialize, tools/list, tools/call, ping. API keys only (ASSISTANT_MCP_API_KEY_REQUIRED); the key's owner and scope apply to every tool. Notifications answer 202
Authentication: API key (Authorization: Bearer …).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required |
Request body
required
Content type: application/json
object
jsonrpcstring requiredAllowed values:"2.0"idstring | integer optionalOne of 1: string
One of 2: integer
methodstring requiredparamsobject optional
Example
{
"jsonrpc": "2.0",
"id": "string",
"method": "string",
"params": {}
}Responses
200 JSON-RPC answer
Content type: application/json
object
Example
{}202 Notification accepted
default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required