- MCP2HTTP
MCP2HTTP
MCP2HTTP is a minimal transport adapter that bridges MCP clients using stdio with stateless HTTP servers.
Overview
what is MCP2HTTP?
MCP2HTTP is a minimal transport adapter that bridges Model Context Protocol (MCP) clients using stdio with stateless HTTP servers, enabling new integration possibilities.
how to use MCP2HTTP?
To use MCP2HTTP, configure your MCP client to call the command with the endpoint URL and optional HTTP headers in the specified format. For example: npx -y mcp2http <endpoint-url> ["Header: Value"...].
key features of MCP2HTTP?
- Client-generated session tracking with UUID
Session-Idheader. - Capability filtering to block unsupported requests.
- Notification handling that drops messages with no ID.
use cases of MCP2HTTP?
- Connecting local MCP clients to remote HTTP servers.
- Integrating legacy systems with modern HTTP-based services.
- Reducing server load by filtering unsupported capabilities.
FAQ from MCP2HTTP?
- What is the purpose of the
Session-Idheader?
It allows for correlation of requests in stateless HTTP environments, though it is optional for servers that do not require session tracking.
- Can I use MCP2HTTP with any HTTP server?
Yes, as long as the server supports the Model Context Protocol.
- Is there a license for MCP2HTTP?
Yes, MCP2HTTP is licensed under the MIT license.
Project Info
Created At
a year agoUpdated At
a year agoAuthor Name
tekorexStar
1Language
JavaScriptLicense
MIT licenseCategory
developer-tools
Recommend Servers
View AllAmap Maps
@amap
高德地图官方 MCP Server
a year ago
Serper MCP Server
@garymengcom
A Serper MCP Server
Python
a year ago
Shotapi
@smallhandsome
a day ago
虎嗅嗅 Ai行业参谋
6 hours ago
Test
@modelcontextprotocol
test
6 months ago
Fabric
@fabric-agent-plugins
3 hours ago