MCP Gateway

v1.0.0Developer Toolsstable

An MCP stdio to HTTP SSE transport gateway with example server and MCP client

and-gwmcpai-integration
Share:
89
Stars
0
Downloads
0
Weekly
0/5

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

Bridge MCP stdio to HTTP SSE transport.
boilingdata

Maintainer

LicenseMIT
Languagejavascript
Versionv1.0.0
UpdatedApr 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx and-gw

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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.js
2

Identify 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.

3

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.

4

Restart Claude Desktop

Save the configuration file and restart Claude Desktop. The gateway process will start automatically and connect to your SSE server.

5

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.

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.

Quick Config Preview

{ "mcpServers": { "and-gw": { "command": "npx", "args": ["-y", "and-gw"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides