MCP Connect logo

MCP Connect

by EvalsOne

MCP Connect is a tool designed to bridge the gap between cloud-based AI services and local Stdio-based Model Context Protocol (MCP) servers. It enables cloud integration by converting HTTP/HTTPS requests to Stdio communication, providing secure access to local resources and tunnel.

View on GitHub

Last updated: N/A

What is MCP Connect?

MCP Connect is a Node.js-based tool that acts as a bridge between cloud-based AI services and local MCP servers that use Stdio transport. It translates HTTP/HTTPS requests from the cloud into Stdio communication understood by the local MCP server, allowing remote access and utilization.

How to use MCP Connect?

First, clone the repository and configure the .env file with the necessary environment variables (PORT, AUTH_TOKEN, NGROK_AUTH_TOKEN if using Ngrok). Then, install dependencies using npm install. Finally, build and run the bridge using npm run build and npm run start (or npm run dev for development mode). You can then access the /bridge endpoint with the appropriate authentication headers and request body. Furthermore, MCP Connect has built-in support for Ngrok tunnel, enabling the use of a public URL.

Key features of MCP Connect

  • Cloud Integration

  • Protocol Translation (HTTP/HTTPS to Stdio)

  • Token-based Authentication

  • Built-in Ngrok Tunnel Support

Use cases of MCP Connect

  • Connecting cloud-based AI agents to local MCP servers

  • Remotely accessing local resources through an MCP server

  • Securely managing access to local MCP services

  • Developing cloud-aware MCP applications without modifying local server implementations

FAQ from MCP Connect

What is MCP?

MCP stands for Model Context Protocol. More information is available from Anthropic.

What is the purpose of MCP Connect?

MCP Connect allows cloud based tool to connect to local MCP servers

Do I need to modify my MCP server to use MCP Connect?

No, MCP Connect is designed to work with existing MCP servers without requiring any modifications.

How do I secure MCP Connect?

MCP Connect uses token-based authentication. Set the AUTH_TOKEN environment variable to a secure value.

Is Ngrok tunnel required?

No, Ngrok tunnel is optional. Although it enables one click access to the MCP bridge, you can use other tunnel solutions (Cloudflare tunnel, etc.)