Skip to main content
Glama

VPN Gate MCP Server

An MCP (Model Context Protocol) server that provides automatic VPN rotation via VPN Gate. Designed for authorized penetration testing workflows where IP rotation is needed to avoid WAF/rate-limit blocking.

Features

  • list_servers — Fetch and rank available VPN Gate servers by speed, with optional country filter

  • connect — Connect to a VPN Gate server (fastest by default, or specify country/IP)

  • disconnect — Disconnect the current VPN connection

  • check_ip — Check current public IP and VPN connection status

  • auto_rotate — One-click IP rotation: disconnect → pick new server → connect (avoids blocked IPs)

Related MCP server: BugBounty MCP Server

Requirements

  • Node.js >= 18

  • OpenVPN client installed (openvpn command available)

  • Root/sudo access (OpenVPN requires elevated privileges)

  • curl for IP checking

Installation

From Source

git clone https://github.com/vito1317/vpngate-mcp-server.git
cd vpngate-mcp-server
npm install
npm run build

Docker

docker build -t vpngate-mcp-server .

MCP Configuration

Claude Desktop / Cowork (stdio mode)

Add to your MCP settings:

{
  "mcpServers": {
    "vpngate": {
      "command": "node",
      "args": ["/path/to/vpngate-mcp-server/dist/index.js"]
    }
  }
}

Docker (stdio mode)

{
  "mcpServers": {
    "vpngate": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "--cap-add=NET_ADMIN",
        "--device=/dev/net/tun",
        "vpngate-mcp-server"
      ]
    }
  }
}

Note: --cap-add=NET_ADMIN and --device=/dev/net/tun are required for OpenVPN to create tunnel interfaces.

With cve-hunter Plugin (Bolt MCP)

If using alongside the cve-hunter plugin with Bolt:

{
  "mcpServers": {
    "bolt": {
      "command": "docker",
      "args": ["exec", "-i", "bolt", "node", "/app/mcp-filter.js"]
    },
    "vpngate": {
      "command": "node",
      "args": ["/path/to/vpngate-mcp-server/dist/index.js"]
    }
  }
}

Usage Examples

List available servers

Use the list_servers tool to show top VPN Gate servers.
Filter by country: list_servers with country="JP"

Connect to fastest server

Use the connect tool to connect to the fastest available VPN server.
Or specify a country: connect with country="US"

Auto-rotate when blocked

When WAF blocking is detected (HTTP 403/429), use auto_rotate to:
1. Disconnect current VPN
2. Pick a new fast server (avoiding the blocked IP)
3. Connect automatically

Pentest workflow

1. Start scan → detect WAF block (403/429)
2. auto_rotate (avoid_ip="blocked.ip.address")
3. Verify new IP with check_ip
4. Resume scanning with reduced intensity

Security Notice

This tool is designed for authorized penetration testing only. Always ensure you have written authorization before scanning any target. Unauthorized access to computer systems is illegal.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      An automated penetration testing framework that enables intelligent security assessments through reconnaissance, vulnerability scanning, and controlled exploitation. Features AI-driven workflow management with comprehensive reporting for authorized security testing.
      27
      7
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables automated bug bounty hunting and security research with tools for reconnaissance, web vulnerability scanning, API testing, binary analysis, and mobile app analysis through an MCP interface.
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables authorized penetration testers to run reconnaissance, web fuzzing, vulnerability scanning, brute-force/password cracking, traffic capture, privilege-escalation audits, wordlist generation, and client-report workflows over stdio, HTTP, or SSE with optional bearer/OIDC authentication.
      157 npm
      GPL 3.0
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables professional penetration testers to run reconnaissance, vulnerability scanning, brute-force checks, traffic capture, exploitation support, and report generation through a unified tool interface. Supports local and networked transports with bearer/OIDC authentication.
      157 npm
      GPL 3.0