Overview
MCP Server Gateway is a bridge service that allows the Claude Desktop application to communicate with HTTP/SSE-based Model Context Protocol (MCP) servers by translating stdio-based MCP protocol inputs and outputs.
To use the MCP Server Gateway, install it globally via npm, configure your Claude Desktop with the path to the gateway, and set up your MCP server connection.
- Bridges stdio-based MCP servers with HTTP/SSE MCP servers. - Facilitates seamless communication between Claude Desktop and various MCP servers. - Supports configuration for different operating systems with clear installation steps.
- Enabling Claude Desktop to work with a wider range of MCP servers.
- Streamlining interactions for users relying on Claude Desktop for various server applications.
- Helping developers integrate seamless communication in their projects using the MCP framework.
Add to your AI client
Use these steps to connect MCP Server Gateway in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-gateway-lightconetech": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gateway-lightconetech"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-gateway-lightconetech": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gateway-lightconetech"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-gateway-lightconetech": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gateway-lightconetech"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-gateway-lightconetech": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gateway-lightconetech"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-gateway-lightconetech": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gateway-lightconetech"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-gateway-lightconetech": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-gateway-lightconetech"
]
}
}
}FAQ
What is the purpose of this gateway?
The gateway solves the compatibility gap for HTTP/SSE-based MCP servers since Claude Desktop supports only stdio-based ones.
How do I install the gateway?
You can install the gateway globally using the command: `npm install -g @mcphub/gateway`.
Are there troubleshooting steps available?
Yes! The project documentation includes troubleshooting steps for common installation and configuration issues.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":131,"uuid":"feba42b0-eac6-401f-9baf-591ffeb1ebd8","name":"mcp-gateway","title":"MCP Server Gateway","description":"A gateway demo for MCP SSE Server","avatar_url":"https://avatars.githubusercontent.com/u/190788336?v=4","created_at":"2024-12-13T09:01:19.401Z","updated_at":"2024-12-13T12:28:11.527Z","status":"created","author_name":"lightconetech","author_avatar_url":"https://avatars.githubusercontent.com/u/190788336?v=4","tags":"mcp,claude,model-context-protocol","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/lightconetech/mcp-gateway","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"105\",\"license\":\"Apache-2.0 license\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2024-12-08 01:48:54\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]