Purpose: MCP Connect is a lightweight bridging tool that exposes local MCP servers communicating via stdio as an HTTP API, enabling cloud AI services to call local MCP servers through HTTP requests.
Main capabilities: Provides two modes. Mode one is Streamable HTTP bridging, compatible with any MCP client that supports Streamable HTTP, with each MCP server assigned a unique route; mode two is classic request/response bridging, requiring you to implement methods such as tools/list and tools/call yourself. Supports MCP methods such as tools, prompts, resources, completion, and logging. Provides a health check endpoint /health (no authentication required). Supports public exposure via Ngrok, and also provides an E2B sandbox quick deployment script and configuration.
Usage: Requires Node.js >= 22.0.0. Before startup, ACCESS_TOKEN must be set in .env; if it is empty, startup fails. You must first configure mcp-servers.json to add MCP servers, otherwise the service is unavailable. After startup, visit http://localhost:3000/health to check status. Streamable HTTP mode uses POST /mcp/:serverId, and must carry Authorization: Bearer <token> and Accept: application/json, text/event-stream, with optional mcp-session-id to reuse a session. Classic mode request headers must include Authorization: Bearer <token> and Content-Type: application/json. In production, ALLOWED_ORIGINS can be set to restrict cross-origin access. For the Ngrok method, add NGROK_AUTH_TOKEN in .env and run npm run start:tunnel. E2B deployment requires building a sandbox template and then starting from the template. Logs are output to combined.log and error.log, and LOG_LEVEL can be used to control the level of detail.
Applicable scenarios: Allow cloud AI services to securely access local MCP servers; run untrusted MCP servers in an isolated E2B sandbox.
Limitations: ACCESS_TOKEN and mcp-servers.json must be configured; in Streamable HTTP mode, each MCP server must be configured separately; specific deployment details and complete configuration are subject to the repository documentation, and the materials do not provide pricing or platform support scope.