Skip to main content
Glama
brettbergin

Pi-hole MCP Server

by brettbergin

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PIHOLE_MCP_CONFIG_DIRNoConfiguration directory~/.local/share/pihole-mcp-server

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
pihole_statusA

Get Pi-hole status and statistics

pihole_enableB

Enable Pi-hole DNS blocking

pihole_disableB

Disable Pi-hole DNS blocking

pihole_versionA

Get Pi-hole version information

pihole_test_connectionA

Test Pi-hole connection and authentication

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/brettbergin/pihole-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server