Skip to content
VS Code

pihole mcp for VS Code

io.github.mrfentmen/pihole-mcp

MCP server for Pi-hole: status, stats, blocking toggle. Works with any instance.

client:VS Code transport:stdio runtime:npm

Install pihole mcp in VS Code

.vscode/mcp.json

{
  "servers": {
    "pihole-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pihole-mcp"
      ]
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

pihole mcp in other clients