Crate rust_mcp_transport

Crate rust_mcp_transport 

Source

Modules§

error

Structs§

ClientSseTransport
Client-side Server-Sent Events (SSE) transport implementation
ClientSseTransportOptions
Configuration options for the Client SSE Transport
MessageDispatcher
Provides a dispatcher for sending MCP messages and handling responses.
SseTransport
StdioTransport
Implements a standard I/O transport for MCP communication.
TransportOptions
Configuration for the transport layer

Enums§

IoStream
Enum representing a stream that can either be readable or writable. This allows the reuse of the same traits for both MCP Server and MCP Client, where the data direction is reversed.

Traits§

McpDispatch
A trait for dispatching MCP (Message Communication Protocol) messages.
Transport
A trait representing the transport layer for the MCP (Message Communication Protocol).
TransportDispatcher
A composite trait that combines both transport and dispatch capabilities for the MCP protocol.

Type Aliases§

SessionId