Mullvad VPN MCP Server

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

Local serverstdio

What is the Mullvad VPN MCP Server?

Mullvad VPN MCP Server is an MCP project maintained in the oregansamuel3/mullvad-mcp repository. The maintainer describes its purpose as “An MCP (Model Context Protocol) server for controlling Mullvad VPN through any MCP-compatible client — Claude Desktop, Cursor, Windsurf, and more”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
connectConnect to VPN, optionally specifying country/city/hostname
disconnectDisconnect from VPN
reconnectReconnect, optionally to a new location
get_statusCurrent connection state, server, protocol, IPs
check_leakQuery am.i.mullvad.net to verify VPN protection
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
get_account_infoMasked account number, expiry date
get_device_infoDevices registered to the account
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)

How to install the Mullvad VPN MCP Server

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

From the project documentation. Replace placeholders and example paths before connecting.