Skip to content
VS Code

AdGuard Home MCP Server for VS Code

io.github.samik081/mcp-adguard-home

Manage AdGuard Home through AI assistants

client:VS Code transport:stdio runtime:npm

Install AdGuard Home MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "adguard-url",
      "description": "ADGUARD_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adguard-username",
      "description": "ADGUARD_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "adguard-password",
      "description": "ADGUARD_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "mcp-adguard-home": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@samik081/mcp-adguard-home"
      ],
      "env": {
        "ADGUARD_URL": "${input:adguard-url}",
        "ADGUARD_USERNAME": "${input:adguard-username}",
        "ADGUARD_PASSWORD": "${input:adguard-password}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

AdGuard Home MCP Server in other clients