Skip to main content

Module protocol

Module protocol 

Source

Structs§

JsonRpcError
A JSON-RPC 2.0 error response
JsonRpcNotification
A JSON-RPC 2.0 notification (no id, no response expected)
JsonRpcRequest
A JSON-RPC 2.0 request
JsonRpcResponse
A JSON-RPC 2.0 success response

Enums§

JsonRpcMessage
Any message that can be sent/received over the wire
ProgressToken
Progress token — used in notifications/progress
RequestId
A JSON-RPC request ID (string or integer, never null)

Constants§

JSONRPC_VERSION
MCP_PROTOCOL_VERSION