lightconetech/mcp-gateway
FreeMCP SSE 服务器的网关演示。
FreeFree tier
About lightconetech/mcp-gateway
A gateway service that bridges the stdio-based Model Context Protocol (MCP) implementation in Claude Desktop with HTTP/SSE-based MCP servers. It acts as a protocol translator, allowing Claude Desktop to communicate with any HTTP/SSE MCP server by accepting stdio input from Claude Desktop, converting and forwarding requests to HTTP/SSE MCP servers, and converting SSE responses back to stdio format for Claude Desktop. The gateway is installed globally via npm and configured through environment variables, with a default connection to the MCP Hub server. Licensed under Apache 2.0.
Key Features
Acts as a protocol translator between stdio and HTTP/SSE MCP servers
Accepts stdio input from Claude Desktop and forwards as HTTP/SSE requests
Converts SSE responses back to stdio format for Claude Desktop
Easy installation via npm global install (@mcphub/gateway)
Configurable MCP server URL via environment variable (MCP_SERVER_URL)
Defaults to connecting to MCP Hub server (https://server.mcphub.ai/api/mcp)
Open source under Apache 2.0 license
Supports any HTTP/SSE MCP server
Pros & Cons
Pros
- Solves the protocol mismatch between Claude Desktop (stdio) and HTTP/SSE MCP servers
- Open source with permissive Apache 2.0 license
- Simple installation via npm and configuration via environment variables
- Works with any HTTP/SSE MCP server, not just predefined ones
Cons
- Currently only documented for Claude Desktop integration
- Requires manual installation and configuration steps
- Described as a 'gateway demo' and may not be production-ready
- Dependency on Node.js and npm
Best For
Enabling Claude Desktop to use MCP servers that only support HTTP/SSE transportBridging protocol compatibility gap for MCP ecosystemDeveloping and testing HTTP/SSE MCP servers with Claude Desktop integration
FAQ
What is the MCP Gateway?
It is an open-source gateway service that bridges the stdio-based Model Context Protocol (MCP) used by Claude Desktop with HTTP/SSE-based MCP servers, allowing Claude Desktop to communicate with any HTTP/SSE MCP server.
How do I install the MCP Gateway?
Install it globally using npm: npm install -g @mcphub/gateway. Then find the installation path with npm root -g and configure Claude Desktop to use it.
How do I configure the MCP server URL?
Set the MCP_SERVER_URL environment variable to point to your HTTP/SSE MCP server. By default, it connects to the MCP Hub server at https://server.mcphub.ai/api/mcp.
What license is the MCP Gateway under?
It is licensed under Apache 2.0.