v1

latestOpenAPI 3.1.0MIT OR Apache-2.02026-07-17107151343.7 KB
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 body

{"stackTrail":"components:schemas:JsonRpcRequest:properties:id","oasType":"schema","type":"unknown"}
jsonrpcstring required
methodstring required
{"stackTrail":"components:schemas:JsonRpcRequest:properties:params","oasType":"schema","type":"unknown"}

Response

JSON-RPC response