This is an automated archive made by the Lemmit Bot.
The original was posted on /r/homeassistant by /u/paulomac1000 on 2026-06-14 20:37:20+00:00.
I’ve been working on a read-only MCP server for Home Assistant: HA-MCP-Readonly. The idea is simple: give AI assistants much better visibility into a HA instance without giving them write access. It can inspect entities, automations, scripts, devices, areas, logs, config files, diagnostics, Lovelace dashboards, blueprints, registries, and a lot more. I built it mostly because generic coding agents tend to get lost very quickly in real Home Assistant setups, especially when YAML, storage registries, automations, templates, and entity relationships all interact with each other.
A big focus is deep debugging and token efficiency. Instead of asking an agent to read huge raw files or manually search through everything one step at a time, the server exposes higher-level tools that return processed output: grouped states, automation diagnostics, log insights, unavailable entities, area diagnostics, batch entity searches, batch YAML validation, automation conflict detection, and similar summaries. It also includes graph-based methods for finding references, dependencies, consumers, neighbors, impact, ghost references, and orphaned entities. Since I couldn’t find a tool that really understands Home Assistant dependency relationships, this graph layer helps agents keep track of how things are connected instead of guessing from scattered files.
There is also a static context generator, which I personally use at the start of a conversation to give an agent a snapshot of my whole HA instance. It can generate a Markdown context file with entity inventory, automations, dashboards, devices, logs, config health, blueprint usage, template references, and more. This is useful even if you don’t use an MCP-capable agent at all: you can paste or upload the generated context into something like ChatGPT Projects, Claude Projects, Qwen, or a RAG setup and work with your Home Assistant configuration for free, without exposing your live instance.