hass-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HASS_URL | Yes | The URL of the Home Assistant instance (e.g., http://homeassistant.local:8123) | |
| HASS_TOKEN | Yes | A long-lived access token for Home Assistant authentication |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ha_get_stateA | Get Home Assistant entity state by entity_id. |
| ha_list_statesA | List Home Assistant entity states (can be large). |
| ha_list_servicesA | List Home Assistant services and their fields. |
| ha_list_areasA | List Home Assistant areas from the area registry. |
| ha_list_devicesB | List Home Assistant devices from the device registry. |
| ha_list_entity_registryB | List Home Assistant entity registry entries. |
| ha_light_turn_onC | Turn on a light by entity_id. |
| ha_light_turn_offC | Turn off a light by entity_id. |
| ha_area_lights_offA | Turn off all lights in an area (by area_id). |
| ha_area_lights_onC | Turn on all lights in an area (by area_id). |
| ha_get_logbookC | Fetch logbook entries since an ISO time (optionally for an entity). |
| ha_get_historyC | Fetch history since an ISO time (optionally for an entity). |
| ha_call_serviceC | Call a Home Assistant service (domain/service) with data payload. |
| ha_render_templateC | Render a Jinja2 template and return the result. |
| ha_get_error_logsB | Fetch the latest Home Assistant error logs. |
| ha_update_entity_registryC | Update an entity registry entry (e.g., change name, entity_id, or area_id). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheWhykiki/hass-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server