Mullvad VPN MCP server

Mullvad VPN MCP server

mullvad-mcp•byoregansamuel3

An MCP server that lets MCP-compatible clients control Mullvad VPN by invoking the mullvad CLI for connection, status, server selection, account, and settings operations.

License: MIT•Runtime: Awaiting documentation review•Category: auth security

WHAT IT DOES

  • •Connects, disconnects, and reconnects the VPN, optionally to a specified country, city, or hostname.
  • •Reports current connection state, server, protocol, and IPs, and can check for leaks via am.i.mullvad.net.
  • •Lists available countries, cities, and servers, and sets a preferred location.
  • •Exposes account and device information plus settings controls such as kill switch, DAITA, multihop, DNS, protocol, and obfuscation.

BEST FOR

  • •Users who want to control their Mullvad VPN connection and settings through an MCP-compatible client like Claude Desktop or Cursor.
  • •Checking whether VPN traffic is being protected and confirming exits go through Mullvad.
  • •Selecting VPN locations and enabling privacy features such as a kill switch or ad blocking.

ABOUT MULLVAD-MCP

Mullvad VPN MCP server is cataloged as an MCP server attributed to oregansamuel3. An MCP server that lets MCP-compatible clients control Mullvad VPN by invoking the mullvad CLI for connection, status, server selection, account, and settings operations. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Mullvad VPN MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does this server require Mullvad API keys or credentials?

No. The server calls the mullvad CLI via subprocess and the CLI handles authentication natively, so no API keys or secrets are needed.

What does the server require to work?

It requires the Mullvad VPN app with the mullvad CLI available in your PATH, Python 3.11+, and the uv package manager.

上游原版 README

在 GitHub 查看同一版本原文

README.md · d874e1b0642c · 采集于 2026-11-13 12:17:03 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

mullvad-mcp

An MCP (Model Context Protocol) server for controlling Mullvad VPN through any MCP-compatible client — Claude Desktop, Cursor, Windsurf, and more.

All VPN interaction goes through the mullvad CLI. No direct API calls, no config file parsing, no credentials needed.

Prerequisites

  • Mullvad VPN app installed with the CLI available in your PATH
  • Python 3.11+
  • uv package manager — install uv

Installation

git clone https://github.com/your-username/mullvad-mcp.git
cd mullvad-mcp
uv sync

Client Configuration

Claude Desktop

Add to ~/.config/claude-desktop/claude_desktop_config.json (Linux) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "mullvad": {
      "command": "uv",
      "args": ["--directory", "/path/to/mullvad-mcp", "run", "mullvad-mcp"]
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "mullvad": {
      "command": "uv",
      "args": ["--directory", "/path/to/mullvad-mcp", "run", "mullvad-mcp"]
    }
  }
}

Generic MCP Client (stdio)

{
  "mcpServers": {
    "mullvad": {
      "command": "uv",
      "args": ["--directory", "/path/to/mullvad-mcp", "run", "mullvad-mcp"],
      "transport": "stdio"
    }
  }
}

Available Tools

Connection Control

ToolDescription
connectConnect to VPN, optionally specifying country/city/hostname
disconnectDisconnect from VPN
reconnectReconnect, optionally to a new location

Status & Diagnostics

ToolDescription
get_statusCurrent connection state, server, protocol, IPs
check_leakQuery am.i.mullvad.net to verify VPN protection

Server Selection

ToolDescription
list_countriesAll available countries with server counts
list_citiesCities for a given country
list_serversServers with filters (country, city, owned_only)
set_locationSet preferred location by country, city, or hostname

Account Management

ToolDescription
get_account_infoMasked account number, expiry date
get_device_infoDevices registered to the account

Settings

ToolDescription
get_settingsAll current settings as a structured object
set_killswitchEnable/disable lockdown mode
set_daitaEnable/disable DAITA (traffic analysis defence)
set_multihopEnable/disable multihop with optional entry location
set_dnsSet DNS: default (with blocking options) or custom IPs
set_protocolConfigure WireGuard options (quantum resistance, IPv6)
set_obfuscationSet anti-censorship mode (auto/off/udp2tcp/shadowsocks/etc)

Example Interactions

Connection

"Connect me to Sweden"

→ Calls connect(country="se") — sets relay to Sweden and connects.

Status Check

"Am I leaking?"

→ Calls check_leak() — queries am.i.mullvad.net and reports whether traffic exits through Mullvad.

Server Selection

"What cities are available in Germany?"

→ Calls list_cities(country="de") — returns Berlin, Frankfurt, etc. with server counts.

Settings

"Enable the kill switch and block ads"

→ Calls set_killswitch(enabled=True) then set_dns(block_ads=True).

Environment Variables

VariableDefaultDescription
MULLVAD_CLI_PATHAuto-detectedOverride path to the mullvad binary
MULLVAD_CLI_TIMEOUT10CLI command timeout in seconds

How It Works

All tools call the mullvad CLI via subprocess. The CLI handles authentication natively — no API keys or secrets are needed. Output is parsed into structured dicts so LLMs can reason about the results.

Resources

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Mullvad VPN MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mullvad-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related auth security MCP Servers

Alternative and complementary servers in the same category

View all in auth security →

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

Repository stats unavailable
Security & Secrets
Keycloak MCP Server
keycloak-mcp-server•sshaaf

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

Repository stats unavailable
Security & Secrets

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.

Repository stats unavailable
Security & Secrets