Pi-hole MCP Server for Cursor
io.github.ranklancer/pihole-mcp
MCP server for Pi-hole v6 API — manage multiple instances: queries, lists, groups, stats
client:Cursor
transport:stdio
runtime:npm
Install Pi-hole MCP Server in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"pihole-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ranklancer/pihole-mcp"
],
"env": {
"PIHOLE_INSTANCES": "<PIHOLE_INSTANCES>",
"PIHOLE_BASE_URL": "<PIHOLE_BASE_URL>",
"PIHOLE_PASSWORD": "<PIHOLE_PASSWORD>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs