[go: up one dir, main page]

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

Enums§

JsonRpcMessage

Traits§

Transport

Type Aliases§

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