Skip to content
MCP server
Registry

Portveil MCP Server

MCP server for Portveil: let AI assistants see your devices and move them between VPN locations.

Portveil scores 69 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 14 tools. Filed under Web scraping. GitHub shows 0 stars. Package registries report about 56 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by roybogsMITTypeScript0 stars
Trust score
69Good
Trust score 69 of 100, Good

Good trust

69 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 69 comes from

22 + 20 + 3 + 10 + 4 + 10 = 69. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity3 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 3 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "roybogs-portveil-mcp": {      "command": "npx",      "args": [        "-y",        "portveil-mcp@0.4.4"      ],      "env": {        "PORTVEIL_ACCOUNT_ID": "",        "PORTVEIL_TOKEN": "YOUR_PORTVEIL_TOKEN",        "PORTVEIL_API": ""      }    }  }}

Environment variables

NameRequiredNotes
PORTVEIL_ACCOUNT_IDRequiredYour Portveil account ID (acct_…), shown in the dashboard
PORTVEIL_TOKENSecretRequiredA Portveil API token from the dashboard; control scope to move devices, read to only look
PORTVEIL_APIOptionalAPI base URL (default https://api.portveil.com)

Tools14Tool docs quality grade D

All capabilities
  • Add a device. Phones and laptops (WireGuard app): creates it and saves its tunnel files locally, key never shown in chat. Linux servers and agent machines: gives the exact commands to run on that machine, which makes its own key and registe

  • Turn a device's VPN off (flagged destructive: a hint that tells well-behaved assistants to check with you first)

  • Plan and devices used

  • One device's current state, including live speed and any rotation

  • Recent moves, reconnects and changes, and which token made them

  • Every device: protected or not, where it exits, live speed (↓/↑ Mbps), remote control on/off

  • The locations you can move to

  • Move a device to a country or city ("Finland", "US", "Helsinki")

  • Re-establish a device's tunnel

  • Remove a device for good (flagged destructive)

  • Move a device once to the next location

  • Move a device automatically every N minutes (5–10080), optionally among chosen locations. Portveil runs the schedule, so the assistant can close

About

Portveil MCP server

Let an AI assistant see the devices on your Portveil account and move them between VPN locations.

"Move my scraper box to Finland." "Rotate every agent to a new location." "Which of my devices aren't protected right now?" "Rotate the scraper between the US and Finland every 15 minutes."

Moves are verified: a tool only reports success after the device has switched and the exit server in the new location confirms it sees that device.

Tools

ToolWhat it doesNeeds
list_devicesEvery device: protected or not, where it exits, live speed (↓/↑ Mbps), remote control on/offread
list_locationsThe locations you can move toread
get_deviceOne device's current state, including live speed and any rotationread
get_accountPlan and devices usedread
list_activityRecent moves, reconnects and changes, and which token made themread
move_deviceMove a device to a country or city ("Finland", "US", "Helsinki")control
rotate_deviceMove a device once to the next locationcontrol
start_rotationMove a device automatically every N minutes (5–10080), optionally among chosen locations. Portveil runs the schedule, so the assistant can closecontrol
stop_rotationTurn scheduled rotation offcontrol
reconnect_deviceRe-establish a device's tunnelcontrol
disconnect_deviceTurn a device's VPN off (flagged destructive: a hint that tells well-behaved assistants to check with you first)control
add_deviceAdd a device. Phones and laptops (WireGuard app): creates it and saves its tunnel files locally, key never shown in chat. Linux servers and agent machines: gives the exact commands to run on that machine, which makes its own key and registers itselfadmin (phones/laptops)
update_deviceRename a device and/or turn its remote control on or offadmin
remove_deviceRemove a device for good (flagged destructive)admin

Tool names changed in 0.3.0 to one verb_noun pattern: device_status → get_device, account_info → get_account, recent_activity → list_activity, set_rotation → start_rotation.

Devices can be named loosely ("scraper" finds "Scraper box"); an ambiguous name returns the choices instead of guessing.

Setup

No account yet? Start free with just an email, no card.

  1. In the Portveil dashboard, create an API token. Choose control scope to let the assistant move devices, or read to let it only look. Don't give it your account key.
  2. Note your account ID (acct_…).
  3. Add the server to your assistant:

Claude Code

claude mcp add portveil -e PORTVEIL_ACCOUNT_ID=acct_… -e PORTVEIL_TOKEN=clt_… -- npx -y portveil-mcp

Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and most other clients:

{
  "mcpServers": {
    "portveil": {
      "command": "npx",
      "args": ["-y", "portveil-mcp"],
      "env": { "PORTVEIL_ACCOUNT_ID": "acct_…", "PORTVEIL_TOKEN": "clt_…" }
    }
  }
}

Hermes Agent: Hermes only installs npm packages older than 14 days, so install into its own folder and run it with node:

cd ~ && npm install --prefix ~/.hermes/mcp-servers/portveil portveil-mcp@0.4.3
echo 'PORTVEIL_TOKEN=clt_…' >> ~/.hermes/.env
hermes mcp add portveil --command node \
  --env PORTVEIL_ACCOUNT_ID=acct_… 'PORTVEIL_TOKEN=${PORTVEIL_TOKEN}' \
  --args ~/.hermes/mcp-servers/portveil/node_modules/portveil-mcp/dist/index.js

For Hermes to use it well (when to act, what to confirm first, how to add devices), also install the Portveil skill from ClawHub:

hermes skills install roybogs/portveil

(Source: skills/portveil/SKILL.md.)

Devices must be running the Portveil app or the Portveil agent with remote control on. Devices using the plain WireGuard app are shown but can't be moved.

Security

  • Use a scoped API token. Every action it takes is recorded in your account's activity log with the token that made it, and you can revoke it in the dashboard at any time.
  • The server defaults to https://api.portveil.com; PORTVEIL_API overrides must use HTTPS (HTTP is accepted only for loopback fixtures). Redirects are refused; requests time out after 15 seconds and mutations are not automatically retried.
  • It does not persist the account/API token. add_device deliberately stores newly generated device keys and tunnel files in a new private directory; they are never included in tool replies. Existing folders and files are never reused or overwritten.
  • “Protected”/move/reconnect confirmation requires connected status, a fresh handshake and exit confirmation, with observations aged from their actual receipt. This is tunnel evidence, not DNS privacy proof. An exit IP, resolver list, or simulator UI alone is insufficient.

Local device recovery

For phone/computer provisioning, choose a new folder. It is created with mode 0700, with 0600 private-key, device.json and per-exit .conf files. The key is saved and synced before registration; registration metadata excludes the device token. If registration's response is lost or export fails, the reply identifies the retained recovery directory and (when known) the exact device ID. Check list_devices/the dashboard before adding another device: the server may have committed the first registration. No automatic device deletion or blind retry occurs.

Back up the whole private directory securely. Restore into a separate private directory and verify file permissions, device ID, and that the private key derives the registered public key. device.json plus private-key can regenerate the configs using the existing wgConfig helper; no new registration is needed. npm test exercises actual fixture backup/restore, byte-identical config regeneration, interrupted registration and symlink/write failures. This does not establish that production infrastructure backups are current or restorable.

Linux setup instructions are Bash commands, not actions executed by this server. Full tunnel is designed to preserve inbound connections, but verify SSH and DNS separately in an approved isolated environment. Split tunnel reaches only Portveil's internal network: internet traffic is not protected. Never use setup commands to switch a working remote machine without independent management access and a guarded rollback plan.

Development

npm install
npm test        # builds, then runs the tests against a fake Portveil API

Frequently asked questions

What is Portveil MCP Server?

MCP server for Portveil: let AI assistants see your devices and move them between VPN locations.

How do I install Portveil MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Portveil MCP Server runs locally from the npm package portveil-mcp with the command npx -y portveil-mcp@0.4.4.

Is Portveil MCP Server free and open source?

Yes. Portveil MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Portveil MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Portveil MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does Portveil MCP Server provide?

Portveil MCP Server provides 14 tools, including add_device, disconnect_device, get_account, and get_device. See the full tool list for descriptions and parameters.

How is Portveil MCP Server's trust score calculated?

Portveil MCP Server scores 69 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server