1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Proxy module for bridging MCP servers across transports
//!
//! This module provides the core proxy functionality that enables universal
//! MCP transport adaptation. It allows ANY MCP-compliant server to be exposed
//! on ANY transport with turbomcp's world-class capabilities.
//!
//! ## Architecture
//!
//! ```text
//! Frontend (turbomcp-server) ↔ Router ↔ Backend (turbomcp-client)
//! HTTP/WebSocket clients Core STDIO/HTTP/WebSocket server
//! ```
//!
//! ## Modules
//!
//! - `backend` - Backend connection management (turbomcp-client wrapper)
//! - `backends` - Concrete backend transport implementations (HTTP, etc.)
//! - `frontends` - Concrete frontend transport implementations (STDIO, etc.)
//! - `service` - Proxy service for Axum integration (Phase 2)
//! - `id_translator` - Bidirectional `MessageId` translation
//! - `metrics` - Performance and health metrics collection
//! - `auth` - Authentication and JWT signing for backend communication (optional)
pub use ;
pub use ;
pub use HttpBackend;
pub use StdioFrontend;
pub use IdTranslator;
pub use ;
pub use ProxyService;