tunnel

self-hosted · MCP-driven

Give any agent a public HTTPS URL for a local port — like cloudflared tunnel --url, but on *.tunnel.pavlin.dev, with your own control plane and an MCP server.

Connect an agent

Add this MCP endpoint. In claude.ai just paste the URL — it logs you in via OAuth. In a CLI pass a bearer token from the admin page. Then call create_tunnel.

# MCP endpoint (Streamable HTTP, JSON-RPC 2.0) — also at /api/mcp
https://www.randomxyz789notunnel.tunnel.pavlin.dev/mcp

# claude.ai connector: paste the URL → OAuth login (no manual token)
# CLI: Authorization: Bearer <api-token from /admin>
# Tools: create_tunnel · list_tunnels · get_tunnel · stop_tunnel