Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

AdGuard Home MCP Server

by Samik081version 0.11.0i★ 15iRuns on your computerRepository ↗
Registry nameio.github.Samik081/mcp-adguard-home

How to install

What it does

Manage AdGuard Home through AI assistants

  • Connects Runs on your computer
  • Account or key Needs ADGUARD_USERNAME, ADGUARD_PASSWORD · 1 setting to fill in (ADGUARD_URL)
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity19/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score31/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install AdGuard Home MCP Server. Follow https://mcp.popnx.com/i/samik081-mcp-adguard-home.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a AdGuard Home MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (ADGUARD_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server AdGuard Home MCP Server for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "adguard-home": { "command": "npx", "args": [ "-y", "@samik081/mcp-adguard-home" ], "env": { "ADGUARD_URL": "your-value", "ADGUARD_USERNAME": "your-value", "ADGUARD_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ADGUARD_USERNAME, ADGUARD_PASSWORD, ADGUARD_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the AdGuard Home MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a AdGuard Home MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • ADGUARD_URL URL of the AdGuard Home instance (e.g. http://192.168.1.1:3000)

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "adguard-home": {
          "command": "npx",
          "args": [
            "-y",
            "@samik081/mcp-adguard-home"
          ],
          "env": {
            "ADGUARD_URL": "your-value",
            "ADGUARD_USERNAME": "your-value",
            "ADGUARD_PASSWORD": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use AdGuard Home MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using AdGuard Home MCP Server or shows a AdGuard Home MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect AdGuard Home MCP Server yet

AdGuard Home MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect AdGuard Home MCP Server

  • You need a AdGuard Home MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (ADGUARD_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a AdGuard Home MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (ADGUARD_URL) · Install Node.js on your computer first (one time)
  • You need a AdGuard Home MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (ADGUARD_URL) · Install Node.js on your computer first (one time)
  • You need a AdGuard Home MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (ADGUARD_URL) · Install Node.js on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a AdGuard Home MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (ADGUARD_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server AdGuard Home MCP Server for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user adguard-home --env ADGUARD_URL=your-value --env ADGUARD_USERNAME=your-value --env ADGUARD_PASSWORD=your-value -- npx -y @samik081/mcp-adguard-home 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ADGUARD_USERNAME, ADGUARD_PASSWORD, ADGUARD_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the AdGuard Home MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a AdGuard Home MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • ADGUARD_URL URL of the AdGuard Home instance (e.g. http://192.168.1.1:3000)

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user adguard-home --env ADGUARD_URL=your-value --env ADGUARD_USERNAME=your-value --env ADGUARD_PASSWORD=your-value -- npx -y @samik081/mcp-adguard-home

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see AdGuard Home MCP Server listed as connected

  7. Try it

    Use AdGuard Home MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using AdGuard Home MCP Server or shows a AdGuard Home MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a AdGuard Home MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (ADGUARD_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server AdGuard Home MCP Server for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "adguard-home": { "command": "npx", "args": [ "-y", "@samik081/mcp-adguard-home" ], "env": { "ADGUARD_URL": "your-value", "ADGUARD_USERNAME": "your-value", "ADGUARD_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ADGUARD_USERNAME, ADGUARD_PASSWORD, ADGUARD_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the AdGuard Home MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a AdGuard Home MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • ADGUARD_URL URL of the AdGuard Home instance (e.g. http://192.168.1.1:3000)

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the AdGuard Home MCP Server settings, ADGUARD_USERNAME, ADGUARD_PASSWORD, ADGUARD_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use AdGuard Home MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using AdGuard Home MCP Server or shows a AdGuard Home MCP Server tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a AdGuard Home MCP Server key (create it on the maker’s site) · 1 setting(s) to fill in (ADGUARD_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server AdGuard Home MCP Server for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "adguard-home": { "type": "stdio", "command": "npx", "args": [ "-y", "@samik081/mcp-adguard-home" ], "env": { "ADGUARD_URL": "your-value", "ADGUARD_USERNAME": "your-value", "ADGUARD_PASSWORD": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For ADGUARD_USERNAME, ADGUARD_PASSWORD, ADGUARD_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the AdGuard Home MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a AdGuard Home MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • ADGUARD_URL URL of the AdGuard Home instance (e.g. http://192.168.1.1:3000)

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the AdGuard Home MCP Server settings, ADGUARD_USERNAME, ADGUARD_PASSWORD, ADGUARD_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use AdGuard Home MCP Server and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using AdGuard Home MCP Server or shows a AdGuard Home MCP Server tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use AdGuard Home MCP Server💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user adguard-home --env ADGUARD_URL=your-value --env ADGUARD_USERNAME=your-value --env ADGUARD_PASSWORD=your-value -- npx -y @samik081/mcp-adguard-home

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "adguard-home": {
      "command": "npx",
      "args": [
        "-y",
        "@samik081/mcp-adguard-home"
      ],
      "env": {
        "ADGUARD_URL": "your-value",
        "ADGUARD_USERNAME": "your-value",
        "ADGUARD_PASSWORD": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "adguard-home": {
      "command": "npx",
      "args": [
        "-y",
        "@samik081/mcp-adguard-home"
      ],
      "env": {
        "ADGUARD_URL": "your-value",
        "ADGUARD_USERNAME": "your-value",
        "ADGUARD_PASSWORD": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "adguard-home": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@samik081/mcp-adguard-home"
      ],
      "env": {
        "ADGUARD_URL": "your-value",
        "ADGUARD_USERNAME": "your-value",
        "ADGUARD_PASSWORD": "your-value"
      }
    }
  }
}

Values you fill in

  • ADGUARD_URL required env
    URL of the AdGuard Home instance (e.g. http://192.168.1.1:3000)
  • ADGUARD_USERNAME secret required env
    AdGuard Home username (omit if authentication is disabled)
  • ADGUARD_PASSWORD secret required env
    AdGuard Home password (omit if authentication is disabled)

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
429/wk
Connection
Runs on your computer
Latest versioni
0.11.0
Categoryi
Other
Published to registryi
Nov 13, 2026
Code last changedi
Nov 13, 2026
Maker
Samik081
Packages
npm: @samik081/mcp-adguard-home
oci: ghcr.io/samik081/mcp-adguard-home:0.11.0
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account Samik081, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 6 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @samik081/mcp-adguard-home@0.11.0

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/samik081-mcp-adguard-home.svg)](https://mcp.popnx.com/en/servers/samik081-mcp-adguard-home)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 97% of the other 20653 servers in this category
  • Published to the registry more recently than 87% of the other 20653 servers in this category
  • Basic checks equal to or better than 99% of the other 20653 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is AdGuard Home MCP Server safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: ADGUARD_USERNAME, ADGUARD_PASSWORD

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 6 days ago, and the latest version (0.11.0) reached the registry 6 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js, Docker on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

by koala73Widely used★ 90.9KUpdated 3 days ago

Runs in the cloud✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 2 months ago

Runs in the cloud✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 30 days ago

Runs in the cloud✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Runs in the cloudRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Runs in the cloud✓ service owner · jitsu.com
Compared with similar ones
This one
AdGuard Home MCP Server
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/41/44/4
LicenseMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

MCP AdGuard Home

MCP server for AdGuard Home. Manage DNS filtering, clients, DHCP, rewrites, and more through natural language in Cursor, Claude Code, and Claude Desktop.

Features

  • 65 tools across 16 categories covering the complete AdGuard Home API
  • Read-only mode via ADGUARD_ACCESS_TIER=read-only for safe monitoring
  • Category filtering via ADGUARD_CATEGORIES to expose only the tools you need
  • Zero HTTP dependencies -- uses native fetch (Node.js 22+)
  • Docker images for linux/amd64 and linux/arm64 on GHCR
  • Remote MCP via HTTP transport (MCP_TRANSPORT=http) using the Streamable HTTP protocol
  • TypeScript/ESM with full type safety

API Compatibility

Tested with AdGuard Home v0.107.76.

Quick Start

Run the server directly with npx:

ADGUARD_URL="http://your-adguard-ip:3000" \

ADGUARD_USERNAME="your-username" \ ADGUARD_PASSWORD="your-password" \ npx -y @samik081/mcp-adguard-home

The server validates your AdGuard Home connection on startup and fails immediately with a clear error if credentials are missing or invalid.

Docker

Run with Docker (stdio transport, same as npx):

docker run --rm -i \

-e ADGUARD_URL=http://your-adguard-ip:3000 \ -e ADGUARD_USERNAME=your-username \ -e ADGUARD_PASSWORD=your-password \ ghcr.io/samik081/mcp-adguard-home

To run as a remote MCP server with HTTP transport:

docker run -d -p 127.0.0.1:3000:3000 \

-e MCP_TRANSPORT=http \ -e MCP_ALLOWED_HOSTS=localhost,127.0.0.1 \ -e ADGUARD_URL=http://your-adguard-ip:3000 \ -e ADGUARD_USERNAME=your-username \ -e ADGUARD_PASSWORD=your-password \ ghcr.io/samik081/mcp-adguard-home

The MCP endpoint is available at http://localhost:3000 and a health check at http://localhost:3000/health.

Security: the HTTP transport has no authentication -- anyone who can reach the port can call every enabled tool. Keep it on loopback or a trusted network, or put it behind an authenticating reverse proxy. Outside Docker the server binds to 127.0.0.1 by default and only accepts requests whose Host/Origin is a loopback name (DNS rebinding protection). The Docker image binds to 0.0.0.0, where that check is off unless you set MCP_ALLOWED_HOSTS to the hostnames clients use to reach it.

Configuration

Claude Code CLI (recommended):

# Using npx

claude mcp add --transport stdio adguard-home \ --env ADGUARD_URL=http://your-adguard-ip:3000 \ --env ADGUARD_USERNAME=your-username \ --env ADGUARD_PASSWORD=your-password \ -- npx -y @samik081/mcp-adguard-home

Using Docker

claude mcp add --transport stdio adguard-home \ --env ADGUARD_URL=http://your-adguard-ip:3000 \ --env ADGUARD_USERNAME=your-username \ --env ADGUARD_PASSWORD=your-password \ -- docker run --rm -i ghcr.io/samik081/mcp-adguard-home

Using remote HTTP (connect to a running Docker container or HTTP server)

claude mcp add --transport http adguard-home http://localhost:3000

JSON config (works with Claude Code .mcp.json, Claude Desktop claude_desktop_config.json, Cursor .cursor/mcp.json):

{

"mcpServers": { "adguard-home": { "command": "npx", "args": ["-y", "@samik081/mcp-adguard-home"], "env": { "ADGUARD_URL": "http://your-adguard-ip:3000", "ADGUARD_USERNAME": "your-username", "ADGUARD_PASSWORD": "your-password" } } } }

Docker (stdio):

{

"mcpServers": { "adguard-home": { "command": "docker", "args": ["run", "--rm", "-i", "-e", "ADGUARD_URL=http://your-adguard-ip:3000", "-e", "ADGUARD_USERNAME=your-username", "-e", "ADGUARD_PASSWORD=your-password", "ghcr.io/samik081/mcp-adguard-home" ] } } }

Remote MCP (connect to a running Docker container or HTTP server):

{

"mcpServers": { "adguard-home": { "type": "streamable-http", "url": "http://localhost:3000" } } }

Access Tiers

Control which tools are available using the ADGUARD_ACCESS_TIER environment variable:

TierToolsDescription
full (default)65Read and write -- full control
read-only29Read only -- safe for monitoring, no state changes
  • full: All 65 tools. Includes configuration changes, adding/removing filters, clearing logs, and all destructive operations.
  • read-only: 29 tools. Status, configuration viewing, and query log reading only. No state changes.

Tools that are not available in your tier are not registered with the MCP server. They will not appear in your AI tool's tool list, keeping the context clean.

Environment Variables

VariableRequiredDefaultDescription
ADGUARD_URLYes--AdGuard Home base URL (e.g., http://192.168.1.1:3000)
ADGUARD_USERNAMENo--Admin username. Omit together with ADGUARD_PASSWORD if AdGuard Home has authentication disabled
ADGUARD_PASSWORDNo--Admin password. Must be set whenever ADGUARD_USERNAME is
ADGUARD_ACCESS_TIERNofullread-only for read-only tools only, full for all tools
ADGUARD_CATEGORIESNo*(all)*Comma-separated category allowlist (e.g., dns,filtering,stats)
ADGUARD_TOOL_BLACKLISTNo*(none)*Comma-separated list of tool names to exclude (e.g., dns_clear_cache,stats_reset)
ADGUARD_TOOL_WHITELISTNo*(none)*Comma-separated list of tool names to force-include, bypassing access tier and category filters
DEBUGNofalseEnable debug logging to stderr
MCP_TRANSPORTNostdioTransport mode: stdio (default) or http
MCP_PORTNo3000HTTP server port (only used when MCP_TRANSPORT=http)
MCP_HOSTNo127.0.0.1HTTP server bind address (only used when MCP_TRANSPORT=http). The Docker image sets 0.0.0.0
MCP_ALLOWED_HOSTSNo*(none)*Comma-separated hostnames accepted in the Host and Origin headers of HTTP requests, e.g. mcp.example.com,localhost (ports ignored, IPv6 in brackets). Loopback names are always accepted when MCP_HOST is a loopback address. If MCP_HOST is not loopback and this is unset, the headers are not checked
MCP_SESSION_IDLE_TIMEOUTNo1800Seconds of inactivity after which an HTTP session is closed and its memory released (sessions with a connected SSE stream are never closed). 0 disables. Only used when MCP_TRANSPORT=http
MCP_EXCLUDE_TOOL_TITLESNofalseSet true to omit tool titles from registration (saves tokens)
Available Categories

global, dns, querylog, stats, filtering, safebrowsing, parental, safesearch, clients, dhcp, rewrites, tls, blocked_services, access, install, mobile_config

Tools

mcp-adguard-home provides 65 tools organized by category. Each tool's Access column shows the minimum tier required: read-only (available in both tiers) or full (requires full tier). The Hints column shows tool behavior: read-only (no state changes), destructive (modifies existing state), idempotent (same result if called twice).

Global (6 tools)

ToolDescriptionAccessHints
global_get_statusRetrieve server status including version, DNS addresses, protection state, and portsread-onlyread-only, idempotent
global_get_profileRetrieve user profile (name, language, theme)read-onlyread-only, idempotent
global_check_versionCheck for AdGuard Home updates and compare with current versionread-onlyread-only, idempotent
global_set_protectionEnable or disable DNS protection globally, with optional duration for temporary disablefulldestructive, idempotent
global_update_profileUpdate user profile settings (name, language, theme)fulldestructive, idempotent
global_begin_updateInitiate an AdGuard Home software updatefulldestructive

DNS (4 tools)

ToolDescriptionAccessHints
dns_get_infoRetrieve full DNS configuration including upstreams, cache settings, blocking mode, and DNSSECread-onlyread-only, idempotent
dns_test_upstreamTest upstream DNS server configuration to verify servers are reachableread-onlyread-only, idempotent
dns_set_configUpdate DNS server configuration (23 optional fields for partial update, incl. rate-limit subnet lengths and allowlist)fulldestructive, idempotent
dns_clear_cacheClear the DNS resolver cachefulldestructive, idempotent

Query Log (4 tools)

ToolDescriptionAccessHints
querylog_getSearch DNS query log with optional filtering by reason or response status, search term, and cursor pagination via older_than (returns a paging hint on empty results)read-onlyread-only, idempotent
querylog_get_configRetrieve query log configuration settingsread-onlyread-only, idempotent
querylog_set_configUpdate query log configuration (enabled, interval, anonymization)fulldestructive, idempotent
querylog_clearClear the entire DNS query logfulldestructive, idempotent

Statistics (4 tools)

ToolDescriptionAccessHints
stats_getRetrieve DNS statistics including top domains, blocked counts, and client activityread-onlyread-only, idempotent
stats_get_configRetrieve statistics configuration settingsread-onlyread-only, idempotent
stats_resetReset all DNS statisticsfulldestructive, idempotent
stats_set_configUpdate statistics configuration (enabled, interval, ignored domains)fulldestructive, idempotent

Filtering (8 tools)

ToolDescriptionAccessHints
filtering_get_statusRetrieve filtering configuration including blocklists, allowlists, and user rulesread-onlyread-only, idempotent
filtering_check_hostTest whether a hostname would be blocked by current filtering rulesread-onlyread-only, idempotent
filtering_set_configUpdate global filtering configuration (enabled state and update interval)fulldestructive, idempotent
filtering_add_urlAdd a new filter URL (blocklist or allowlist)full—
filtering_remove_urlRemove a filter URL from blocklist or allowlistfulldestructive
filtering_set_urlUpdate an existing filter URL (rename, change URL, or enable/disable)fulldestructive, idempotent
filtering_refreshForce refresh of filter lists to fetch latest updatesfulldestructive, idempotent
filtering_set_rulesSet custom filtering rules (replaces all existing custom rules)fulldestructive, idempotent

Safe Browsing (2 tools)

ToolDescriptionAccessHints

| safebrowsing_get_status | Retrieve safe browsing (malware/phishi

Only the beginning is shown; read the rest in the repo