vpn-bypass-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
vpn-bypass-mcp is an MCP server for VPN Bypass, the macOS menu bar app that decides which traffic uses the VPN and which goes around it. An AI agent uses it to read the app's state and change its routing through the app's local control socket. It runs on macOS only.
Features
23 tools, one per app action: status, domain lists, services, routing mode, kernel routes, DNS refresh, the log, and Custom-mode routes and rules. Each has a display title.
Every tool returns the app's own JSON unchanged, as text and as
structuredContent; the 8 read tools also declare anoutputSchema.All four MCP hints on every tool. Every tool that changes where traffic goes is
destructiveHint: true, adds included, so a client that confirms destructive calls asks you before an injected "route this through my proxy";custom_add_routeandcustom_update_routeare alsoopenWorldHint: true.set_modesends nothing when the app is already in the asked-for mode.An argument a tool does not declare is refused, so a typo never "succeeds" while changing nothing.
Three prompts:
diagnose_site,bypass_site,rotate_proxy_port.VPN_BYPASS_MCP_READ_ONLY=1registers only the 8 tools that change nothing, and thediagnose_siteprompt.A proxy password travels in a separate field and is never returned, echoed or logged. Errors name the socket as
control.sock, never your home folder.stdio only; the server opens no network port.
Related MCP server: mac-audio-router-mcp
Protocol
MCP 2026-07-28 (server/discover, per-request _meta, cache hints on lists) and every earlier revision down to 2024-11-05 (the initialize handshake), from the same binary. Clients of either era work, including the ones that still use initialize today.
Install
VPN Bypass must be open. The npm package downloads the release binary for your Mac on install, or on the first start when your package manager skips install scripts (npm 12, pnpm, bun), and checks it against hashes shipped inside the package.
Claude Code:
claude mcp add --transport stdio vpn-bypass -- npx -y vpn-bypass-mcpClaude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json) and Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"vpn-bypass": {
"command": "npx",
"args": ["-y", "vpn-bypass-mcp"]
}
}
}VS Code (.vscode/mcp.json):
{
"servers": {
"vpn-bypass": {
"type": "stdio",
"command": "npx",
"args": ["-y", "vpn-bypass-mcp"]
}
}
}Codex (~/.codex/config.toml):
[mcp_servers.vpn-bypass]
command = "npx"
args = ["-y", "vpn-bypass-mcp"]Read-only: add VPN_BYPASS_MCP_READ_ONLY=1 to the server's environment ("env": {"VPN_BYPASS_MCP_READ_ONLY": "1"} in JSON, env = { VPN_BYPASS_MCP_READ_ONLY = "1" } in Codex, -e VPN_BYPASS_MCP_READ_ONLY=1 before the name in claude mcp add). The release binaries and building from source are in Getting started.
Tools
Group | Tools | Read only |
State and log |
| yes |
Mode |
| |
Domain lists |
| |
Services |
| |
Kernel routes |
| |
Custom-mode routes |
| |
Custom-mode rules |
|
The domain, service, active-route, refresh and log tools need VPN Bypass 4.9.0 or newer; status, set_mode and the Custom-mode tools work with older versions. Arguments, hints and the socket command of each tool are in Usage.
Documentation
The full documentation is at geiserx.github.io/vpn-bypass-mcp.
Getting started: requirements, npm, release binary, source, first run
Configuration: environment variables, read-only mode, timeouts, security
Usage: modes, the two kinds of route, every tool, errors
Development: build, test, release
Related projects: the VPN Bypass app, its
vpnbcommand line, and where this server is listed
Related projects
VPN Bypass, the app, and its Homebrew tap.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Reach your own computers from any AI app: files, search, commands, approvals and outage alerts.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to read live macOS processes and identify monitoring software, including Chinese enterprise EDR/DLP/MDM tools, through a read-only MCP server.52MIT
- AlicenseAqualityDmaintenanceEnables AI agents to manage macOS audio routing, device switching, volume control, and multi-zone playback.16MIT
- AlicenseBqualityAmaintenanceEnables AI agents to directly access native macOS services, media, system health, and administration tools through a local MCP server.4020 npm1MIT
- FlicenseBqualityAmaintenanceEnables ChatGPT Web to securely control a trusted local computer through an OpenAI Secure MCP Tunnel, letting it perform file, process, Git, and other system operations on Windows, macOS, and Linux.62-