MCP Server Studio

wg-easy MCP server

Administer wg-easy (WireGuard Easy) v15: manage VPN clients, configs, QR codes and server status

Registry name: io.github.ni-c/wg-easy-mcp

Publisher
ni-c
Runs
Runs locally
Package
npm, Docker
Version
0.6.0
Category
Other
Updated
2026-09-07

Source code on GitHub

Set up wg-easy (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "wg-easy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WG_EASY_URL": "<WG_EASY_URL>",
        "WG_EASY_USERNAME": "<WG_EASY_USERNAME>",
        "WG_EASY_PASSWORD": "<WG_EASY_PASSWORD>",
        "WG_EASY_INSECURE_TLS": "<WG_EASY_INSECURE_TLS>",
        "WG_EASY_READ_ONLY": "<WG_EASY_READ_ONLY>",
        "WG_EASY_ALLOW_TOOLS": "<WG_EASY_ALLOW_TOOLS>",
        "WG_EASY_DENY_TOOLS": "<WG_EASY_DENY_TOOLS>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add wg-easy-mcp -e WG_EASY_URL='<WG_EASY_URL>' -e WG_EASY_USERNAME='<WG_EASY_USERNAME>' -e WG_EASY_PASSWORD='<WG_EASY_PASSWORD>' -e WG_EASY_INSECURE_TLS='<WG_EASY_INSECURE_TLS>' -e WG_EASY_READ_ONLY='<WG_EASY_READ_ONLY>' -e WG_EASY_ALLOW_TOOLS='<WG_EASY_ALLOW_TOOLS>' -e WG_EASY_DENY_TOOLS='<WG_EASY_DENY_TOOLS>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "wg-easy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WG_EASY_URL": "<WG_EASY_URL>",
        "WG_EASY_USERNAME": "<WG_EASY_USERNAME>",
        "WG_EASY_PASSWORD": "<WG_EASY_PASSWORD>",
        "WG_EASY_INSECURE_TLS": "<WG_EASY_INSECURE_TLS>",
        "WG_EASY_READ_ONLY": "<WG_EASY_READ_ONLY>",
        "WG_EASY_ALLOW_TOOLS": "<WG_EASY_ALLOW_TOOLS>",
        "WG_EASY_DENY_TOOLS": "<WG_EASY_DENY_TOOLS>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "wg-easy-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WG_EASY_URL": "<WG_EASY_URL>",
        "WG_EASY_USERNAME": "<WG_EASY_USERNAME>",
        "WG_EASY_PASSWORD": "<WG_EASY_PASSWORD>",
        "WG_EASY_INSECURE_TLS": "<WG_EASY_INSECURE_TLS>",
        "WG_EASY_READ_ONLY": "<WG_EASY_READ_ONLY>",
        "WG_EASY_ALLOW_TOOLS": "<WG_EASY_ALLOW_TOOLS>",
        "WG_EASY_DENY_TOOLS": "<WG_EASY_DENY_TOOLS>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "wg-easy-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WG_EASY_URL": "<WG_EASY_URL>",
        "WG_EASY_USERNAME": "<WG_EASY_USERNAME>",
        "WG_EASY_PASSWORD": "<WG_EASY_PASSWORD>",
        "WG_EASY_INSECURE_TLS": "<WG_EASY_INSECURE_TLS>",
        "WG_EASY_READ_ONLY": "<WG_EASY_READ_ONLY>",
        "WG_EASY_ALLOW_TOOLS": "<WG_EASY_ALLOW_TOOLS>",
        "WG_EASY_DENY_TOOLS": "<WG_EASY_DENY_TOOLS>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
WG_EASY_URLYesBase URL of the wg-easy web UI, e.g. https://vpn.example.com:51821
WG_EASY_USERNAMEYesUsername of a wg-easy admin account (2FA must be disabled)
WG_EASY_PASSWORDYesPassword of the wg-easy admin account
WG_EASY_INSECURE_TLSNoSet to true to accept self-signed TLS certificates (scoped to the wg-easy connection)
WG_EASY_READ_ONLYNoSet to true to register only the read tools (default: false)
WG_EASY_ALLOW_TOOLSNoComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
WG_EASY_DENY_TOOLSNoComma-separated tool names or list_* prefixes to remove from whatever WG_EASY_ALLOW_TOOLS left
WG_EASY_URLYesBase URL of the wg-easy web UI, e.g. https://vpn.example.com:51821
WG_EASY_USERNAMEYesUsername of a wg-easy admin account (2FA must be disabled)
WG_EASY_PASSWORDYesPassword of the wg-easy admin account
WG_EASY_INSECURE_TLSNoSet to true to accept self-signed TLS certificates (scoped to the wg-easy connection)
WG_EASY_READ_ONLYNoSet to true to register only the read tools (default: false)
WG_EASY_ALLOW_TOOLSNoComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
WG_EASY_DENY_TOOLSNoComma-separated tool names or list_* prefixes to remove from whatever WG_EASY_ALLOW_TOOLS left

More other MCP servers