This MCP server connects AI assistants to a Pi-hole network-wide ad blocker, allowing users to manage DNS blocking, view statistics, and control whitelists/blacklists through natural language.
From the registry: Pi-hole v6 MCP server - manage DNS blocking, stats, whitelists/blacklists

Please install the `mcp-pihole` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Pi-hole v6 with API enabled** — Running Pi-hole instance with API access (https://pi-hole.net)
- **Pi-hole app password** — Generate from Pi-hole Settings > API
- **Node.js 18+** — Node.js runtime
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","mcp-pihole-server"]
- required environment variables:
- `PIHOLE_URL`: Pi-hole web interface URL (example: `http://pihole.local:8080`)
- `PIHOLE_PASSWORD`: Pi-hole app password (example: `<your-app-password>`)
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.PIHOLE_URLrequiredPi-hole web interface URLPIHOLE_PASSWORDrequiredPi-hole app passwordManage UniFi Access doors, credentials, policies, visitors, and events via MCP.