MCP Server Studio
Administer wg-easy (WireGuard Easy) v15: manage VPN clients, configs, QR codes and server status
Registry name: io.github.ni-c/wg-easy-mcp
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>"
}
}
}
}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]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>"
}
}
}
}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>"
}
}
}
}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>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
WG_EASY_URL | Yes | Base URL of the wg-easy web UI, e.g. https://vpn.example.com:51821 |
WG_EASY_USERNAME | Yes | Username of a wg-easy admin account (2FA must be disabled) |
WG_EASY_PASSWORD | Yes | Password of the wg-easy admin account |
WG_EASY_INSECURE_TLS | No | Set to true to accept self-signed TLS certificates (scoped to the wg-easy connection) |
WG_EASY_READ_ONLY | No | Set to true to register only the read tools (default: false) |
WG_EASY_ALLOW_TOOLS | No | Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools) |
WG_EASY_DENY_TOOLS | No | Comma-separated tool names or list_* prefixes to remove from whatever WG_EASY_ALLOW_TOOLS left |
WG_EASY_URL | Yes | Base URL of the wg-easy web UI, e.g. https://vpn.example.com:51821 |
WG_EASY_USERNAME | Yes | Username of a wg-easy admin account (2FA must be disabled) |
WG_EASY_PASSWORD | Yes | Password of the wg-easy admin account |
WG_EASY_INSECURE_TLS | No | Set to true to accept self-signed TLS certificates (scoped to the wg-easy connection) |
WG_EASY_READ_ONLY | No | Set to true to register only the read tools (default: false) |
WG_EASY_ALLOW_TOOLS | No | Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools) |
WG_EASY_DENY_TOOLS | No | Comma-separated tool names or list_* prefixes to remove from whatever WG_EASY_ALLOW_TOOLS left |