Portveil MCP server — let AI assistants manage your Portveil VPN network
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Documented (README)
claude mcp add portveil-mcp -- npx -y portveil-mcp{
"mcpServers": {
"portveil-mcp": {
"command": "npx",
"args": ["-y", "portveil-mcp"],
"env": {
"PORTVEIL_TOKEN": "<portveil_token>"
}
}
}
}PORTVEIL_TOKENMCP Servers overview
# Portveil MCP server
Let an AI assistant see the devices on your [Portveil](https://portveil.com) 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
| Tool | What it does | Needs |
|---|---|---|
| `list_devices` | Every device: protected or not, where it exits, live speed (↓/↑ Mbps), remote control on/off | read |
| `list_locations` | The locations you can move to | read |
| `get_device` | One device's current state, including live speed and any rotation | read |
| `get_account` | Plan and devices used | read |
| `list_activity` | Recent moves, reconnects and changes, and which token made them | read |
| `move_device` | Move a device to a country or city ("Finland", "US", "Helsinki") | control |
| `rotate_device` | Move a device once to the next location | control |
| `start_rotation` | Move a device automatically every N minutes (5–10080), optionally among chosen locations. Portveil runs the schedule, so the assistant can close | control |
| `stop_rotation` | Turn scheduled rotation off | control |
| `reconnect_device` | Re-establish a device's tunnel | control |
| `disconnect_device` | Turn a device's VPN off (flagged destructive: a hint that tells well-behaved assistants to check with you first) | control |
| `add_device` | 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 registers itself | admin (phones/laptops) |
| `update_device` | Rename a device and/or turn its remote control on or off | admin |
| `remove_device` | Remove 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](https://portveil.com/free/) with just an email, no card.
1. In the [Portveil dashboard](https://portveil.com/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**
```bash
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:
```json
{
"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:
```bash
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](https://clawhub.ai/roybogs/portveil):
```bash
hermes skills install roybogs/portveil
```
(Source: [`skills/portveil/SKILL.md`](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 talks only to `https://api.portveil.com` (override with `PORTVEIL_API`). It stores nothing.
## Development
```bash
npm install
npm test # builds, then runs the tests against a fake Portveil API
```
What people ask about portveil-mcp
What is roybogs/portveil-mcp?
+
roybogs/portveil-mcp is mcp servers for the Claude AI ecosystem. Portveil MCP server — let AI assistants manage your Portveil VPN network It has 0 GitHub stars and its last recorded update is dated 2026-09-27.
How do I install portveil-mcp?
+
You can install portveil-mcp by cloning the repository (https://github.com/roybogs/portveil-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is roybogs/portveil-mcp safe to use?
+
Our security agent has analyzed roybogs/portveil-mcp and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains roybogs/portveil-mcp?
+
roybogs/portveil-mcp is maintained by roybogs. The last recorded GitHub activity is dated 2026-09-27, with 0 open issues.
Are there alternatives to portveil-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy portveil-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/roybogs-portveil-mcp)<a href="https://claudewave.com/repo/roybogs-portveil-mcp"><img src="https://claudewave.com/api/badge/roybogs-portveil-mcp" alt="Featured on ClaudeWave: roybogs/portveil-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.