Skip to content
Windsurf

Pi-hole MCP Server for Windsurf

io.github.hexamatic/pihole-mcp

Manage Pi-hole v6: DNS blocking, domains, clients, query analysis, DHCP, and multi-instance sync.

client:Windsurf transport:stdio runtime:oci

Install Pi-hole MCP Server in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "pihole-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hexamatic/pihole-mcp:0.9.0"
      ],
      "env": {
        "PIHOLE_URL": "<PIHOLE_URL>",
        "PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>",
        "TZ": "<TZ>",
        "PIHOLE_READ_ONLY": "<PIHOLE_READ_ONLY>",
        "PIHOLE_TLS_SKIP_VERIFY": "<PIHOLE_TLS_SKIP_VERIFY>",
        "PIHOLE_REQUEST_TIMEOUT": "<PIHOLE_REQUEST_TIMEOUT>",
        "PIHOLE_MAX_RETRIES": "<PIHOLE_MAX_RETRIES>",
        "PIHOLE_RETRY_MAX_DELAY": "<PIHOLE_RETRY_MAX_DELAY>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Pi-hole MCP Server in other clients