Module transport

Source
Expand description

Transport layer for the MCP protocol handles the serialization and deserialization of message handles send and receive of messages defines transport layer types

Structs§

ClientStdioTransport
ClientStdioTransport launches a child process and communicates with it via stdio
JsonRpcError
JsonRpcNotification
JsonRpcRequest
JsonRpcResponse
JsonRpcVersion
JSON RPC version type
ServerStdioTransport
Stdio transport for server with json serialization TODO: support for other binary serialzation formats

Enums§

JsonRpcMessage

Traits§

Transport

Type Aliases§

Message
only JsonRpcMessage is supported for now https://spec.modelcontextprotocol.io/specification/basic/messages/
RequestId
Request ID type