MCP for AI agents

proxvn mcp runs a Model Context Protocol server over stdio. AI coding agents can call it to open tunnels on their own — for example when they need a public URL to test a webhook.

Tools

ToolWhat it does
start_tunnelOpen an http/tcp/udp tunnel for a port and return the public URL
list_tunnelsList open tunnels
stop_tunnelClose a tunnel by id
check_local_portCheck a TCP connection to the local app; this does not verify that a UDP service works
server_statusProxVN server status

Claude Code

$claude mcp add proxvn -- proxvn mcp

Cursor / Claude Desktop / other clients

{
  "mcpServers": {
    "proxvn": { "command": "proxvn", "args": ["mcp"] }
  }
}

In 9.x, MCP-created tunnels are anonymous; MCP does not forward the API key saved by proxvn login. Use the regular CLI for account-linked tunnels and reserved names. For a self-hosted server, add "--server", "tunnel.example.com:8882", "--cert-pin", "VERIFIED_SHA256_PIN" after "mcp" in args; see how to obtain your server's pin.

Tunnels are public. Only let agents expose development apps, never services holding real data.