Skip to content
Windsurf

Pi-hole MCP Server for Windsurf

io.github.ranklancer/pihole-mcp

MCP server for Pi-hole v6 API — manage multiple instances: queries, lists, groups, stats

client:Windsurf transport:stdio runtime:npm

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": "npx",
      "args": [
        "-y",
        "@ranklancer/pihole-mcp"
      ],
      "env": {
        "PIHOLE_INSTANCES": "<PIHOLE_INSTANCES>",
        "PIHOLE_BASE_URL": "<PIHOLE_BASE_URL>",
        "PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
      }
    }
  }
}

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

Pi-hole MCP Server in other clients