Give AI access to your

Expose your local MCP servers to any AI client over the internet. One command, one URL, all your tools.

$ curl -L github.com/.../mcptunnel -o mcptunnel

WORKS WITH YOUR FAVORITE AI

ChatGPT

Web & Desktop

Claude

Desktop & Mobile

Claude Code

CLI & IDE

Cursor

AI Code Editor

One tunnel. Four superpowers.

Everything you need to expose local MCP servers remotely

Auto-Discovery

Detect
  • Scans Claude Desktop, Cursor, and Continue configs
  • Finds all your local MCP server definitions
  • Custom servers via ~/.mcptunnel/servers.json
  • Zero configuration required
mcptunnel start --source claude

Aggregation

Combine
  • Merges tools from multiple MCP servers
  • Prefixed namespaces prevent collisions
  • Unified resources and prompts
  • Single endpoint for all servers
server__toolName

Secure Tunnel

Connect
  • Cloudflare tunnel with OAuth authentication
  • Works behind firewalls and NAT
  • No port forwarding required
  • Quick or named tunnel support
mcptunnel start --quick-tunnel

Credential Guard

Protect
  • Detects tokens, keys, and secrets in env vars
  • Warns before exposing sensitive servers
  • Safe-only mode skips risky servers
  • Graceful process lifecycle management
mcptunnel start --safe-only

Works with any stack

mcpTunnel is language and framework agnostic

React
Next.js
Vue
Nuxt
Svelte
Node.js
Python
Go
Rust
Java
Ruby
PHP
Docker
K8s
AWS
GCP

Built for developers who ship fast

Stop copy-pasting between AI and your terminal. Let them talk directly.

Zero Config

Auto-discovers MCP servers from your existing Claude Desktop, Cursor, and Continue configs. Just run mcptunnel start.

Secure by Default

Credential detection warns about exposed secrets. OAuth 2.0 authentication. Cloudflare tunnel encryption. --safe-only to skip risky servers.

Works Everywhere

Any MCP-compatible client: ChatGPT, Claude Desktop, Claude Code, Cursor, and more. One tunnel serves them all.

Multi-Server Aggregation

Combines tools, resources, and prompts from all your MCP servers into a single endpoint with prefixed namespaces.

MCP Spec Compliant

Streamable HTTP transport implementing the MCP 2025-03-26 specification. JSON-RPC over HTTP with session management.

Graceful Lifecycle

Clean process spawning via stdio. SIGINT/SIGTERM handlers. Automatic child process cleanup. Cross-platform builds.

Three steps. That's it.

From zero to remote MCP access in under a minute

1

Download from GitHub Releases

github.com/appsecsanta/mcp-tunnel/releases
2

Start — discovers and aggregates your MCP servers

mcptunnel start
3

Connect any MCP client to the tunnel URL

https://api.mcptunnel.sh/mcp

See it in action

One command discovers, aggregates, and tunnels your MCP servers

$ mcptunnel start
Discovering MCP servers...
✓ claude: filesystem, git, postgres
✓ cursor: typescript-tools
⚠ mcptunnel: docker-mcp (has credentials, use --safe-only to skip)
Aggregating 5 servers → 23 tools, 4 resources
filesystem__read_file, git__log, postgres__query, ...
HTTP server: http://127.0.0.1:3000/mcp
Tunnel ready: https://api.mcptunnel.sh/mcp