Connect your agent
The tunnelto MCP server lets a coding agent open public URLs for you. You sign in once in the browser; that creates your tunnelto account if you don't have one. The agent then installs and signs in the CLI and opens tunnels on its own.
Fastest: ask your agent
Paste this into Claude Code, Codex, or any coding agent:
Or connect it yourself
[Any agent (npx)][Claude Code][Codex][Cursor][VS Code][Grok][Claude app (web and desktop)][Other MCP clients]
npx add-mcp https://tunnelto.dev/mcp --name tunneltoclaude mcp add --transport http --scope user tunnelto https://tunnelto.dev/mcp/mcpcodex mcp add tunnelto --url https://tunnelto.dev/mcpcodex mcp login tunneltocode --add-mcp '{"name":"tunnelto","type":"http","url":"https://tunnelto.dev/mcp"}'grok mcp add --transport http tunnelto https://tunnelto.dev/mcphttps://tunnelto.dev/mcphttps://tunnelto.dev/mcpAfter you sign in
Tell your agent Test tunnelto end to end. It checks your plan, installs the CLI, signs it in with a one-time link (your access key never appears in the chat), serves a small demo page, opens a tunnel to it, and checks the public URL works. New accounts get a free trial; when a feature needs the paid plan, the agent gives you a checkout link.
After that, just ask in plain language:
- >Test tunnelto end to end
- >Give me a public URL for my app on port 3000
- >Expose localhost:8080 at acme-staging.tunn.dev
- >I need a Stripe webhook URL that reaches localhost:4242/webhooks
- >Which tunnels are running?
- >Close the tunnel on port 3000
Server URL: https://tunnelto.dev/mcp. Manage your account at tunnelto.dev/dashboard.