MCP Connect logo

MCP Connect

by EvalsOne

MCP Connect bridges the gap between cloud-based AI services and local Stdio-based MCP servers by converting HTTP/HTTPS requests to Stdio communication. It enables secure and flexible access to local resources without modifying the MCP server implementation.

View on GitHub

Last updated: N/A

What is MCP Connect?

MCP Connect is a tool that enables cloud-based AI services to interact with local Stdio based Model Context Protocol (MCP) servers. It acts as a bridge, translating HTTP/HTTPS requests from the cloud into Stdio communication that the local MCP server can understand.

How to use MCP Connect?

To use MCP Connect, clone the repository, configure the .env file with the necessary settings (port, auth token, Ngrok token if needed), install dependencies using npm install, build the project using npm run build, and then run it using npm run start or npm run dev. You can then access the bridge via http://localhost:<port>/bridge. For cloud access, you'll need to set up a tunnel using tools like Ngrok, Cloudflare Zero Trust, or LocalTunnel.

Key features of MCP Connect

  • Cloud Integration

  • Protocol Translation (HTTP/HTTPS to Stdio)

  • Security (token-based authentication)

  • Flexibility (supports various MCP servers)

  • Easy to use (minimal configuration)

  • Built-in Ngrok tunnel support

Use cases of MCP Connect

  • Connecting cloud-based AI tools to local MCP servers

  • Enabling remote access to local resources for AI processing

  • Integrating local MCP tools into cloud workflows

  • Securely exposing local MCP servers to the internet

FAQ from MCP Connect

What is MCP?

MCP stands for Model Context Protocol, introduced by Anthropic.

Why do I need MCP Connect?

If you want to use a local Stdio-based MCP server with cloud-based AI services, MCP Connect provides the necessary bridge.

How do I secure MCP Connect?

MCP Connect uses a token-based authentication system. Configure the AUTH_TOKEN environment variable to enable authentication.

What is Ngrok and how do I use it with MCP Connect?

Ngrok is a tool that creates a secure tunnel to your local machine. MCP Connect has built-in support for Ngrok. Set the NGROK_AUTH_TOKEN environment variable and use the npm run start:tunnel or npm run dev:tunnel commands.

What are the API endpoints?

MCP Connect exposes two endpoints: GET /health for health checks and POST /bridge for the main bridge functionality.