openai

    openai/tunnel-client

    Customer-run client for Secure MCP Tunnel: connect private or localhost MCP servers to ChatGPT, Codex, the Responses API, and AgentKit without exposing them to the public internet.

    ai-agents
    ai
    cli
    agentic
    agentic-ai
    agentic-workflow
    chatgpt
    codex
    Go
    Apache-2.0
    618 stars
    136 forks
    7 GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 6 days ago, with 2 contributors on GitHub.

    Peaked at #25 in the weekly ranking the week of Oct 4, its best in the past year.

    Use Cases & Benefits

    • Connects private or localhost MCP servers securely to OpenAI services like ChatGPT and Codex without exposing them to the public internet.
    • Enables secure, customer-run tunneling that avoids inbound firewall changes and public endpoints while providing operator-visible health and metrics.
    • Use for securely connecting a local MCP server on a developer laptop to ChatGPT for testing AI integrations without public exposure.
    • Use for deploying MCP servers in private Kubernetes clusters and securely linking them to OpenAI APIs without opening network ingress.
    • Use for embedding MCP servers directly in Go applications with in-memory transports to integrate with OpenAI tunnels programmatically.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    tunnel-client is the customer-run agent behind Secure MCP Tunnel. It connects a private or localhost MCP (Model Context Protocol) server to ChatGPT, Codex, the Responses API, and AgentKit through an OpenAI-hosted MCP tunnel endpoint, while keeping the MCP server off the public internet.

    If you searched for "secure MCP tunnel", "MCP tunnel ChatGPT", "connect local MCP server to ChatGPT", "connect local MCP server to Codex", "localhost to ChatGPT", or "Codex local MCP", start with tunnel-client help quickstart, then read the onboarding guide below.

    The module can run in the same process as a Go MCP server. The MCP server does not need to bind a port or use stdio: give the server side of an in-memory MCP transport pair to your server and the client side to tunnelclient.New.

    The runnable Go SDK example registers an echo tool and connects it to the OpenAI Tunnel control plane.

    Excerpt from the openai/tunnel-client README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 27: +7Aug 28: +0Aug 29: +7Sep 20: +16Sep 21: +18Sep 22: +8Sep 23: +10Sep 24: +4Sep 25: +5Sep 26: +6Sep 27: +7Sep 28: +3Oct 3: +6Oct 4: +1Oct 5: +2Oct 6: +1Oct 7: +9Oct 8: +1Oct 12: +1

    +310 stars over 72 days across 26 snapshot days; best day +18 on Sep 21.

    Forks

    136+77

    Open issues

    13+2

    Compared with peers in AI Agents

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    openai/tunnel-client compared with AI Agents repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vercel-labs/agent-desktop17.0K+13.3K33today
    thedotmack/claude-mem113.6K+8.8K35today
    stablyai/orca116.8K+6.6K40today
    milind-soni/OpenMausBot13.5K+6.0K45today
    HKUDS/DeepTutor55.5K+5.5K655 days ago
    openai/tunnel-client618—346 days ago
    Category median55.5K+6.6K40—

    Also by openai

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description