Expand description
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
§Architecture
Client → SSE → SseHandler → Backend MCP ServiceRe-exports§
pub use sse_handler::SseHandler;pub use server::run_sse_server;pub use server::run_sse_server_from_config;
Modules§
- config
- Configuration types for SSE proxy
- server
- SSE server implementation
- sse_
handler
Structs§
- McpService
Config - MCP 服务配置
- Peer
- An interface to fetch the remote client or server
- Role
Client - Role
Server - Running
Service - Tool
Filter - 工具过滤配置