VPN Bypass
io.github.GeiserX由 GitHub 帳號 GeiserX 發布v0.2.0更新於 Oct 29, 2026
Read and change VPN Bypass (macOS) routing: domain lists, services, modes, kernel routes, logs
概覽
讓助理透過本機控制 socket 讀取並修改 macOS 上 VPN Bypass 的分流設定:網域清單、服務、模式、核心路由與日誌。
- 可以做什麼
- 讀取應用程式狀態與日誌,包括目前狀態和日誌項目
- 切換分流模式,啟用或停用服務
- 列出、新增、移除網域並切換其啟用狀態
- 檢視、清除和重新整理核心路由,並重新整理 DNS
- 管理自訂模式的路由與規則,包括預設路由
- 執行診斷網站、繞過網站和輪換代理埠等引導提示
- 適用情境
- 適用於在 Mac 上使用 VPN Bypass 選單列應用程式,並希望助理檢視或調整哪些流量走 VPN 的情況,例如排查某網站分流錯誤,或把網域加入繞過清單。
- 執行需求
- 僅限 macOS,需安裝並執行 VPN Bypass 應用程式(網域、服務、路由、重新整理和日誌相關工具需 4.9.0 或更新版本)。透過 npm 套件以 stdio 在本機執行,安裝或首次啟動時會下載發行版二進位檔。可用 VPNB_SOCKET 指定控制 socket 路徑。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 VPN Bypass,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
vpn-bypass-mcp
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.
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 Desktop (~/Library/Application Support/Claude/claude_desktop_config.json) and Cursor (~/.cursor/mcp.json):
VS Code (.vscode/mcp.json):
Codex (~/.codex/config.toml):
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
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
來源:README.md,提交 9da8f94
工具
0版本歷史
4- v0.2.0最新Oct 29, 2026
- v0.1.2Oct 4, 2026
- v0.1.1Oct 1, 2026
- v0.1.0Sep 30, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分