Skip to content

Create MCP request handler

POST
/api/v4/mcp

Handles Model Context Protocol requests

Media type application/json
object
jsonrpc
required

JSON-RPC protocol version identifier. Must be 2.0.

string
>= 1 characters
Allowed values: 2.0
method
required

Name of the JSON-RPC method invoked on the MCP server.

string
nullable
id

ID of the JSON-RPC request returned in the response.

string
nullable
params
One of:
object

Created

Bad request

Unauthorized

Forbidden

Not found