Skip to main content
POST

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Accept
string
required

Must include both application/json and text/event-stream.

Example:

"application/json, text/event-stream"

Body

application/json
jsonrpc
enum<string>
required

JSON-RPC version. Always "2.0".

Available options:
2.0
method
string
required

MCP method to invoke (e.g. "tools/list", "tools/call", "resources/read").

Example:

"tools/call"

params
object

Method-specific parameters. For tools/call, includes name (tool name) and arguments (tool input). For resources/read, includes uri.

id

Request ID for correlating responses. Omit it for notifications.

Response

JSON-RPC 2.0 response with the result or error.

jsonrpc
string
Example:

"2.0"

result
object

Method-specific result payload. tools/call responses match McpToolCallResult.

error
object

JSON-RPC protocol error, such as an unknown method. Tool failures are returned in result with isError set to true.

id