mcp-protocol-sdk 0.5.1

Production-ready Rust SDK for the Model Context Protocol (MCP) with multiple transport support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! MCP client implementation
//!
//! This module provides the main client implementation for the Model Context Protocol.

pub mod builder;
pub mod mcp_client;
pub mod session;

// Re-export the main client type and builder
pub use builder::{ConnectionConfig, McpClientBuilder, RetryConfig};
pub use mcp_client::McpClient;
pub use session::{ClientSession, SessionConfig, SessionState};

// Legacy alias for test compatibility
pub type ClientBuilder = McpClientBuilder;