MCP SSE Proxy Module
This module provides a proxy implementation for MCP (Model Context Protocol) using SSE (Server-Sent Events) transport.
Features
- SSE Support: Uses rmcp 0.10 with SSE transport (removed in 0.12+)
- Stable Protocol: Production-ready SSE implementation
- Hot Swap: Supports backend connection replacement
- Fallback Option: Used when Streamable HTTP is not supported
- High-level Client API: Simple connection interface hiding transport details
Architecture
Client → SSE → SseHandler → Backend MCP Service
Example
use ;
// Connect to an MCP server
let config = new;
let conn = connect.await?;
// List available tools
let tools = conn.list_tools.await?;