mcp-gateway
by lightconetech·★ 151·Score 42
A gateway that bridges stdio-based Claude Desktop with HTTP/SSE MCP servers.
Overview
The MCP Server Gateway solves a critical compatibility issue by translating between stdio and HTTP/SSE protocols for MCP servers. It acts as a middleware that accepts stdio input from Claude Desktop and converts it to HTTP/SSE requests for compatible MCP servers, then translates the responses back. This enables users to access HTTP/SSE-based MCP servers through Claude Desktop, which currently only supports stdio protocol. The gateway is particularly valuable as the MCP ecosystem grows with servers using different transport mechanisms.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this when you need to connect Claude Desktop to HTTP/SSE-based MCP servers but don't want to modify the server implementation.
When NOT to choose this
Avoid this if you only need stdio-based MCP servers or are looking for a more direct integration solution without an additional gateway layer.
Comparable tools
Installation
npm install -g @mcphub/gatewayConfigure Claude Desktop by updating config.json:
{
"mcpServers": {
"server-name": {
"command": "node",
"args": ["/path/to/@mcphub/gateway/dist/src/mcphub-gateway.js"]
}
}
}Set the target MCP server URL via environment variable: export MCP_SERVER_URL=https://your-mcp-server.com/api/mcp
FAQ
- Why do I need this gateway?
- Claude Desktop currently only supports stdio protocol for MCP servers, while many MCP servers use HTTP/SSE transport. This gateway bridges that compatibility gap.
- How do I configure the gateway?
- Install globally via npm, configure Claude Desktop to use the gateway as an MCP server, and set the MCP_SERVER_URL environment variable to point to your desired HTTP/SSE MCP server.
Compare mcp-gateway with
Last updated · Auto-generated from public README + GitHub signals.