mcp pihole for VS Code
io.github.aplaceforallmystuff/mcp-pihole
Pi-hole v6 MCP server - manage DNS blocking, stats, whitelists/blacklists
client:VS Code
transport:stdio
runtime:npm
Install mcp pihole in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "pihole-url",
"description": "PIHOLE_URL",
"password": true
},
{
"type": "promptString",
"id": "pihole-password",
"description": "PIHOLE_PASSWORD",
"password": true
}
],
"servers": {
"mcp-pihole": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-pihole-server"
],
"env": {
"PIHOLE_URL": "${input:pihole-url}",
"PIHOLE_PASSWORD": "${input:pihole-password}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs