Skip to content
Cursor

mcp pihole for Cursor

io.github.aplaceforallmystuff/mcp-pihole

Pi-hole v6 MCP server - manage DNS blocking, stats, whitelists/blacklists

client:Cursor transport:stdio runtime:npm

Install mcp pihole in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "mcp-pihole": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-pihole-server"
      ],
      "env": {
        "PIHOLE_URL": "<PIHOLE_URL>",
        "PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

mcp pihole in other clients