소개
MCP2HTTP is a minimal transport adapter that enables Model Context Protocol (MCP) clients using stdio transport to communicate with MCP servers over stateless HTTP. It bridges the gap between traditional stdio/SSE MCP transport and regular HTTP endpoints, facilitating integration with serverless platforms and legacy systems. The adapter handles basic transport conversion while offering optional session tracking through a client-generated UUID. It also filters server capabilities to reduce unnecessary load and drops notifications to align with HTTP's request/response architecture.
주요 기능
- Connects stdio MCP clients to stateless HTTP servers
- Client-generated Session-Id header for optional session tracking
- Capability filtering to reduce server load
- Handles notifications by dropping them
- Supports custom HTTP headers
- 2 GitHub stars
사용 사례
- Integrating MCP clients with serverless platforms
- Connecting MCP clients to legacy systems using HTTP
- Adding session tracking to stateless MCP HTTP servers