Mcp2http

•
2
•

Bridges Model Context Protocol (MCP) clients using stdio with stateless HTTP servers.

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.

主要功能

01Connects stdio MCP clients to stateless HTTP servers
02Client-generated Session-Id header for optional session tracking
03Capability filtering to reduce server load
04Handles notifications by dropping them
05Supports custom HTTP headers
062 GitHub stars

使用案例

01Integrating MCP clients with serverless platforms
02Connecting MCP clients to legacy systems using HTTP
03Adding session tracking to stateless MCP HTTP servers