MCP Gateway, Server, and Client
@boilingdata
About MCP Gateway, Server, and Client
An MCP stdio to HTTP SSE transport gateway with example server and MCP client
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-and-gw": {
"command": "npx",
"args": [
"mcp-server-and-gw",
"http://localhost:8808/"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is MCP Gateway, Server, and Client?
A bridge that converts MCP’s stdio transport to HTTP Server-Sent Events (SSE), enabling Claude Desktop (which only supports stdio) to connect to remote MCP servers. Aimed at developers building or testing MCP-based tools and resources.
How to use MCP Gateway, Server, and Client?
Install globally with npm install -g mcp-server-and-gw or run directly via npx mcp-server-and-gw http://localhost:8808/. Configure Claude Desktop by adding an entry to claude_desktop_config.json that calls the gateway with the remote server’s URL. Start your own SSE server on the specified port.
Key features of MCP Gateway, Server, and Client
- Bridges stdio to HTTP SSE transport for MCP.
- Includes example server and client implementations.
- Works with MCP Inspector for testing and debugging.
- Allows independent SSE server development.
Use cases of MCP Gateway, Server, and Client
- Connect a remote MCP server to Claude Desktop.
- Develop and test MCP SSE servers without Claude Desktop.
- Use MCP Inspector to verify gateway and server interactions.
FAQ from MCP Gateway, Server, and Client
Why do I need this gateway?
Claude Desktop currently only supports stdio transport. This gateway lets you connect to remote SSE-based MCP servers by bridging the two transports.
How do I install and run the gateway?
Install via npm globally or run with npx: npx mcp-server-and-gw http://localhost:8808/. You can also use environment variables MCP_HOST and MCP_PORT.
What are the runtime requirements?
Node.js is required. The gateway script is JavaScript, but your own MCP server can be written in any language.
How do I configure Claude Desktop to use the gateway?
Add an entry to your claude_desktop_config.json with the command npx and arguments ["mcp-server-and-gw", "http://localhost:8808/"]. Ensure npx is in your PATH.
How can I test the gateway and server?
Start the example server on port 8808, then run the gateway with the same URL. You can also use MCP Inspector by running npx @modelcontextprotocol/inspector node ./build/mcp-server-and-gw.js after pointing the inspector at your running server.
Frequently asked questions
Why do I need this gateway?
Claude Desktop currently only supports stdio transport. This gateway lets you connect to remote SSE-based MCP servers by bridging the two transports.
How do I install and run the gateway?
Install via npm globally or run with npx: `npx mcp-server-and-gw http://localhost:8808/`. You can also use environment variables `MCP_HOST` and `MCP_PORT`.
What are the runtime requirements?
Node.js is required. The gateway script is JavaScript, but your own MCP server can be written in any language.
How do I configure Claude Desktop to use the gateway?
Add an entry to your `claude_desktop_config.json` with the command `npx` and arguments `["mcp-server-and-gw", "http://localhost:8808/"]`. Ensure npx is in your PATH.
How can I test the gateway and server?
Start the example server on port 8808, then run the gateway with the same URL. You can also use MCP Inspector by running `npx @modelcontextprotocol/inspector node ./build/mcp-server-and-gw.js` after pointing the inspector at your running server.
Basic information
More Other MCP servers
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Comments