通过 VPNHub MCP 让 AI 查找免费 VPN 服务器,按国家和 VPN 协议筛选。接口只读,无需账号或 API Key。

免费 VPN · 国家/地区

AI → Model Context Protocol → VPNHub

热门 VPN 类型

如果你偏好特定协议,可以浏览 SSL VPN、L2TP/IPSec VPN、OpenVPN 和 SSTP VPN 的专页。

MCP

URL
https://vpnhub.me/api/mcp
MCP
2025-11-25 / 2026-07-28 · Streamable HTTP
HTTP
POST · application/json · UTF-8 · JSON-RPC 2.0 · 64 KiB
Authorization / API Key
—

list_vpns

country国家jp / us / kr / …
type协议ssl (SSL VPN) · l2tp (L2TP/IPSec) · open (OpenVPN) · sstp (SSTP VPN)
limit1–10020
limit: {"type": ["integer", "string"], "pattern": "^[0-9]{1,3}$", "default": 20, "minimum": 1, "maximum": 100}

result.structuredContent

{"vpns": [], "count": 0}

hostname主机名
ipIP
country国家
type协议 · ssl,l2tp,open,sstp
scoreinteger
updated_atinteger · Unix timestamp
infoobject · 协议详情

info · 协议详情

ssltcp (TCP 端口) · udp (UDP 端口) · username (用户名) · password (密码)
l2tpusername (用户名) · password (密码) · secret (密钥)
openhid (OpenVPN ID) · tcp (TCP 端口) · udp (UDP 端口)
sstptcp (TCP 端口) · username (用户名) · password (密码)

list_vpns 只查询已收录的 VPN 服务器信息,不会建立 VPN 连接,也不直接下载 OpenVPN 配置文件。连接需使用兼容的 VPN 客户端,配置下载请前往 VPN 列表页。info 中的字段取决于节点支持的协议和已有数据,展示的凭据是公开默认值。

如何使用 VPNHub MCP

2026-07-28

server/discover → tools/list → tools/call
curl 'https://vpnhub.me/api/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H 'MCP-Protocol-Version: 2026-07-28' \
  -H 'Mcp-Method: tools/call' \
  -H 'Mcp-Name: list_vpns' \
  --data-raw '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_vpns",
    "arguments": {
      "country": "jp",
      "type": "open",
      "limit": 5
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {},
      "io.modelcontextprotocol/clientInfo": {
        "name": "vpnhub-example",
        "version": "1.0.0"
      }
    }
  }
}'

2025-11-25

initialize → notifications/initialized → tools/list → tools/call
curl 'https://vpnhub.me/api/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  --data-raw '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2025-11-25",
    "capabilities": {},
    "clientInfo": {
      "name": "vpnhub-example",
      "version": "1.0.0"
    }
  }
}'
curl 'https://vpnhub.me/api/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H 'MCP-Protocol-Version: 2025-11-25' \
  --data-raw '{
  "jsonrpc": "2.0",
  "method": "notifications/initialized"
}'
curl 'https://vpnhub.me/api/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H 'MCP-Protocol-Version: 2025-11-25' \
  --data-raw '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_vpns",
    "arguments": {
      "country": "jp",
      "type": "open",
      "limit": 5
    }
  }
}'

重要提示

score 是数据来源的质量评分,结果按评分从高到低排列;它不是网速或隐私评级。updated_at 是本站数据库更新时间,不是实时连接检测时间。服务器可用性不作保证。

VPNHub 仅提供信息与索引服务。本站不运营页面中列出的第三方 VPN 服务器。

有关数据处理和 Cookie 的说明,请阅读我们的 隐私政策。