Home Assistant MCP Server
v1.0.6MCP server for full Home Assistant control — dashboards, files, automations, add-ons, and more
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ha_list_dashboards
List all Lovelace dashboards in Home Assistant
ha_create_dashboard
Create a new Lovelace dashboard
| Parameter | Type | Description |
|---|---|---|
title * | string | Display title for the dashboard |
url_path * | string | URL path for the dashboard (e.g. 'tablet', 'kitchen'). Will be accessible at /lovelace-{url_path}/ |
icon | string | Material Design icon (e.g. 'mdi:tablet') |
require_admin | boolean | Whether to require admin access |
show_in_sidebar | boolean | Whether to show in the sidebar |
ha_update_dashboard
Update an existing Lovelace dashboard's properties (title, icon, etc.)
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | string | The dashboard ID (numeric, from ha_list_dashboards) |
icon | string | New icon (e.g. 'mdi:tablet') |
require_admin | boolean | Whether to require admin access |
show_in_sidebar | boolean | Whether to show in sidebar |
title | string | New display title |
ha_delete_dashboard
Delete a Lovelace dashboard
| Parameter | Type | Description |
|---|---|---|
dashboard_id * | string | The dashboard ID (numeric, from ha_list_dashboards) |
ha_get_dashboard_config
Get the full Lovelace configuration of a dashboard (all views, cards, etc.)
| Parameter | Type | Description |
|---|---|---|
url_path | string | Dashboard URL path (e.g. 'tablet'). Omit for default dashboard. |
ha_save_dashboard_config
Save/overwrite the full Lovelace configuration of a dashboard. Provide the complete config with views and cards.
| Parameter | Type | Description |
|---|---|---|
config * | object | Full Lovelace configuration object with 'views' array. Example: { views: [{ title: 'Home', cards: [...] }] } |
url_path | string | Dashboard URL path (e.g. 'tablet'). Omit for default dashboard. |
ha_list_files
List files and directories on the Home Assistant server. Path is relative to /config/ (e.g. 'www' lists /config/www/).
| Parameter | Type | Description |
|---|---|---|
path | string | Directory path relative to /config/. Examples: 'www', 'custom_components', '' (root of /config/) |
ha_read_file
Read a file from the Home Assistant server. Path is relative to /config/.
| Parameter | Type | Description |
|---|---|---|
path * | string | File path relative to /config/. Example: 'www/mirror.html' |
ha_upload_file
Upload a file from the local machine to the Home Assistant server. Remote path is relative to /config/. Restricted to safe directories (www/, custom_components/, blueprints/, themes/).
| Parameter | Type | Description |
|---|---|---|
local_path * | string | Absolute path to the file on the local machine |
remote_path * | string | Destination path on HA relative to /config/. Example: 'www/mirror.html' |
ha_upload_file_content
Create/overwrite a file on the Home Assistant server with the provided text content. Remote path is relative to /config/. Parent directories are created automatically.
| Parameter | Type | Description |
|---|---|---|
content * | string | The file content to write |
remote_path * | string | Destination path on HA relative to /config/. Example: 'www/my-panel.html' |
ha_delete_file
Delete a file from the Home Assistant server. Path is relative to /config/. Restricted to safe directories.
| Parameter | Type | Description |
|---|---|---|
path * | string | File path relative to /config/. Example: 'www/old-file.html' |
ha_mkdir
Create a directory on the Home Assistant server (recursively). Path is relative to /config/.
| Parameter | Type | Description |
|---|---|---|
path * | string | Directory path relative to /config/. Example: 'www/custom-panels' |
ha_file_exists
Check if a file or directory exists on the Home Assistant server. Path is relative to /config/.
| Parameter | Type | Description |
|---|---|---|
path * | string | Path relative to /config/. Example: 'www/mirror.html' |
ha_list_automations
List all automations in Home Assistant with their IDs, aliases, and states
ha_get_automation
Get the full configuration of an automation by its ID
| Parameter | Type | Description |
|---|---|---|
automation_id * | string | The automation ID (from ha_list_automations) |
ha_create_automation
Create a new automation in Home Assistant
| Parameter | Type | Description |
|---|---|---|
config * | object | Full automation config object. Must include: alias, trigger, action. Optional: condition, mode, description. |
ha_update_automation
Update an existing automation's configuration
| Parameter | Type | Description |
|---|---|---|
automation_id * | string | The automation ID to update |
config * | object | Updated automation config (same format as create) |
ha_delete_automation
Delete an automation
| Parameter | Type | Description |
|---|---|---|
automation_id * | string | The automation ID to delete |
ha_list_scripts
List all scripts in Home Assistant
ha_create_script
Create a new script in Home Assistant
| Parameter | Type | Description |
|---|---|---|
config * | object | Script config. Must include: alias, sequence. Optional: mode, description, icon, fields. |
object_id * | string | Unique script ID (e.g. 'morning_routine') |
ha_update_script
Update an existing script's configuration
| Parameter | Type | Description |
|---|---|---|
config * | object | Updated script config (same format as create) |
object_id * | string | The script ID to update |
ha_delete_script
Delete a script
| Parameter | Type | Description |
|---|---|---|
object_id * | string | The script ID to delete |
ha_list_scenes
List all scenes in Home Assistant
ha_create_scene
Create a new scene in Home Assistant
| Parameter | Type | Description |
|---|---|---|
config * | object | Scene config. Must include: name, entities (map of entity_id to state/attributes). |
ha_update_scene
Update an existing scene's configuration
| Parameter | Type | Description |
|---|---|---|
config * | object | Updated scene config (same format as create) |
scene_id * | string | The scene ID to update |
ha_delete_scene
Delete a scene
| Parameter | Type | Description |
|---|---|---|
scene_id * | string | The scene ID to delete |
ha_list_helpers
List all input helpers (input_boolean, input_number, input_text, input_select, input_datetime, input_button, counter, timer)
| Parameter | Type | Description |
|---|---|---|
domain | string | Filter by domain (e.g. 'input_boolean'). Omit to list all helper types. |
ha_create_helper
Create a new input helper (input_boolean, input_number, input_text, input_select, input_datetime, input_button, counter, timer)
| Parameter | Type | Description |
|---|---|---|
config * | object | Helper config. Varies by domain. input_boolean: {name, icon}. input_number: {name, min, max, step, unit_of_measurement, mode}. input_text: {name, min, max, pattern, mode}. input_select: {name, options… |
domain * | string | Helper domain (e.g. 'input_boolean', 'input_number', 'counter') |
ha_update_helper
Update an existing input helper's configuration
| Parameter | Type | Description |
|---|---|---|
config * | object | Updated config fields |
domain * | string | Helper domain (e.g. 'input_boolean') |
helper_id * | string | The helper ID to update |
ha_delete_helper
Delete an input helper
| Parameter | Type | Description |
|---|---|---|
domain * | string | Helper domain (e.g. 'input_boolean') |
helper_id * | string | The helper ID to delete |
ha_list_addons
List all installed Home Assistant add-ons with their status
ha_addon_info
Get detailed information about a specific add-on
| Parameter | Type | Description |
|---|---|---|
slug * | string | Add-on slug (e.g. 'a0d7b954_ssh', 'core_configurator'). Get slugs from ha_list_addons. |
ha_install_addon
Install a Home Assistant add-on by slug
| Parameter | Type | Description |
|---|---|---|
slug * | string | Add-on slug to install |
ha_start_addon
Start a Home Assistant add-on
| Parameter | Type | Description |
|---|---|---|
slug * | string | Add-on slug to start |
ha_stop_addon
Stop a running Home Assistant add-on
| Parameter | Type | Description |
|---|---|---|
slug * | string | Add-on slug to stop |
ha_restart_addon
Restart a Home Assistant add-on
| Parameter | Type | Description |
|---|---|---|
slug * | string | Add-on slug to restart |
ha_uninstall_addon
Uninstall a Home Assistant add-on
| Parameter | Type | Description |
|---|---|---|
slug * | string | Add-on slug to uninstall |
ha_addon_options
Get or set configuration options for an add-on
| Parameter | Type | Description |
|---|---|---|
slug * | string | Add-on slug |
options | object | New options to set. Omit to get current options. |
ha_system_info
Get Home Assistant system information (core version, OS, supervisor, host info)
ha_check_config
Validate the Home Assistant configuration. Run this before reloading to catch errors.
ha_create_backup
Create a Home Assistant backup
| Parameter | Type | Description |
|---|---|---|
addons | array | For partial backup: add-on slugs to include |
folders | array | For partial backup: folders to include (e.g. ['config', 'share']) |
name | string | Backup name. Defaults to timestamp. |
partial | boolean | Create a partial backup instead of full backup |
ha_list_backups
List all Home Assistant backups
ha_restart_core
Restart the Home Assistant core. This will briefly make HA unavailable.
ha_check_api
Check if the Home Assistant API is accessible and responding
ha_get_config
Get the Home Assistant configuration (location, unit system, version, components, etc.)
ha_update_core_config
Update Home Assistant core configuration (internal_url, external_url, location, etc.)
| Parameter | Type | Description |
|---|---|---|
external_url | string | External URL for Home Assistant |
internal_url | string | Internal URL for Home Assistant (e.g. http://homeassistant.local:8123) |
ha_get_components
List all currently loaded Home Assistant integrations/components
ha_get_error_log
Get the Home Assistant error log contents
ha_get_states
Get the current state of all entities, optionally filtered by domain (e.g. 'light', 'switch', 'sensor')
| Parameter | Type | Description |
|---|---|---|
domain | string | Filter by entity domain (e.g. 'light', 'sensor', 'automation'). Omit for all entities. |
ha_get_entity
Get the full state and attributes of a specific entity
| Parameter | Type | Description |
|---|---|---|
entity_id * | string | Entity ID (e.g. 'light.living_room', 'sensor.temperature') |
ha_call_service
Call a Home Assistant service (e.g. turn on a light, lock a door, send a notification)
| Parameter | Type | Description |
|---|---|---|
domain * | string | Service domain (e.g. 'light', 'switch', 'notify', 'automation') |
service * | string | Service name (e.g. 'turn_on', 'turn_off', 'toggle', 'trigger') |
data | object | Service data (e.g. {brightness: 255, color_name: 'blue'}) |
target | object | Target entities/areas/devices. Example: {entity_id: 'light.living_room'} or {area_id: 'living_room'} |
ha_list_services
List all available services, optionally filtered by domain
| Parameter | Type | Description |
|---|---|---|
domain | string | Filter by domain (e.g. 'light'). Omit for all domains. |
ha_render_template
Render a Jinja2 template using Home Assistant's template engine
| Parameter | Type | Description |
|---|---|---|
template * | string | Jinja2 template string. Example: '{{ states("sensor.temperature") }}' |
ha_list_entity_registry
List all entities from the entity registry with their IDs, names, platforms, and areas
| Parameter | Type | Description |
|---|---|---|
domain | string | Filter by domain (e.g. 'light') |
ha_list_devices
List all devices from the device registry
ha_list_areas
List all areas (rooms) in Home Assistant
ha_create_area
Create a new area (room) in Home Assistant
| Parameter | Type | Description |
|---|---|---|
name * | string | Area name (e.g. 'Living Room') |
icon | string | Material Design icon (e.g. 'mdi:sofa') |
ha_get_history
Get the state history for an entity over a time period
| Parameter | Type | Description |
|---|---|---|
entity_id * | string | Entity ID to get history for |
end_time | string | ISO 8601 end time. Defaults to now. |
start_time | string | ISO 8601 start time (e.g. '2025-01-01T00:00:00Z'). Defaults to 1 day ago. |
ha_get_logbook
Get logbook entries (activity log) for a time period, optionally filtered by entity
| Parameter | Type | Description |
|---|---|---|
end_time | string | ISO 8601 end time. Defaults to now. |
entity_id | string | Filter by entity ID. Omit for all entries. |
start_time | string | ISO 8601 start time. Defaults to 1 day ago. |
ha_get_events
List all available event types in Home Assistant
ha_fire_event
Fire a custom event in Home Assistant to trigger automations or integrations
| Parameter | Type | Description |
|---|---|---|
event_type * | string | Event type to fire (e.g. 'custom_event', 'guest_arrived') |
event_data | object | Optional event data payload |
ha_set_state
Set or create the state of an entity. Useful for creating virtual sensors or overriding states.
| Parameter | Type | Description |
|---|---|---|
entity_id * | string | Entity ID to set (e.g. 'sensor.my_custom_sensor') |
state * | string | The state value to set |
attributes | object | Optional attributes to set on the entity |
ha_delete_state
Delete an entity state from Home Assistant
| Parameter | Type | Description |
|---|---|---|
entity_id * | string | Entity ID to delete |
ha_get_calendars
List all calendar entities in Home Assistant
ha_get_calendar_events
Get events from a specific calendar entity
| Parameter | Type | Description |
|---|---|---|
entity_id * | string | Calendar entity ID (e.g. 'calendar.my_calendar') |
end | string | ISO 8601 end time. Defaults to 7 days from now. |
start | string | ISO 8601 start time. Defaults to now. |
ha_handle_intent
Handle a conversation/voice intent in Home Assistant (e.g. natural language commands)
| Parameter | Type | Description |
|---|---|---|
name * | string | Intent name (e.g. 'HassLightSet', 'HassTurnOn') |
data | object | Intent data/slots |