Skip to main content

Module client

Module client 

Source
Expand description

MCP client implementation with stdio and HTTP/SSE transports.

Re-exports§

pub use http_sse::HttpSseTransport;
pub use session::McpSession;
pub use stdio::StdioTransport;
pub use transport::Transport;

Modules§

http_sse
HTTP/SSE transport beta implementation.
session
MCP session management — handles the protocol handshake and method calls.
stdio
Stdio transport — spawns a child process and communicates via stdin/stdout.
transport
Transport trait for sending/receiving raw JSON-RPC messages.