MCP
Server-sent events stream that delivers a single event with the POST endpoint URI so clients can discover where to send MCP requests.
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Successful response
Unauthorized
Forbidden
Too Many Requests; the response carries Retry-After
Internal Server Error
GET /api/v1/mcp HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Org-level Model Context Protocol endpoint. Accepts a JSON-RPC 2.0 request body and negotiates protocol version from the client's initialize params or the MCP-Protocol-Version header; supported revisions are 2025-11-25, 2025-06-18 and 2025-03-26 (JSON-RPC batching is honoured only on 2025-03-26, which is the one revision that permitted it). A request carrying modern per-request _meta (2026-07-28 and later) is answered with UnsupportedProtocolVersion (-32022) listing what is supported. Capabilities: tools, resources, prompts. Prompts are the platform skills, so they surface as slash commands in MCP clients. tools/list is filtered to the tools the presented credential's scopes permit, and destructive or long-running tools require an explicit confirm: true argument before they run. Session scoped to the organisation (Mcp-Session-Id: org-{orgId}).
An API key (pk_...) created on the Organisation API page, or an OAuth access token. Every operation requires one.
Successful response
Payload not declared in this repo
Bad Request
Unauthorized
Forbidden
Too Many Requests; the response carries Retry-After
Internal Server Error
POST /api/v1/mcp HTTP/1.1
Host: sandbox.rootcause.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"jsonrpc": "2.0",
"method": "text",
"params": null,
"id": "text"
}{
"data": "text"
}Last updated

