mcp

Versioned alias of /mcp

Identical to POST /mcp. The path carries the API version explicitly for clients that pin versions in the URL.

post/api/v2/agent/mcp

Request body

jsonrpc'2.0' required
methodstring required

MCP method, e.g. initialize, tools/list, tools/call.

paramsobject

Method parameters. For tools/call: { name, arguments }.

Example request

{
  "method": "initialize"
}

Response

JSON-RPC response (or SSE stream of responses).

jsonrpc'2.0' required
resultobject

Changes

No recorded changes to this endpoint across all 1 revision of this API.