A gateway demo for MCP SSE Server
A gateway service that bridges the stdio-based Model Context Protocol (MCP) implementation in Claude Desktop with HTTP/SSE-based MCP servers. This solves the protocol compatibility gap since Claude Desktop currently only supports stdio-based MCP servers. See the discussion here.
Claude Desktop App currently only supports stdio protocol for MCP servers, while many MCP servers use HTTP with Server-Sent Events (SSE) transport. This gateway acts as a protocol translator, allowing Claude Desktop to communicate with any HTTP/SSE MCP server by:
Install the gateway globally using npm:
npm install -g @mcphub/gateway
After installation, find where npm installed the gateway using these commands:
## This shows the root directory of global packages
npm root -g
## The gateway will be located at:
<npm_global_root>/@mcphub/gateway/dist/src/mcphub-gateway.js
Common global package locations:
/opt/homebrew/lib/node_modules/@mcphub/gateway/dist/src/mcphub-gateway.js/usr/local/lib/node_modules/@mcphub/gateway/dist/src/mcphub-gateway.js%AppData%\npm\node_modules\@mcphub\gateway\dist\src\mcphub-gateway.jsVerify the installation and path:
npm list -g @mcphub/gateway
Create or update your Claude Desktop configuration file:
Location: ~/Library/Application Support/Claude Desktop/config.json
Location: %APPDATA%\Claude Desktop\config.json
Add this configuration (using the path you found in step 1):
{
"mcpServers": {
"server-name": {
"command": "node",
"args": ["/opt/homebrew/lib/node_modules/@mcphub/gateway/dist/src/mcphub-gateway.js"]
}
}
}
Note: Replace the path in args with your actual path from step 1.
The gateway uses an environment variable to specify which MCP server to connect to:
## Set the MCP server URL (optional)
export MCP_SERVER_URL=https://your-mcp-server.com/api/mcp
By default, the gateway connects to the MCP Hub server at https://server.mcphub.ai/api/mcp, which provides access to various pre-configured MCP services.
Start or restart Claude Desktop to apply the changes.
If you can’t find the gateway path:
# List all global packages and look for @mcphub/gateway
npm list -g
# Or specifically check the gateway
npm list -g @mcphub/gateway
Verify your Node.js installation:
# Check Node version
node --version
# Check npm version
npm --version
Common issues:
brew doctor
brew link node
sudo for the installationApache 2.0 License{:target=“_blank”}
If you encounter any issues or have questions:
Contributions are welcome! Please feel free to submit a Pull Request.
Onesignal Mcp
A Model Context Protocol (MCP) server for interacting with the OneSignal API
Chromia Mcp
Mcp Crypto Price
A Model Context Protocol (MCP) server that provides real-time cryptocurrency analysis via CoinCap's API. Enables Claude and other MCP clients to fetch crypto prices, analyze market trends, and track historical data.
Ragie Model Context Protocol Server
An MCP (Model Context Protocol) tool that provides real-time weather data, forecasts, and historical weather information using the OpenWeatherMap API, specifically designed for Claude Desktop.
Enhanced FileSystem MCP server
An MCP (Model Context Protocol) server for executing macOS terminal commands with ZSH shell. This server provides a secure way to execute shell commands with built-in whitelisting and approval mechanisms.