About
An MCP server that lets AI agents query and control AdGuard Home, enabling easy manipulation of rewrite DNS records and filtering rules through a standardized protocol.
Capabilities

Overview
The Mcp AdGuard Home server bridges the powerful filtering and DNS‑management capabilities of AdGuard Home with AI assistants that speak the Model Context Protocol (MCP). By exposing a set of well‑structured tools, it lets agents query and modify DNS records, manipulate filtering rules, and perform routine maintenance tasks without manual interaction with the AdGuard UI. This integration is particularly valuable for developers building automated network‑security workflows or creating intelligent assistants that can troubleshoot DNS issues on the fly.
Problem Solved
Modern networks increasingly rely on dynamic DNS and content filtering to protect users from malicious domains, phishing attacks, or unwanted ads. Administrators typically use the AdGuard Home web interface or REST API to manage these settings, which can be cumbersome for repetitive tasks or when integrating with other systems. The MCP server eliminates the need for custom scripting by providing a uniform, language‑agnostic interface that AI agents can call directly. This reduces friction for developers who want to embed network‑security controls into chatbots, monitoring dashboards, or automated compliance checks.
Core Functionality
The server exposes two primary categories of tools:
- Rewrite DNS Tools – Enable agents to list existing rewrite rules, add new domain mappings, or remove unwanted entries. These tools are essential for fine‑tuning DNS responses in response to changing network requirements.
- DNS Filtering Tools – Allow agents to retrieve the current set of filtering rules, create or update blocklists, and delete obsolete entries. This is crucial for maintaining up‑to‑date protection against emerging threats.
Each tool follows a clear naming convention (, , ) and accepts simple parameters, making it straightforward for an AI assistant to construct valid requests.
Use Cases
- Automated Threat Response – When a security alert flags a malicious domain, an AI agent can instantly add a rewrite rule to block the host or update the filtering ruleset without manual intervention.
- Dynamic Network Provisioning – In environments where devices frequently join or leave the network, an assistant can query current DNS records and automatically adjust them to reflect new infrastructure.
- Compliance Auditing – Agents can list all filtering rules and verify that they meet organizational policies, flagging any deviations for remediation.
- Developer Tooling – During application testing, developers can programmatically toggle DNS filtering to isolate network issues or simulate blocked content.
Integration with AI Workflows
Because the server operates as a standard MCP stdio service, any MCP‑compliant client—such as Claude or other LLM agents—can invoke its tools by simply referencing the tool name and supplying arguments. The server handles authentication with AdGuard Home via environment variables, ensuring secure communication. Once a tool completes, the assistant receives structured JSON output that can be used in subsequent reasoning steps or displayed to end users.
Unique Advantages
- Zero‑Code Interaction – Developers can manage AdGuard Home entirely through AI prompts, eliminating the need for custom REST wrappers.
- Unified Toolset – Both DNS rewriting and filtering are exposed under a single protocol, simplifying the learning curve for new users.
- Extensibility – The MCP framework allows future expansion (e.g., adding statistics or logging tools) without changing the client side.
- Cross‑Platform Compatibility – As an MCP server, it can run on any platform that supports Node.js and communicate with agents running in diverse environments.
In summary, the Mcp AdGuard Home server turns a powerful network‑security platform into an AI‑driven service, enabling developers to automate DNS management and filtering with minimal effort while maintaining full control over security policies.
Related Servers
MarkItDown MCP Server
Convert documents to Markdown for LLMs quickly and accurately
Context7 MCP
Real‑time, version‑specific code docs for LLMs
Playwright MCP
Browser automation via structured accessibility trees
BlenderMCP
Claude AI meets Blender for instant 3D creation
Pydantic AI
Build GenAI agents with Pydantic validation and observability
Chrome DevTools MCP
AI-powered Chrome automation and debugging
Weekly Views
Server Health
Information
Explore More Servers
Skyfire MCP Server
AI‑powered payments via Skyfire API
Osquery MCP Server
AI‑powered system diagnostics via natural language
Filesystem MCP Server
Secure, controlled access to filesystem operations via MCP
Cloudflare API MCP Server
Integrate Cloudflare APIs via lightweight MCP
LSP Tools MCP Server
Text analysis with LSP-style regex tools
Simple Model Context Protocol MCP Server
Demo server for MCP-enabled LLM integration