MCP.so
登录

MCP Bridge

@EvalsOne

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

EvalsOne

关于 MCP Bridge

Enables cloud-based AI services to access local Stdio based MCP servers via HTTP requests

MCP Bridge 配置

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

{
  "mcpServers": {
    "MCP-bridge": {
      "command": "python",
      "args": [
        "build.py"
      ]
    }
  }
}

MCP Bridge 工具

工具列表暂未提供

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

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Connect?

MCP Connect is an HTTP gateway that exposes local MCP servers (which speak stdio) as HTTP APIs, supporting both Streamable HTTP and a classic request/response bridge. It is intended for developers who need to connect remote cloud AI tools to local MCP servers.

How to use MCP Connect?

Install dependencies, copy .env.example to .env, set ACCESS_TOKEN, configure MCP servers in mcp-servers.json, then run npm run build && npm start. Access the server at http://localhost:3000/health to verify status. Use POST /mcp/:serverId for Streamable HTTP mode or POST /bridge for the classic bridge, both requiring a Bearer token.

Key features of MCP Connect

  • Dual HTTP modes: Streamable HTTP and classic request/response bridge
  • Session management for conversational continuity
  • Bearer token authentication and CORS allowlist
  • Built-in Ngrok tunnel for public endpoint exposure
  • One‑click deploy to E2B cloud sandbox

Use cases of MCP Connect

  • Expose a local MCP‑based coding assistant to a cloud AI chat interface
  • Integrate MCP tool servers (e.g., fetch) into remote applications via HTTP
  • Run untrusted MCP servers safely inside an isolated E2B sandbox

常见问题

1

What are the two modes and how do they differ?

Streamable HTTP mode (route `/mcp/:serverId`) is a standard protocol compatible with any MCP client that supports Streamable HTTP. The classic bridge mode (`/bridge`) is a non‑standard JSON‑RPC endpoint where you call methods like `tools/list` or `tools/call` directly.

2

What are the runtime dependencies?

Node.js >= 22.0.0 is recommended. The package is built with TypeScript and uses npm or yarn for dependency management.

3

Where does configuration data live?

Authentication tokens and allowed origins are stored in a `.env` file. MCP server definitions are stored in a `mcp-servers.json` file. Session data is managed in memory by the session manager.

4

Are there any known limits?

The README does not explicitly mention limits. Allowed origins can be restricted via the `ALLOWED_ORIGINS` environment variable. The server exits at startup if `ACCESS_TOKEN` is empty.

5

What transport and authentication are supported?

The server uses HTTP as its transport. Authentication is done via Bearer tokens passed in the `Authorization` header; the token is required and must be set as `ACCESS_TOKEN` in `.env`. CORS is enforced via `ALLOWED_ORIGINS`.

评论

开发工具 分类下的更多 MCP 服务器