TokenToSeaMCP Hub
中文 Console

mcp-pihole

aplaceforallmystuff

MCP server for Pi-hole v6 API - control DNS blocking from Claude Code

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add pihole --env PIHOLE_URL='<PIHOLE_URL>' --env PIHOLE_PASSWORD='<PIHOLE_PASSWORD>' -- npx -y mcp-pihole-server

Environment variables

  • PIHOLE_URL
  • PIHOLE_PASSWORD

Replace the placeholders with your own credentials and keep them out of version control.