EveryDev.ai
Subscribe
Home
Tools

5,179+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2651
  • Coding1951
  • Infrastructure911
  • Projects728
  • Research651
  • MCP627
  • Analytics503
  • Marketing497
  • Design426
  • Testing416
  • Data380
  • Security334
  • Integration262
  • Communication252
  • Prompts252
  • Extensions222
  • Voice172
  • Commerce171
  • DevOps171
  • Web123
  • Learning114
  • Finance35
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai Β©
    1. Home
    2. Tools
    3. mcptunnels
    mcptunnels icon

    mcptunnels

    MCP Servers

    Give a local MCP server a public URL with one command β€” no accounts, no signup, with OAuth 2.1 protection and 24-hour ephemeral tunnels.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under Apache 2.0. Includes the mcptunnel CLI and self-hostable tunneld relay. The default public relay at tunnel.mcptunnels.xyz is free and best-effort.

    Engagement

    Available On

    macOS
    Linux
    Web
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    MCP ServersMCP ToolsMCP Integration

    Alternatives

    mcp2cliMCP InspectorCrystal
    Developer
    Terra GohanTerra Gohan builds open-source developer tools focused on th…

    Listed Sep 2026

    About mcptunnels

    mcptunnels is an open-source CLI tool that exposes local MCP (Model Context Protocol) servers to the public internet in a single command. Built by Terra Gohan and licensed under Apache 2.0, it bridges stdio MCP servers to Streamable HTTP and prints a public URL β€” no deployment, no accounts, no configuration files required. The project reached v1 in August 2026 and is actively developed as a spare-time project.

    What It Is

    mcptunnels is a purpose-built tunneling tool for the MCP ecosystem. Unlike generic tunnels such as ngrok or cloudflared that forward raw TCP/HTTP traffic, mcptunnels understands the MCP protocol: it spawns any stdio MCP server, bridges it to Streamable HTTP, and creates an ephemeral public URL through a hosted relay at tunnel.mcptunnels.xyz. The core use cases are connecting remote MCP clients (Claude, ChatGPT, Cursor) to a locally running server, demoing an MCP server to a teammate without deploying anything, and testing a server against a real client during development.

    How the Tunnel Architecture Works

    The tool operates through an outbound WebSocket connection so no inbound ports are required and it works behind NAT:

    • mcptunnel expose asks the relay (tunneld) for a quick tunnel and receives an ephemeral tenant plus an agent key
    • It spawns the specified command and bridges stdio to loopback HTTP
    • The agent dials outbound to tunneld via WebSocket + yamux β€” no inbound ports needed
    • tunneld reverse-proxies public HTTPS requests over that connection to the local process

    The relay component (tunneld) is a self-hostable single binary backed by SQLite with ACME TLS support, deployable via Docker or bare-metal. The data plane is covered by end-to-end tests including WebSocket + yamux proxy, stdio bridge, SSE streaming, and automatic reconnect.

    Security Model

    All tunnels are OAuth 2.1-protected by default. When a tunnel is created, the CLI generates a password; MCP clients like ChatGPT, Claude, and Cursor discover the OAuth flow automatically and prompt for that password. The --no-auth flag creates open URLs with no authentication. Key security properties:

    • Tunnels expire after 24 hours automatically; Ctrl-C deletes the tunnel server-side immediately
    • All traffic transits the relay operator β€” the project explicitly warns to expose throwaway servers only, never private data
    • A managed bearer token registry (mcptunnel token add/list/remove) handles long-lived credentials without putting secrets on the command line

    CLI Capabilities

    Beyond the basic expose command, mcptunnels supports several modes:

    • Expose a remote HTTP MCP server: mcptunnel expose --url https://api.example.com/mcp points the tunnel at an existing Streamable HTTP endpoint
    • Reverse bridge: mcptunnel run --url <url> bridges a remote Streamable HTTP MCP server to local stdio, so stdio-only clients can consume remote servers
    • Header injection: --header "Authorization: Bearer $KEY" (repeatable) forwards credentials to upstream servers
    • Token registry: Register tokens once per upstream; expose and run pick them up automatically from the OS config directory

    Prebuilt binaries are available for Linux and macOS (amd64/arm64) via GitHub Releases, and the tool can also be installed with go install (requires Go 1.26+).

    Update: v1 and Roadmap

    The project shipped v1 on August 25, 2026, covering anonymous quick tunnels, OAuth 2.1 by default, 24h TTL with a janitor sweeping expired tenants, a self-hostable tunneld, and an end-to-end tested data plane. The roadmap β€” explicitly ordered by real user pain with no fixed dates β€” targets permanent named tunnels with stable URLs and minimal identity next, followed by a stdio-to-HTTP framework for scaling MCP servers as Streamable HTTP services, and later pluggable identity providers and audience isolation. The project explicitly rules out generic TCP/HTTP tunneling and a billing-backed hosted SaaS as non-goals, keeping the default public relay free and best-effort while self-hosting remains a first-class path.

    mcptunnels - 1

    Community Discussions

    Be the first to start a conversation about mcptunnels

    Share your experience with mcptunnels, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source under Apache 2.0. Includes the mcptunnel CLI and self-hostable tunneld relay. The default public relay at tunnel.mcptunnels.xyz is free and best-effort.

    • Anonymous quick tunnels with one command
    • OAuth 2.1 protection by default
    • 24-hour ephemeral tunnel TTL
    • Self-hostable tunneld relay
    • stdio to Streamable HTTP bridging

    Capabilities

    Key Features

    • One-command tunnel creation: mcptunnel expose -- <cmd>
    • stdio to Streamable HTTP bridging
    • OAuth 2.1 protection by default with CLI-generated password
    • 24-hour ephemeral tunnels with automatic expiry
    • Ctrl-C immediate server-side tunnel deletion
    • No accounts or signup required
    • Self-hostable relay (tunneld) as single binary + SQLite
    • ACME TLS support for self-hosted relay
    • Docker and bare-metal deployment for tunneld
    • Expose remote HTTP MCP servers via --url flag
    • Reverse bridge: mcptunnel run bridges remote HTTP MCP to local stdio
    • Header injection for upstream credentials
    • Managed bearer token registry per upstream URL
    • Auto-refresh and on-demand token minting
    • -no-auth flag for open unauthenticated URLs
    • WebSocket + yamux proxy for outbound-only connections (NAT-friendly)
    • SSE streaming and automatic reconnect
    • End-to-end tested data plane
    • Prebuilt binaries for Linux/macOS amd64/arm64
    • Go install support (Go 1.26+)

    Integrations

    Claude
    ChatGPT
    Cursor
    Claude Code
    Any stdio MCP server
    Any Streamable HTTP MCP server
    Docker
    Cloudflare Workers (planned)
    GitHub OAuth (planned)
    Google OAuth (planned)
    Enterprise OIDC (planned)
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate mcptunnels and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Terra Gohan

    Terra Gohan builds open-source developer tools focused on the MCP (Model Context Protocol) ecosystem. The mcptunnels project provides ephemeral, OAuth-protected public URLs for local MCP servers with no accounts or configuration required. The project is developed as a spare-time effort and is licensed under Apache 2.0.

    1 employees
    Read more about Terra Gohan
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    mcp2cli icon

    mcp2cli

    A CLI tool that converts MCP (Model Context Protocol) servers into command-line interfaces, enabling direct terminal access to MCP server capabilities.

    MCP Inspector icon

    MCP Inspector

    A developer tool for visually testing and debugging MCP servers, featuring a React-based web UI and a Node.js proxy that bridges browser-based interaction with MCP servers.

    Crystal icon

    Crystal

    Crystal is an MCP server that provides AI assistants with access to macOS system information and controls.

    Browse all tools

    Related Topics

    MCP Servers

    Model Context Protocol servers that extend AI capabilities.

    381 tools

    MCP Tools

    Tools built with the Model Context Protocol for specific tasks.

    131 tools

    MCP Integration

    Tools for integrating MCP with existing AI systems and applications.

    149 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    8views