Skip to main content

Module transport

Module transport 

Source
Expand description

JSON-RPC 2.0 transport and dispatch for MCP.

Reads JSON-RPC requests from stdin (stdio transport) and routes them to the appropriate McpServer handler. Writes responses to stdout.

Structs§

JsonRpcDispatcher
JSON-RPC 2.0 dispatcher for MCP stdio transport.