MCP Catalogs
Home

mcp-gateway

by lightconetech·151·Score 42

A gateway that bridges stdio-based Claude Desktop with HTTP/SSE MCP servers.

developer-toolsai-llmother
15
Forks
7
Open issues
18 mo ago
Last commit
2d ago
Indexed

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:

you:Enabling Claude Desktop to connect with HTTP/SSE-based MCP servers
you:Providing access to MCP Hub services through Claude Desktop
you:Bridging protocol gaps as MCP evolves with different transport methods
you:Why do I need this gateway?
you:How do I configure the gateway?

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

stdio-mcp-servernode-mcpmcp-hub

Installation

npm install -g @mcphub/gateway

Configure 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.