pmcp 2.3.0

High-quality Rust SDK for Model Context Protocol (MCP) with full TypeScript SDK compatibility
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Server-specific transport implementations.

#[cfg(feature = "websocket")]
pub mod websocket;

#[cfg(feature = "websocket")]
pub mod websocket_enhanced;

#[cfg(feature = "websocket")]
pub use websocket::{WebSocketServerBuilder, WebSocketServerConfig, WebSocketServerTransport};

#[cfg(feature = "websocket")]
pub use websocket_enhanced::{ClientId, EnhancedWebSocketConfig, EnhancedWebSocketServer};