MCP.so
登录

MCP Gateway, Server, and Client

@boilingdata

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

boilingdata

关于 MCP Gateway, Server, and Client

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

MCP Gateway, Server, and Client 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-and-gw": {
      "command": "npx",
      "args": [
        "mcp-server-and-gw",
        "http://localhost:8808/"
      ]
    }
  }
}

MCP Gateway, Server, and Client 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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.

常见问题

1

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.

2

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

3

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.

4

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.

5

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.

评论

其他 分类下的更多 MCP 服务器