Expand description
JSON-RPC 2.0 Implementation for MCP 2025-06-18
This module provides JSON-RPC structures that are fully compliant with the MCP 2025-06-18 specification, including proper _meta field handling.
Structs§
- Json
RpcError - JSON-RPC 2.0 error object
- Json
RpcNotification - A JSON-RPC 2.0 notification (no response expected)
- Json
RpcRequest - A standard JSON-RPC 2.0 request
- Json
RpcResponse - A standard JSON-RPC 2.0 response
- Request
Params - JSON-RPC
params
object with optional_meta
and method-specific arguments - Result
With Meta - A generic result wrapper that combines data with optional _meta information
Enums§
- Json
RpcMessage - Unified JSON-RPC message type
Constants§
- JSONRPC_
VERSION - JSON-RPC version constant