Submit

MCP2HTTP

@tekorex

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-Id header.
  • Capability filtering to block unsupported requests.
  • Notification handling that drops messages with no ID.

use cases of MCP2HTTP?

  1. Connecting local MCP clients to remote HTTP servers.
  2. Integrating legacy systems with modern HTTP-based services.
  3. Reducing server load by filtering unsupported capabilities.

FAQ from MCP2HTTP?

  • What is the purpose of the Session-Id header?

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.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.