wg-easy for VS Code
io.github.ni-c/wg-easy-mcp
Administer wg-easy (WireGuard Easy) v15: manage VPN clients, configs, QR codes and server status
client:VS Code
transport:stdio
runtime:npm
Install wg-easy in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "wg-easy-url",
"description": "WG_EASY_URL",
"password": true
},
{
"type": "promptString",
"id": "wg-easy-username",
"description": "WG_EASY_USERNAME",
"password": true
},
{
"type": "promptString",
"id": "wg-easy-password",
"description": "WG_EASY_PASSWORD",
"password": true
},
{
"type": "promptString",
"id": "wg-easy-insecure-tls",
"description": "WG_EASY_INSECURE_TLS",
"password": true
},
{
"type": "promptString",
"id": "wg-easy-read-only",
"description": "WG_EASY_READ_ONLY",
"password": true
},
{
"type": "promptString",
"id": "wg-easy-allow-tools",
"description": "WG_EASY_ALLOW_TOOLS",
"password": true
},
{
"type": "promptString",
"id": "wg-easy-deny-tools",
"description": "WG_EASY_DENY_TOOLS",
"password": true
}
],
"servers": {
"wg-easy-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"wg-easy-mcp"
],
"env": {
"WG_EASY_URL": "${input:wg-easy-url}",
"WG_EASY_USERNAME": "${input:wg-easy-username}",
"WG_EASY_PASSWORD": "${input:wg-easy-password}",
"WG_EASY_INSECURE_TLS": "${input:wg-easy-insecure-tls}",
"WG_EASY_READ_ONLY": "${input:wg-easy-read-only}",
"WG_EASY_ALLOW_TOOLS": "${input:wg-easy-allow-tools}",
"WG_EASY_DENY_TOOLS": "${input:wg-easy-deny-tools}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs