AdGuard Home MCP Server

Manage AdGuard Home through AI assistants

Local serverstdioTypeScript

What is the AdGuard Home MCP Server?

Manage AdGuard Home through AI assistants

What the server does

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

  • 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 18+)
  • Docker images — for linux/amd64 and linux/arm64 on GHCR
  • Remote MCP — via HTTP transport (MCP_TRANSPORT=http) using the Streamable HTTP protocol

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
global_get_statusRetrieve server status including version, DNS addresses, protection state, and ports
global_get_profileRetrieve user profile (name, language, theme)
global_check_versionCheck for AdGuard Home updates and compare with current version
global_set_protectionEnable or disable DNS protection globally, with optional duration for temporary disable
global_update_profileUpdate user profile settings (name, language, theme)
global_begin_updateInitiate an AdGuard Home software update
dns_get_infoRetrieve full DNS configuration including upstreams, cache settings, blocking mode, and DNSSEC
dns_test_upstreamTest upstream DNS server configuration to verify servers are reachable
dns_set_configUpdate DNS server configuration (19 optional fields for partial update)
dns_clear_cacheClear the DNS resolver cache
querylog_getSearch DNS query log with optional filtering by reason or response status, search term, and pagination
querylog_get_configRetrieve query log configuration settings
querylog_set_configUpdate query log configuration (enabled, interval, anonymization)
querylog_clearClear the entire DNS query log

How to install the AdGuard Home MCP Server

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

Configuration

VariableDescriptionRequired
ADGUARD_URLEndpoint or connection string the server talks to.Yes
ADGUARD_USERNAMEConfiguration value read at startup.Optional
ADGUARD_PASSWORDConfiguration value read at startup.Optional

Example prompts to try

  • “Use AdGuard Home to global get status.”
  • “Use AdGuard Home to global get profile.”
  • “Use AdGuard Home to global check version.”

Frequently asked questions

Manage AdGuard Home through AI assistants Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.