{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.ranklancer/pihole-mcp",
  "slug": "io.github.ranklancer.pihole-mcp",
  "title": "Pi-hole MCP Server",
  "summary": "MCP server for Pi-hole v6 API — manage multiple instances: queries, lists, groups, stats",
  "version": "0.2.0",
  "serverKey": "pihole-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.ranklancer.pihole-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.ranklancer.pihole-mcp/install.md",
  "trust": {
    "score": 78,
    "grade": "B",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-01T16:58:26.208081551Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ranklancer/pihole-mcp@0.2.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add pihole-mcp -e 'PIHOLE_BASE_URL=<PIHOLE_BASE_URL>' -e 'PIHOLE_INSTANCES=<PIHOLE_INSTANCES>' -e 'PIHOLE_PASSWORD=<PIHOLE_PASSWORD>' -- npx -y @ranklancer/pihole-mcp@0.2.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"pihole-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@ranklancer/pihole-mcp@0.2.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PIHOLE_BASE_URL\": \"<PIHOLE_BASE_URL>\",\n        \"PIHOLE_INSTANCES\": \"<PIHOLE_INSTANCES>\",\n        \"PIHOLE_PASSWORD\": \"<PIHOLE_PASSWORD>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"pihole-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@ranklancer/pihole-mcp@0.2.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PIHOLE_BASE_URL\": \"<PIHOLE_BASE_URL>\",\n        \"PIHOLE_INSTANCES\": \"<PIHOLE_INSTANCES>\",\n        \"PIHOLE_PASSWORD\": \"<PIHOLE_PASSWORD>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"PIHOLE_BASE_URL\",\n      \"id\": \"pihole-base-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"PIHOLE_INSTANCES\",\n      \"id\": \"pihole-instances\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"PIHOLE_PASSWORD\",\n      \"id\": \"pihole-password\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"pihole-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@ranklancer/pihole-mcp@0.2.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"PIHOLE_BASE_URL\": \"${input:pihole-base-url}\",\n        \"PIHOLE_INSTANCES\": \"${input:pihole-instances}\",\n        \"PIHOLE_PASSWORD\": \"${input:pihole-password}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.pihole-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"@ranklancer/pihole-mcp@0.2.0\"]\nenv = { \"PIHOLE_BASE_URL\" = \"<PIHOLE_BASE_URL>\", \"PIHOLE_INSTANCES\" = \"<PIHOLE_INSTANCES>\", \"PIHOLE_PASSWORD\" = \"<PIHOLE_PASSWORD>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "PIHOLE_INSTANCES",
      "required": true,
      "secret": false,
      "description": "Comma-separated list of Pi-hole instance names (e.g. 'pihole' or 'primary,secondary')",
      "help": "Comma-separated list of Pi-hole instance names (e.g. 'pihole' or 'primary,secondary')",
      "placeholder": "<PIHOLE_INSTANCES>"
    },
    {
      "name": "PIHOLE_BASE_URL",
      "required": true,
      "secret": false,
      "description": "Base URL of your first Pi-hole instance (e.g. 'http://192.168.1.100')",
      "help": "Base URL of your first Pi-hole instance (e.g. 'http://192.168.1.100')",
      "placeholder": "<PIHOLE_BASE_URL>"
    },
    {
      "name": "PIHOLE_PASSWORD",
      "required": true,
      "secret": true,
      "description": "API password for your first Pi-hole instance",
      "help": "API password for your first Pi-hole instance",
      "placeholder": "<PIHOLE_PASSWORD>"
    }
  ],
  "agentSteps": [
    "Ask the user for: PIHOLE_INSTANCES, PIHOLE_BASE_URL, PIHOLE_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T16:58:26.208081551Z"
}
