Home-Assistant-Diagnostics-MCP-Server
Verified Safeby burgueishon
Overview
Enables AI models to autonomously diagnose, troubleshoot, and monitor Home Assistant smart home installations.
Installation
uv run home-assistant-diagnostics-mcpEnvironment Variables
- HA_URL
- HA_TOKEN
Security Notes
The server retrieves `HA_URL` and `HA_TOKEN` from environment variables, which is good practice. However, it explicitly disables SSL certificate verification (`ssl_context.check_hostname = False; ssl_context.verify_mode = ssl.CERT_NONE`) for WebSocket connections to Home Assistant. While practical for local Home Assistant instances using self-signed certificates, this can technically expose the system to Man-in-the-Middle (MITM) attacks if the HA_URL endpoint is not trusted. The 'Long-Lived Access Token' grants extensive control over the Home Assistant instance, meaning a compromise of this server could lead to full control over the smart home setup. No direct code injection vectors (e.g., `eval`, `exec`, `subprocess`) are apparent from user inputs; interactions are mediated through Home Assistant's API services.
Similar Servers
ha-mcp
Provides AI agents with complete control over Home Assistant via REST and WebSocket APIs, offering a comprehensive suite of tools for smart home management, automation, and debugging.
advanced-homeassistant-mcp
A powerful, secure, and extensible Model Context Protocol (MCP) server that enables AI assistants like Claude, GPT, and Cursor to seamlessly interact with Home Assistant. Control your lights, climate, automations, and more through natural language commands.
openhab-mcp
This project provides an MCP (Model Context Protocol) server to enable AI assistants like Claude and Cline to interact with and manage a real openHAB smart home system via its REST API.
poly-observability-mcp
Unified Model Context Protocol (MCP) server for querying metrics, logs, and traces from various observability backends like Prometheus, Grafana, Loki, and Jaeger, primarily enabling AI assistants.