adguard_toggle_protection
Enable or disable global filtering; off stops ALL blocking (POST /control/protection).
How to use it
Project documentation lists adguard_toggle_protection for the Adguardctrl MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Adguardctrl
npx -y @solomonneas/adguard-mcpOther tools in Adguardctrl (32)
Register a new named client with per-client settings (POST /control/clients/add).
Subscribe to a new blocklist or allowlist URL (POST /control/filtering/addurl).
Append a single user filter rule (POST /control/filtering/setrules).
Test what AGH would do with a hostname: filter decision, matched rules, CNAME chain, IPs (GET /control/filtering/checkhost).
Wipe the DNS query log (POST /control/querylogclear).
Remove a configured named client; per-client rules and stats are lost (POST /control/clients/delete).
Global blocked-services list + weekly schedule (GET /control/blockedservices/get).
DNS upstreams, bootstrap, cache, parallel resolution, blocking mode (GET /control/dnsinfo).
SafeSearch enabled state + per-engine flags (GET /control/safesearch/status).
Available service IDs to block (GET /control/blockedservices/services).
Configured named clients (GET /control/clients).
Subscribed blocklists + allowlists (GET /control/filtering/status).
Custom user rules (GET /control/filtering/status).
DNS query log slice with filters (GET /control/querylog).
Force refresh subscribed filter lists immediately (POST /control/filtering/refresh).
Unsubscribe from a filter list by URL (POST /control/filtering/removeurl).
Remove a single user filter rule by exact match (POST /control/filtering/setrules).
Wholesale replace the user rules block (POST /control/filtering/setrules).
Zero the stats window (POST /control/statsreset).
Set GLOBAL blocked services + optional weekly schedule; accepts HH:MM strings or ms (PUT /control/blockedservices/update).
Set per-client blocked services + schedule (POST /control/clients/update).
Stats window: top queries, blocked counts, clients (GET /control/stats).
Server status + protection state (GET /control/status).
Clear AdGuardHome Sync in-memory logs (POST /api/v1/clear-logs).
AdGuardHome Sync health check (HEAD /healthz).
AdGuardHome Sync in-memory logs (GET /api/v1/logs).
Trigger AdGuardHome Sync immediately (POST /api/v1/sync).
AdGuardHome Sync origin/replica status (GET /api/v1/status).
Enable or disable a subscribed filter list (POST /control/filtering/seturl).
Enable or disable AGH SafeBrowsing (POST /control/safebrowsing/enable or /disable).
Enable or disable SafeSearch globally with per-engine flags (PUT /control/safesearch/settings).
Full update for an existing named client; body is nested {name, data} (POST /control/clients/update).