MCP Gateway
An MCP stdio to HTTP SSE transport gateway with example server and MCP client
What is MCP Gateway?
MCP Gateway is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp stdio to http sse transport gateway with example server and mcp client
An MCP stdio to HTTP SSE transport gateway with example server and MCP client
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An MCP stdio to HTTP SSE transport gateway with example serv
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx and-gwConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP Gateway
MCP Gateway (and-gw) bridges the stdio-based MCP transport that local AI clients like Claude Desktop use to remote HTTP SSE (Server-Sent Events) endpoints, making it possible to run your MCP server on a remote machine while still connecting to it from a local client. This solves a common deployment problem where your tools and data live on a server but your AI client only supports local stdio connections. The gateway is transparent: Claude Desktop talks stdio to and-gw, which forwards all traffic to an HTTP SSE URL you specify. It ships with a bundled example server exposing SQL query and chart visualization tools to help you get started quickly.
Prerequisites
- Node.js 18 or higher installed
- npm or npx available on your PATH
- A running HTTP SSE MCP server accessible on a known URL (e.g. http://localhost:8808/)
- An MCP-compatible client such as Claude Desktop
Start the example HTTP SSE server (optional)
If you want to test with the bundled example before connecting to your own server, clone the repo and start the example server on port 8808.
git clone https://github.com/boilingdata/mcp-server-and-gw.git
cd mcp-server-and-gw
npm install
PORT=8808 node examples/server.jsIdentify your target HTTP SSE endpoint URL
Determine the full URL of the HTTP SSE MCP server you want to bridge to. The gateway will forward all stdio traffic to this address.
Configure Claude Desktop to use the gateway
Add the gateway to your claude_desktop_config.json, passing your SSE server URL as the first argument to npx mcp-server-and-gw.
Restart Claude Desktop
Save the configuration file and restart Claude Desktop. The gateway process will start automatically and connect to your SSE server.
Verify the connection
Open Claude Desktop and check that tools from your remote MCP server appear in the tool list. If using the example server, you should see query and visualise tools.
MCP Gateway Examples
Client configuration
Claude Desktop configuration pointing the gateway at a local HTTP SSE server on port 8808.
{
"mcpServers": {
"and-gw": {
"command": "npx",
"args": ["mcp-server-and-gw", "http://localhost:8808/"],
"env": {
"MCP_HOST": "localhost",
"MCP_PORT": "8808"
}
}
}
}Prompts to try
Example prompts using the bundled example server's SQL query and chart visualization tools.
- "Run a SQL query to show me all tables in the DuckDB database"
- "Query the sales table and show me total revenue by month"
- "Visualise the query results as a bar chart grouped by region"
- "What tools are available from the remote MCP server?"Troubleshooting MCP Gateway
Gateway starts but cannot connect to the SSE server
Confirm the HTTP SSE server is running and accessible at the URL you specified. Test it directly with curl: `curl http://localhost:8808/`. Ensure firewall rules allow the connection.
npx command not found or incorrect binary path
Claude Desktop requires the full path to npx in some environments. Replace `npx` with the absolute path from `which npx` (e.g. /usr/local/bin/npx) in your config.
Tools from the remote server do not appear in Claude Desktop
Check that the remote server implements the MCP SSE transport correctly and responds to the gateway's capability negotiation requests. Review the gateway logs for connection errors.
Frequently Asked Questions about MCP Gateway
What is MCP Gateway?
MCP Gateway is a Model Context Protocol (MCP) server that mcp stdio to http sse transport gateway with example server and mcp client It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP Gateway?
Follow the installation instructions on the MCP Gateway GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP Gateway?
MCP Gateway works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP Gateway free to use?
Yes, MCP Gateway is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
MCP Gateway Alternatives — Similar Developer Tools Servers
Looking for alternatives to MCP Gateway? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP Gateway in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP Gateway?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.