MCP Pi-hole Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PIHOLE_URL | Yes | Pi-hole web interface URL | |
| PIHOLE_PASSWORD | Yes | Pi-hole app password (generated in Pi-hole settings) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pihole_get_statsA | Get Pi-hole statistics including total queries, blocked queries, blocking percentage, active clients, and domains being blocked |
| pihole_get_blocking_statusA | Check if Pi-hole blocking is currently enabled or disabled |
| pihole_enable_blockingB | Enable Pi-hole DNS blocking |
| pihole_disable_blockingA | Disable Pi-hole DNS blocking, optionally for a specific duration |
| pihole_get_top_blockedB | Get the top blocked domains |
| pihole_get_top_permittedC | Get the top permitted (allowed) domains |
| pihole_get_top_clientsC | Get the top clients by query count |
| pihole_get_query_logC | Get recent DNS queries from the query log |
| pihole_add_to_whitelistC | Add a domain to the Pi-hole whitelist (allow list) |
| pihole_add_to_blacklistC | Add a domain to the Pi-hole blacklist (block list) |
| pihole_remove_from_whitelistC | Remove a domain from the Pi-hole whitelist |
| pihole_remove_from_blacklistC | Remove a domain from the Pi-hole blacklist |
| pihole_get_whitelistA | Get all domains on the Pi-hole whitelist |
| pihole_get_blacklistA | Get all domains on the Pi-hole blacklist |
| pihole_update_gravityA | Update Pi-hole's gravity (refresh blocklists). This may take a minute to complete. |
| pihole_flush_cacheB | Flush Pi-hole's DNS cache |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/aplaceforallmystuff/mcp-pihole'
If you have feedback or need assistance with the MCP directory API, please join our Discord server