home-assistant-agent-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HA_URL | No | The URL of your Home Assistant instance. Defaults to http://homeassistant.local:8123. | http://homeassistant.local:8123 |
| HA_TOKEN | Yes | Your Home Assistant long-lived access token. |
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 |
|---|---|
| ha_get_statesA | Get all entity states. Optionally filter by domain (e.g. light, climate, sensor, switch). |
| ha_get_entityB | Get state and all attributes of a specific entity. |
| ha_rename_entityA | Set or clear an entity's own name in the entity registry. Note: for device-based entities the displayed name is usually ' ', so to rename a room's thermostat, rename the device (ha_update_device) or the area (ha_update_area) instead, and clear the entity name. Pass null, "" or "null" to clear the name. |
| ha_update_deviceA | Rename a device and/or move it to another area. Identify it by device_id or by one of its entity_ids. Moving a device moves all its entities that don't have an area of their own. |
| ha_list_areasA | List all areas (rooms) with their ids, names and floors, plus the list of floors. |
| ha_update_areaB | Rename an area (room) and/or assign it to a floor. The area_id stays the same, so automations keep working. |
| ha_call_serviceC | Call any Home Assistant service to control lights, climate, media players, switches, etc. |
| ha_list_automationsA | List all automations with their IDs, aliases, and enabled state. |
| ha_get_automationB | Get the full config of a specific automation by its numeric ID. |
| ha_create_automationB | Create a new automation. Provide the full config object. |
| ha_update_automationC | Update an existing automation by its numeric ID. |
| ha_delete_automationB | Permanently delete an automation by its numeric ID. |
| ha_toggle_automationC | Enable or disable an automation. |
| ha_list_dashboardsB | List all Lovelace dashboards. |
| ha_get_dashboardA | Get the full card/view config of a Lovelace dashboard. Omit url_path for the default dashboard. |
| ha_create_dashboardC | Create a new Lovelace dashboard. |
| ha_update_dashboardA | Save the full config (views, cards) of a Lovelace dashboard. Omit url_path for the default dashboard. |
| ha_render_templateB | Render a Jinja2 template string. Useful for testing templates before using them in automations. |
| ha_notifyC | Send a notification via Home Assistant. |
| ha_get_historyC | Get the state history of an entity over the last N hours. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 20 tools
Most tools target distinct resource+action pairs (states, entities, areas, automations, dashboards). There is some overlap between ha_rename_entity, ha_update_device, and ha_update_area since all can affect naming, but the descriptions explicitly clarify when to use each.
Every tool follows a consistent ha_ prefix with a snake_case verb_noun pattern (e.g., ha_get_states, ha_create_automation, ha_update_dashboard). The convention is predictable throughout the entire set.
Twenty tools is on the higher end, but the server spans several distinct Home Assistant domains: state reading, registry/area management, automations, dashboards, and utilities. Each tool earns its place, though a few utility tools could potentially be consolidated.
Core workflows are covered, but there are notable gaps: no device listing despite ha_update_device accepting device_id, no dashboard deletion, no area creation/deletion, and no script/scene management. Agents can work around some gaps (e.g., identifying devices via entity_ids) but not all.