mcp

POST /api/mcp - Handle JSON-RPC requests.

Accepts JSON-RPC requests and returns either:

  • application/json for simple responses
  • text/event-stream for streaming responses (not implemented yet)

The Mcp-Session-Id header is assigned on initialize and required for subsequent requests.

post/api/mcp

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

idunknown
jsonrpcstring required
methodstring required
paramsunknown

Response

JSON-RPC response

Changes

No recorded changes to this operation across all 53 revisions of this API.