About Home Assistant MCP
Home Assistant MCP is an MCP server published by Coolver in the Developer Tools category: home Assistant MCP Server. Enable Cursor, VS Code, Claude Code or any MCP-enabled IDE to vibe-code and manage Home Assistant: create automations, design dashboards, tweak themes, modify configs and deploy changes to your HA instance using natural language 🏠🤖. Conduid read 101 tools from its source: ha_add_repository, ha_addon_info, ha_addon_logs, ha_analyze_entities_for_dashboard, ha_apply_dashboard, ha_call_service and 95 more. No package is published for it, so it installs from a source checkout.
The repository has 58 stars and 7 forks, is licensed MIT, and its last commit was on 21 Oct 2026. The latest release is v3.2.31. It follows v3.2.30, and the 5 most recent releases go back to v3.2.27. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools.
Install
git clone https://github.com/Coolver/home-assistant-mcpTools (101)
ha_add_repository[WRITE] Add a custom add-on repository to Home Assistant. MODIFIES configuration - requires approval. Use to add community repositories with popular add-ons (Zigbee2MQTT, Node-RED, ESPHome, etc).| Parameter | Type | Description |
|---|---|---|
| repository_url * | string | Repository URL to add (e.g., https://github.com/hassio-addons/repository) |
ha_addon_info[READ-ONLY] Get detailed information about a specific add-on (configuration, state, version, etc). Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| slug * | string | Add-on slug (e.g., "core_mosquitto", "a0d7b954_zigbee2mqtt") |
ha_addon_logs[READ-ONLY] Get add-on logs for troubleshooting. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| lines | number | Number of log lines to return (default: 100) |
| slug * | string | Add-on slug |
ha_analyze_entities_for_dashboard[READ-ONLY] Get entities for AI-driven dashboard generation with pagination/filtering. Safe operation - only reads data. Use summary_only=true to reduce payload; if has_next=true, request next page.| Parameter | Type | Description |
|---|---|---|
| domains | array | Optional domain filters (e.g., ["climate", "light"]) |
| full_list | boolean | If true, return full list without pagination |
| page | number | Page number (1-based, default 1) |
| page_size | number | Entities per page (default 250, max 500) |
| summary_only | boolean | If true, return lightweight entity summary instead of full state objects |
ha_apply_dashboard[WRITE] Apply generated dashboard configuration to Home Assistant. Creates file, auto-registers in configuration.yaml, and restarts HA. Creates automatic Git backup. MODIFIES configuration - requires approval! Provide a meaningful description of what the dashboard shows (e.g., "Main dashboard with climate and lights", "Overview of all sensors").| Parameter | Type | Description |
|---|---|---|
| create_backup | boolean | Create Git backup before applying (default: true) |
| dashboard_config * | object | Dashboard configuration object (from ha_generate_dashboard) |
| description | string | Optional: Human-readable description of what the dashboard shows and why (e.g., "Main dashboard with climate controls and lights", "Overview dashboard showing all sensors and devices"). This will be used in Git commit message. |
| filename | string | Dashboard filename (default: ai-dashboard.yaml) |
| register_dashboard | boolean | Auto-register dashboard in configuration.yaml (default: true) |
ha_call_service[WRITE] Call a Home Assistant service. MODIFIES system state - requires approval. Examples: number.set_value, light.turn_on, climate.set_temperature, switch.turn_on. For a service whose result is the data it returns (weather.get_forecasts, calendar.get_events, todo.get_items, or any action that requires a response), set return_response true or the result is dropped.| Parameter | Type | Description |
|---|---|---|
| domain * | string | Service domain (e.g., "number", "light", "climate", "switch", "input_number") |
| return_response | boolean | Ask Home Assistant to return the service response. Required for weather.get_forecasts, calendar.get_events, todo.get_items, and services that refuse a caller that does not accept a response. |
| service * | string | Service name (e.g., "set_value", "turn_on", "set_temperature", "turn_off") |
| service_data | object | Service data (e.g., {"entity_id": "number.alex_trv_local_temperature_offset", "value": -2.0} for number.set_value) |
| target | object | Target entity/entities (e.g., {"entity_id": "light.living_room"} or {"entity_id": ["light.room1", "light.room2"]}) |
| wait_for_state | string | If set, poll target entity until it reaches this state (e.g., "on", "off", "21.0"). Eliminates race conditions. |
| wait_timeout | number | Max seconds to wait for state change (default 10). Only used with wait_for_state. |
ha_check_config[READ-ONLY] Validate Home Assistant configuration. Safe operation - only checks, does not modify.ha_check_theme_config[READ-ONLY] Check if themes are configured in configuration.yaml. Safe operation - only reads data.ha_core_logs[READ-ONLY] Read the Home Assistant journal from Supervisor: Core (Settings → System → Logs), the Supervisor, or the host OS. Default source is core. level keeps that level and above plus the following traceback. host is the OS journal and is noisy. Not available outside Home Assistant OS. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| level | string | Optional minimum level. WARNING keeps warnings, errors, and critical lines. |
| lines | number | How many recent lines to fetch (default 100, max 500) |
| source | string | Which journal to read. Default: core |
ha_create_area[WRITE] Create new area in Area Registry. MODIFIES area registry - requires approval.| Parameter | Type | Description |
|---|---|---|
| aliases | array | Optional aliases for area |
| name * | string | Area name (e.g., "Living Room") |
ha_create_automation[WRITE] Create new automation in Home Assistant. MODIFIES configuration - requires approval. Provide a meaningful description of what the automation does (e.g., "Control lights based on motion", "Adjust temperature based on schedule").| Parameter | Type | Description |
|---|---|---|
| config * | object | Automation configuration (id, alias, trigger, condition, action) |
| description | string | Optional: Human-readable description of what the automation does and why (e.g., "Control living room lights when motion detected", "Adjust bedroom temperature based on schedule", "Turn off all lights when leaving home"). This will be used in Git commit message. |
ha_create_category[WRITE] Create a category in a scope (automation, script, helpers). Returns the new category_id. MODIFIES category registry - requires approval.| Parameter | Type | Description |
|---|---|---|
| icon | string | Optional mdi icon |
| name * | string | Display name |
| scope * | string | Category scope, e.g. automation, script, helpers |
ha_create_checkpoint[WRITE] Save the current configuration before making changes, with a tag and the user request description. Call at the start of a request. Edits made afterwards are still committed on their own.| Parameter | Type | Description |
|---|---|---|
| user_request * | string | Description of the user request (e.g., "Create nice_dark theme with dark blue header") |
ha_create_helper[WRITE] Create a Home Assistant helper via YAML configuration. MODIFIES configuration - requires approval. Helper will be created in YAML file and reloaded automatically. Provide a meaningful description of what the helper is for (e.g., "Enable/disable climate system", "Set target temperature").| Parameter | Type | Description |
|---|---|---|
| config * | object | Helper configuration (must include "name" field) |
| description | string | Optional: Human-readable description of what the helper is for and why (e.g., "Enable/disable climate system control", "Set target temperature for living room"). This will be used in Git commit message. |
| type * | string | Helper type (YAML-managed helper or helper-like domain) |
ha_create_script[WRITE] Create new script in Home Assistant. MODIFIES configuration - requires approval. Provide a meaningful description of what the script does (e.g., "Start morning routine", "Control climate system").| Parameter | Type | Description |
|---|---|---|
| config * | object | Script configuration object |
| description | string | Optional: Human-readable description of what the script does and why (e.g., "Start morning routine: turn on lights and adjust temperature", "Control climate system startup sequence"). This will be used in Git commit message. |
ha_create_theme[WRITE] Create a new theme in Home Assistant. MODIFIES configuration - requires approval. After creation, call ha_reload_themes or restart HA. Provide a meaningful description of the theme (e.g., "Dark theme with blue accents", "Light theme for daytime use").| Parameter | Type | Description |
|---|---|---|
| description | string | Optional: Human-readable description of the theme and why it was created (e.g., "Dark theme with blue accents for better visibility", "Light theme optimized for daytime use"). This will be used in Git commit message. |
| theme_config * | object | Theme configuration object with CSS variables (e.g., {"primary-color": "#ffb74d", "accent-color": "#ffb74d", ...}) |
| theme_name * | string | Theme name (without .yaml extension, e.g., "nice_dark") |
ha_create_todo[WRITE] Add an item to a todo list. MODIFIES data.| Parameter | Type | Description |
|---|---|---|
| entity_id * | string | Todo list entity ID (e.g., "todo.shopping_list") |
| item * | string | Todo item text to add |
ha_create_zone[WRITE] Create a new zone for presence detection. MODIFIES configuration.| Parameter | Type | Description |
|---|---|---|
| icon | string | MDI icon (e.g., "mdi:office-building") |
| latitude * | number | Zone center latitude |
| longitude * | number | Zone center longitude |
| name * | string | Zone name (e.g., "Office") |
| radius | number | Zone radius in meters (default: 100) |
ha_delete_area[WRITE] Delete area from Area Registry. MODIFIES area registry - requires approval.| Parameter | Type | Description |
|---|---|---|
| area_id * | string | Area ID to delete |
ha_delete_automation[WRITE] Delete automation from Home Assistant. MODIFIES configuration - requires approval.| Parameter | Type | Description |
|---|---|---|
| automation_id * | string | Automation ID to delete (e.g., "my_automation") |
ha_delete_dashboard[WRITE] Delete dashboard file and remove from configuration.yaml. Restarts Home Assistant. Creates automatic Git backup. DESTRUCTIVE - requires approval!| Parameter | Type | Description |
|---|---|---|
| create_backup | boolean | Create Git backup before deleting (default: true) |
| filename * | string | Dashboard filename to delete (e.g., ai-dashboard.yaml) |
| remove_from_config | boolean | Remove from configuration.yaml (default: true) |
ha_delete_file[WRITE] Delete a file from Home Assistant. DESTRUCTIVE - requires approval!| Parameter | Type | Description |
|---|---|---|
| path * | string | Path to the file to delete |
ha_delete_helper[WRITE] Delete a Home Assistant helper from YAML configuration. MODIFIES configuration - requires approval.| Parameter | Type | Description |
|---|---|---|
| entity_id * | string | Full entity ID of helper to delete (e.g., "input_boolean.my_switch") |
ha_delete_script[WRITE] Delete script from Home Assistant. MODIFIES configuration - requires approval.| Parameter | Type | Description |
|---|---|---|
| script_id * | string | Script ID to delete (e.g., "my_script") |
ha_delete_theme[WRITE] Delete a theme from Home Assistant. DESTRUCTIVE - requires approval! After deletion, call ha_reload_themes or restart HA.| Parameter | Type | Description |
|---|---|---|
| theme_name * | string | Theme name (without .yaml extension, e.g., "nice_dark") |
ha_delete_zone[WRITE] Delete a zone. MODIFIES configuration.| Parameter | Type | Description |
|---|---|---|
| zone_id * | string | Zone ID to delete |
ha_end_checkpoint[WRITE] Close the open checkpoint and commit any changes still waiting. Call at the end of a request. A missed call does not drop edits: each write is committed as it happens.ha_expose_entities[WRITE] Expose or unexpose entities to a voice assistant. MODIFIES voice assistant configuration - requires approval. Changes take effect immediately (no HA restart needed).| Parameter | Type | Description |
|---|---|---|
| assistant | string | Assistant name: "conversation" (default), "cloud.alexa", or "cloud.google_assistant" |
| entity_ids * | array | List of entity IDs to expose or unexpose (e.g., ["light.kitchen", "sensor.temperature"]) |
| should_expose | boolean | True to expose, False to unexpose (default: true) |
ha_find_dead_entities[READ-ONLY] Find "dead" entities in Entity Registry. Compares entities in registry (automation.* and script.*) with automations and scripts defined in YAML files to identify entities that exist in registry but are missing from YAML configuration. Safe operation - only reads data.ha_get_addon_options[READ-ONLY] Get add-on configuration options. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| slug * | string | Add-on slug |
ha_get_area_registry[READ-ONLY] Get areas from Area Registry with pagination/filtering. Safe operation - only reads data. If has_next=true, request next page.| Parameter | Type | Description |
|---|---|---|
| full_list | boolean | If true, return full list without pagination |
| page | number | Page number (1-based, default 1) |
| page_size | number | Areas per page (default 250, max 500) |
| search | string | Optional substring to search in area_id or area name |
ha_get_area_registry_entry[READ-ONLY] Get single area from Area Registry. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| area_id * | string | Area ID |
ha_get_automation[READ-ONLY] Get configuration for a single automation from automations.yaml by automation_id. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| automation_id * | string | Automation ID to fetch (e.g., "my_automation") |
ha_get_calendar_events[READ-ONLY] Get events from a calendar entity for a date range. Safe operation.| Parameter | Type | Description |
|---|---|---|
| end | string | End time in ISO format (default: 7 days from now) |
| entity_id * | string | Calendar entity ID (e.g., "calendar.personal") |
| start | string | Start time in ISO format (default: now) |
ha_get_device_registry[READ-ONLY] Get devices from Device Registry with metadata and pagination/filtering. Safe operation - only reads data. If has_next=true, request next page.| Parameter | Type | Description |
|---|---|---|
| area_id | string | Optional area_id filter |
| full_list | boolean | If true, return full list without pagination |
| page | number | Page number (1-based, default 1) |
| page_size | number | Devices per page (default 250, max 500) |
| search | string | Optional substring to search in device id/name/model/manufacturer |
ha_get_device_registry_entry[READ-ONLY] Get single device from Device Registry with optional entities list. Safe operation - only reads data. Use include_entities=true to get all entities belonging to this device (entity_id, friendly_name, domain, device_class, current state) - useful for understanding what sensors/switches/etc. a device provides.| Parameter | Type | Description |
|---|---|---|
| device_id * | string | Device ID |
| include_entities | boolean | If true, also return all entities belonging to this device with their descriptions (entity_id, friendly_name, domain, device_class, current state). Recommended when user asks about what entities a device has. |
ha_get_entity_registry[READ-ONLY] Get entities from Entity Registry with metadata (area_id, device_id, name, disabled status, etc.) and pagination/filtering. Safe operation - only reads data. If has_next=true, request next page.| Parameter | Type | Description |
|---|---|---|
| area_id | string | Optional area_id filter |
| domain | string | Optional domain filter (e.g., "climate", "light") |
| full_list | boolean | If true, return full list without pagination |
| page | number | Page number (1-based, default 1) |
| page_size | number | Entities per page (default 250, max 500) |
| search | string | Optional substring to search in entity_id, name, original_name |
ha_get_entity_registry_entry[READ-ONLY] Get single entity from Entity Registry with metadata. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| entity_id * | string | Entity ID (e.g., "climate.bedroom_trv") |
ha_get_entity_state[READ-ONLY] Get entity state and attributes. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| entity_id * | string | Entity ID (e.g., "light.living_room", "climate.bedroom") |
ha_get_history[READ-ONLY] Get state history for an entity over a time period. Safe operation. Use to analyze trends, check when something changed, or debug automation timing.| Parameter | Type | Description |
|---|---|---|
| end | string | End time in ISO format (default: now) |
| entity_id * | string | Entity ID to get history for (e.g., "sensor.bedroom_temperature") |
| minimal_response | boolean | If true (default), return minimal state data to save tokens |
| start | string | Start time in ISO format (default: 24h ago). Example: "2026-05-01T00:00:00" |
ha_get_logs[READ-ONLY] Get this add-on's own log (its connection and API chatter). For the Home Assistant Core log shown in Settings → System → Logs, use ha_core_logs. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| level | string | Filter by log level: DEBUG, INFO, WARNING, ERROR (optional) |
| limit | number | Number of log entries to retrieve (default: 100) |
ha_get_repairs[READ-ONLY] Get Home Assistant repair issues (configuration problems, deprecations, broken integrations). Similar to Settings -> System -> Repairs in the HA UI. Use to diagnose configuration issues.ha_get_script[READ-ONLY] Get configuration for a single script from scripts.yaml by script_id. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| script_id * | string | Script ID to fetch (e.g., "my_script") |
ha_get_snapshot[READ-ONLY] Get an aggregated snapshot of the Home Assistant instance: entity states, areas, devices, integrations, and automations in a single call. Use this to get full context about the user's smart home setup. Each section is optional via the include parameter to avoid overloading the context window.| Parameter | Type | Description |
|---|---|---|
| area_id | string | Filter states and devices by area_id |
| domains | string | Comma-separated domain filter for states (e.g. "light,switch,sensor"). Only applies to the states section. |
| include | string | Comma-separated sections to include: states, areas, devices, config_entries, automations. Default: "states,areas" |
| summary_only | boolean | If true, states return only entity_id + state without full attributes (saves tokens). Default: false |
ha_get_statistics[READ-ONLY] Get long-term statistics for an entity (energy consumption, temperature trends, etc.). Safe operation.| Parameter | Type | Description |
|---|---|---|
| end | string | End time in ISO format (default: now) |
| entity_id * | string | Entity ID to get statistics for (e.g., "sensor.energy_consumption") |
| period | string | Statistics period: "5minute", "hour", "day", "week", "month" (default: "hour") |
| start | string | Start time in ISO format (default: 7 days ago) |
ha_get_theme[READ-ONLY] Get theme content and configuration. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| theme_name * | string | Theme name (without .yaml extension, e.g., "nice_dark") |
ha_git_commit[WRITE] Commit configuration to Git. Creates backup snapshot. If message is not provided and git_versioning_auto=false, returns suggested commit message that needs user confirmation.| Parameter | Type | Description |
|---|---|---|
| message | string | Commit message describing the changes. If omitted and git_versioning_auto=false, the API will return a suggested message that you should show to the user for confirmation/editing before committing. |
ha_git_diff[READ-ONLY] Show differences between commits. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| commit1 | string | First commit hash (optional). If omitted, shows uncommitted changes |
| commit2 | string | Second commit hash (optional). If omitted with commit1, shows changes since commit1 to HEAD |
ha_git_history[READ-ONLY] Get Git commit history. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| limit | number | Number of commits to retrieve (default: 20) |
ha_git_pending[READ-ONLY] Get information about uncommitted changes in shadow repository. Useful when git_versioning_auto=false to see what changes are pending commit. Safe operation - only reads data.ha_git_rollback[WRITE] Rollback configuration to specific commit. DESTRUCTIVE - requires approval!| Parameter | Type | Description |
|---|---|---|
| commit_hash * | string | Git commit hash to rollback to |
ha_hacs_install_repository[WRITE] Install integration/theme/plugin from HACS. Requires HACS to be installed. MODIFIES configuration - requires approval!| Parameter | Type | Description |
|---|---|---|
| category | string | Repository category: integration, theme, plugin, appdaemon, netdaemon, python_script (default: integration) |
| repository * | string | Repository name to install (e.g., "AlexxIT/XiaomiGateway3") |
ha_hacs_list_repositories[READ-ONLY] List available HACS repositories (integrations, themes, plugins) with pagination/filtering. Requires HACS. Safe operation - only reads data. If has_next=true, request next page.| Parameter | Type | Description |
|---|---|---|
| category | string | Optional category filter |
| full_list | boolean | If true, return full list without pagination |
| page | number | Page number (1-based, default 1) |
| page_size | number | Repositories per page (default 250, max 500) |
| search | string | Optional substring search in repository full name/name/description |
ha_hacs_remove_repository[WRITE] Remove one installed HACS repository, the same as the HACS Remove button. Deletes the downloaded files and, for a dashboard card, its Lovelace resource. Does not uninstall HACS and does not delete an integration config entry. Pass the same author/name used to install it. DESTRUCTIVE - requires approval.| Parameter | Type | Description |
|---|---|---|
| repository * | string | Repository full name (e.g. "author/card-name") or the HACS repository_id from ha_hacs_list_repositories |
ha_hacs_repository_details[READ-ONLY] Get detailed information about a specific HACS repository (stars, authors, versions, etc). Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| repository_id * | string | Repository identifier (e.g., "AlexxIT/XiaomiGateway3" or part of entity_id) |
ha_hacs_search[READ-ONLY] Search HACS repositories by name, author, or description. If HACS not installed yet, use ha_hacs_status first and offer to install HACS. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| category | string | Filter by category (optional) |
| query * | string | Search query (e.g., "xiaomi", "gateway", "sensor") |
ha_hacs_status[READ-ONLY] Check if HACS is installed and get version info. ALWAYS call this FIRST when user mentions HACS or asks about custom integrations. If not installed, offer to install via ha_install_hacs. Safe operation - only reads data.ha_hacs_update_all[WRITE] Update all installed HACS repositories to latest versions. Home Assistant restart required after updates. MODIFIES configuration - requires approval!ha_import_blueprint[WRITE] Import a blueprint from a URL (community forum, GitHub). MODIFIES configuration.| Parameter | Type | Description |
|---|---|---|
| url * | string | URL to import blueprint from (e.g., Home Assistant community forum URL or GitHub raw URL) |
ha_install_addon[WRITE] Install a Home Assistant add-on. MODIFIES system - requires approval. Installation can take several minutes.| Parameter | Type | Description |
|---|---|---|
| slug * | string | Add-on slug to install (e.g., "core_mosquitto" for Mosquitto MQTT, "a0d7b954_zigbee2mqtt" for Zigbee2MQTT) |
ha_install_hacs[WRITE] Install HACS (Home Assistant Community Store). Downloads latest HACS from GitHub, installs to custom_components, and restarts Home Assistant. Opens access to 1000+ integrations. MODIFIES configuration - requires approval!ha_list_addons[READ-ONLY] List available Home Assistant add-ons with pagination/filtering. Safe operation - only reads data. If has_next=true, request next page.| Parameter | Type | Description |
|---|---|---|
| full_list | boolean | If true, return full list without pagination |
| page | number | Page number (1-based, default 1) |
| page_size | number | Add-ons per page (default 250, max 500) |
| search | string | Optional substring search in add-on name, slug, description |
ha_list_automations[READ-ONLY] List automations in Home Assistant with pagination/filtering. Safe operation - only reads data. Default page_size is 250. Use ids_only=true for most token-efficient listing, summary_only=true for lightweight listing without triggers/conditions/actions. If has_next=true, request next page.| Parameter | Type | Description |
|---|---|---|
| full_list | boolean | If true, return full list without pagination |
| ids_only | boolean | If true, return only list of automation IDs. Most token-efficient option. |
| page | number | Page number (1-based, default 1) |
| page_size | number | Automations per page (default 250, max 500) |
| search | string | Optional substring search in automation id or alias |
| summary_only | boolean | If true, return lightweight summary (id, alias, enabled, description) without triggers/conditions/actions. Saves tokens while still showing what each automation does. |
ha_list_blueprints[READ-ONLY] List available automation or script blueprints. Safe operation. Use to find community-shared templates.| Parameter | Type | Description |
|---|---|---|
| domain | string | Blueprint domain: "automation" (default) or "script" |
ha_list_calendars[READ-ONLY] List all calendar entities. Safe operation.ha_list_categories[READ-ONLY] List Home Assistant categories for a scope (automation, script, helpers). Use the returned category_id when setting categories on an entity. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| scope | string | Optional scope filter: automation, script, helpers, or another category scope |
ha_list_entities[READ-ONLY] List entities in Home Assistant with optional filters, pagination and lightweight modes. Safe operation - only reads data. Use this instead of dumping all entities at once to avoid overloading LLM context. Use ids_only=true for most token-efficient discovery of what entities exist.| Parameter | Type | Description |
|---|---|---|
| domain | string | Optional domain filter (e.g., "light", "climate", "sensor") |
| fuzzy | boolean | If true, use fuzzy matching for search (tolerates typos like "bedrrom" -> "bedroom"). Results sorted by relevance. |
| fuzzy_threshold | number | Minimum fuzzy match score 0-100 (default 60). Only used when fuzzy=true. |
| ids_only | boolean | If true, return only list of entity IDs without any other data. Most token-efficient option - use when you just need to discover what entities exist (similar to ha_list_scripts with ids_only=true). |
| page | number | Page number (1-based, default 1). Use for pagination when there are many entities. |
| page_size | number | Entities per page (default 250, max 500). Helps keep responses small for LLMs. |
| search | string | Optional substring to search in entity_id or friendly_name (e.g., "kitchen") |
| summary_only | boolean | If true, return only lightweight summary per entity (entity_id, state, domain, friendly_name) instead of full state objects. Ignored if ids_only=true. Recommended when exploring large installations. |
ha_list_exposed_entities[READ-ONLY] List entities exposed to a voice assistant (Assist/Ollama, Alexa, Google Assistant). Safe operation - only reads data. Use to check which entities are available for voice control.| Parameter | Type | Description |
|---|---|---|
| assistant | string | Assistant name: "conversation" (Assist/Ollama, default), "cloud.alexa", or "cloud.google_assistant" |
ha_list_files[READ-ONLY] List files and directories in Home Assistant with pagination support. Safe operation - only reads data. Default page_size is 250; if response has has_next=true, request next page.| Parameter | Type | Description |
|---|---|---|
| directory | string | Directory path relative to /config (default: "/") |
| full_list | boolean | If true, return full list without pagination |
| page | number | Page number (1-based, default 1) |
| page_size | number | Files per page (default 250, max 500) |
| pattern | string | File glob pattern to filter results (default: "*.yaml"). Use "*" to list all files, "*.mdc" for Cursor rules, etc. |
ha_list_helpers[READ-ONLY] List helpers in Home Assistant with pagination/filtering. Safe operation - only reads data. If has_next=true, request next page.| Parameter | Type | Description |
|---|---|---|
| domain | string | Optional helper domain filter (e.g., input_boolean, input_number, group) |
| full_list | boolean | If true, return full list without pagination |
| page | number | Page number (1-based, default 1) |
| page_size | number | Helpers per page (default 250, max 500) |
| search | string | Optional substring to search in entity_id or friendly_name |
ha_list_installed_addons[READ-ONLY] List only installed add-ons. Safe operation - only reads data.ha_list_repositories[READ-ONLY] List all add-on repositories connected to Home Assistant. Shows which sources provide available add-ons. Safe operation - only reads data.ha_list_scripts[READ-ONLY] List scripts in Home Assistant with pagination/filtering. Safe operation - only reads data. Default page_size is 250. Use ids_only=true for token-efficient listing. If has_next=true, request next page.| Parameter | Type | Description |
|---|---|---|
| full_list | boolean | If true, return full list without pagination |
| ids_only | boolean | If true, return only list of script IDs. If false (default), return full script configurations. |
| page | number | Page number (1-based, default 1) |
| page_size | number | Scripts per page (default 250, max 500) |
| search | string | Optional substring search in script id or alias |
ha_list_store_addons[READ-ONLY] List add-ons from add-on store catalog with pagination/filtering. Safe operation - only reads data. If has_next=true, request next page.| Parameter | Type | Description |
|---|---|---|
| full_list | boolean | If true, return full list without pagination |
| page | number | Page number (1-based, default 1) |
| page_size | number | Add-ons per page (default 250, max 500) |
| search | string | Optional substring search in add-on name, slug, description |
ha_list_themes[READ-ONLY] List all available themes in Home Assistant. Safe operation - only reads data.ha_list_todos[READ-ONLY] Get items from a todo list entity. Safe operation.| Parameter | Type | Description |
|---|---|---|
| entity_id * | string | Todo list entity ID (e.g., "todo.shopping_list") |
ha_list_zones[READ-ONLY] List all zones configured in Home Assistant (used for presence detection). Safe operation.ha_logbook_entries[READ-ONLY] Fetch Home Assistant logbook entries for analyzing automations, scripts, and other events.| Parameter | Type | Description |
|---|---|---|
| domains | array | Filter by domains (e.g., automation, script, light). |
| end_time | string | ISO timestamp (UTC) for the end of the window. Defaults to now. |
| entity_id | string | Filter by a single entity_id (e.g., "script.my_script"). |
| entity_ids | array | List of entity_ids to include (comma-separated or repeated query values). |
| event_types | array | Filter by logbook event types (e.g., automation_triggered, script_started). |
| limit | number | Maximum number of entries to return (default: 100). |
| lookback_minutes | number | Lookback window in minutes when start_time is omitted (default: 120). |
| search | string | Case-insensitive search string for name/message/entity_id. |
| start_time | string | ISO timestamp (UTC) for the start of the window. Optional if lookback_minutes is provided. |
ha_preview_dashboard[READ-ONLY] Preview current Lovelace dashboard configuration. Shows existing ui-lovelace.yaml if configured. Safe operation - only reads data.ha_read_file[READ-ONLY] Read a file from Home Assistant configuration directory. Safe operation - only reads data.| Parameter | Type | Description |
|---|---|---|
| path * | string | Path to the file relative to /config (e.g., "configuration.yaml", "automations.yaml", "scripts/my_script.yaml") |
ha_reload_config[WRITE] Reload Home Assistant configuration. APPLIES changes - requires approval!| Parameter | Type | Description |
|---|---|---|
| component | string | Component to reload: "automations", "scripts", "templates", "core", or "all" (default: "all") |
ha_reload_themes[WRITE] Reload themes in Home Assistant. MODIFIES system state - requires approval. Calls frontend.reload_themes service.ha_remove_device_registry_entry[WRITE] Remove device from Device Registry. MODIFIES device registry - requires approval.| Parameter | Type | Description |
|---|---|---|
| device_id * | string | Device ID to remove from registry |
ha_remove_entity_registry_entry[WRITE] Remove entity from Entity Registry. MODIFIES entity registry - requires approval.| Parameter | Type | Description |
|---|---|---|
| entity_id * | string | Entity ID to remove from registry |
ha_rename_entity[WRITE] Rename an entity_id in Home Assistant via Entity Registry. MODIFIES entity registry - requires approval. After renaming, you may need to reload automations/scripts that reference the entity.| Parameter | Type | Description |
|---|---|---|
| new_entity_id * | string | New entity_id (e.g., "climate.office_trv_thermostat") |
| old_entity_id * | string | Current entity_id (e.g., "climate.sonoff_trvzb_thermostat") |
ha_restart[WRITE] FULL restart of Home Assistant. Completely restarts HA Core. Use when configuration changes require full restart (e.g., new dashboards, integrations). HA will be unavailable for 30-60 seconds. DISRUPTIVE - requires approval!ha_restart_addon[WRITE] Restart an add-on. MODIFIES system - requires approval.| Parameter | Type | Description |
|---|---|---|
| slug * | string | Add-on slug to restart |
ha_set_addon_options[WRITE] Set add-on configuration options. MODIFIES configuration - requires approval. Add-on may need restart.| Parameter | Type | Description |
|---|---|---|
| options * | object | Configuration options to set (key-value pairs) |
| slug * | string | Add-on slug |
ha_start_addon[WRITE] Start an add-on. MODIFIES system - requires approval.| Parameter | Type | Description |
|---|---|---|
| slug * | string | Add-on slug to start |
ha_stop_addon[WRITE] Stop a running add-on. MODIFIES system - requires approval.| Parameter | Type | Description |
|---|---|---|
| slug * | string | Add-on slug to stop |
ha_uninstall_addon[WRITE] Uninstall a Home Assistant add-on. DESTRUCTIVE - requires approval! Removes add-on and its data.| Parameter | Type | Description |
|---|---|---|
| slug * | string | Add-on slug to uninstall |
ha_uninstall_hacs[WRITE] Uninstall HACS itself (the whole Community Store). Removes the HACS directory and storage files, then restarts Home Assistant. To remove one integration, theme, or dashboard card, use ha_hacs_remove_repository instead. DESTRUCTIVE - requires approval!ha_update_addon[WRITE] Update an add-on to latest version. MODIFIES system - requires approval. Update can take several minutes.| Parameter | Type | Description |
|---|---|---|
| slug * | string | Add-on slug to update |
ha_update_area[WRITE] Update area in Area Registry. MODIFIES area registry - requires approval.| Parameter | Type | Description |
|---|---|---|
| aliases | array | New aliases list |
| area_id * | string | Area ID to update |
| name | string | New area name |
ha_update_automation[WRITE] Update existing automation in Home Assistant. MODIFIES configuration - requires approval. Provide a meaningful description of what changed and why (e.g., "Update trigger time", "Add new condition", "Modify action sequence").| Parameter | Type | Description |
|---|---|---|
| automation_id * | string | Automation ID to update (e.g., "my_automation") |
| config * | object | Updated automation configuration (id, alias, trigger, condition, action) |
| description | string | Optional: Human-readable description of what changed and why (e.g., "Update trigger time to 7 AM", "Add temperature condition", "Modify light brightness in action"). This will be used in Git commit message. |
ha_update_category[WRITE] Rename a category or change its icon. MODIFIES category registry - requires approval.| Parameter | Type | Description |
|---|---|---|
| category_id * | string | Category id from ha_list_categories |
| icon | string | New mdi icon |
| name | string | New display name |
| scope * | string | Category scope |
ha_update_device_registry[WRITE] Update device in Device Registry (area_id, name_by_user, disabled_by, etc.). MODIFIES device registry - requires approval.| Parameter | Type | Description |
|---|---|---|
| area_id | string | Area ID to assign device to |
| device_id * | string | Device ID to update |
| disabled_by | string | Disable device (set to "user" to disable) |
| name_by_user | string | Custom name for device |
ha_update_entity_registry[WRITE] Update entity in Entity Registry (name, area_id, disabled status, etc.). MODIFIES entity registry - requires approval.| Parameter | Type | Description |
|---|---|---|
| aliases | array | Aliases for entity |
| area_id | string | Area ID to assign entity to |
| categories | object | Scope to category_id, e.g. {"automation": "<id>"} or {"script": "<id>"}. Only scopes you send are changed. List ids with ha_list_categories first. |
| disabled | boolean | Disable/enable entity |
| entity_id * | string | Entity ID to update |
| icon | string | Icon for entity |
| labels | array | Label ids. Replaces the entity's full label set. Pass [] to clear. Get ids from Home Assistant, do not invent them. |
| name | string | New friendly name |
| new_entity_id | string | New entity_id (rename) |
ha_update_script[WRITE] Update existing script in Home Assistant. MODIFIES configuration - requires approval. Provide a meaningful description of what changed and why (e.g., "Update sequence actions", "Add delay", "Modify service call parameters").| Parameter | Type | Description |
|---|---|---|
| config * | object | Updated script configuration object |
| description | string | Optional: Human-readable description of what changed and why (e.g., "Update sequence to add delay", "Modify service call target", "Add new action step"). This will be used in Git commit message. |
| script_id * | string | Script ID to update (e.g., "my_script") |
ha_update_theme[WRITE] Update an existing theme in Home Assistant. MODIFIES configuration - requires approval. After update, call ha_reload_themes or restart HA. Provide a meaningful description of what changed (e.g., "Change primary color to blue", "Adjust contrast for better readability").| Parameter | Type | Description |
|---|---|---|
| description | string | Optional: Human-readable description of what changed and why (e.g., "Change primary color to blue for better visibility", "Adjust contrast for better readability in dark mode"). This will be used in Git commit message. |
| theme_config * | object | Theme configuration object with CSS variables (e.g., {"primary-color": "#ffb74d", "accent-color": "#ffb74d", ...}) |
| theme_name * | string | Theme name (without .yaml extension, e.g., "nice_dark") |
ha_write_file[WRITE] Write content to a file in Home Assistant. MODIFIES configuration - requires approval. Provide a meaningful description of what and why you are changing (e.g., "Add motion sensor automation", "Fix temperature threshold", "Update dashboard layout").| Parameter | Type | Description |
|---|---|---|
| content * | string | Content to write to the file |
| description | string | Optional: Human-readable description of what and why you are changing (e.g., "Add automation for motion sensor light control", "Fix temperature threshold in climate automation", "Update dashboard to show new sensors"). This will be used in Git commit message. |
| path * | string | Path to the file relative to /config |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.8K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 9 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:4
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 5 callssrc/ha-client.ts:28, src/tools.ts:672, src/tools.ts:775
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 9 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.8K words, fetched a month ago. The original in the repository is authoritative.
Read full README