pihole-mcp-server
Verified Safeby JafarKhQ
Overview
Manage Pi-hole instances and DNS settings programmatically via AI applications using predefined commands.
Installation
java -jar /absolute/path/to/pihole-mcp.jarEnvironment Variables
- PIHOLE_PORT
- PIHOLE_HOST
- PIHOLE_APP_PASSWORD
Security Notes
The Pi-hole application password (`PIHOLE_APP_PASSWORD`) is correctly managed as an environment variable and used for authentication with proper token caching, invalidation, and retry mechanisms. Input validation for domain and list management helps prevent malformed requests to the Pi-hole API. No 'eval' or other direct code injection vulnerabilities were found. The 'GroupsService' has a placeholder implementation for `getGroupId` returning a default of '0', which is a functional limitation rather than a security vulnerability for the server itself, but could lead to unintended group assignments if the Pi-hole API uses non-zero default groups.
Similar Servers
xiaozhi-esp32-server-java
Provides backend support and a management platform for smart hardware devices, focusing on AI-powered voice interaction, device management, and IoT control.
arcade-mcp
Provides a framework and pre-built toolkits for integrating Large Language Models (LLMs) with various external services and databases, enabling AI agents to interact with the real world.
solon-ai
The Model Context Protocol (MCP) server provides a standardized interface for AI models to interact with external tools, resources, and prompt templates through a structured, bidirectional communication protocol.
mcp_massive
An AI agent orchestration server, likely interacting with LLMs and managing multi-agent workflows.