← Back to Plugins
MCP Server MCP

Pi-hole MCP Server

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

npx -y @ranklancer/[email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "@ranklancer/pihole-mcp",
      "version": "0.2.0",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Comma-separated list of Pi-hole instance names (e.g. 'pihole' or 'primary,secondary')",
          "isRequired": true,
          "format": "string",
          "name": "PIHOLE_INSTANCES"
        },
        {
          "description": "Base URL of your first Pi-hole instance (e.g. 'http://192.168.1.100')",
          "isRequired": true,
          "format": "string",
          "name": "PIHOLE_BASE_URL"
        },
        {
          "description": "API password for your first Pi-hole instance",
          "isRequired": true,
          "format": "string",
          "isSecret": true,
          "name": "PIHOLE_PASSWORD"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...