Home Assistant MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HA_URLYesYour Home Assistant instance URL
HA_TOKENYesYour Home Assistant long-lived access token

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_state

Get the current state of a Home Assistant entity

toggle_entity

Toggle a Home Assistant entity on/off

trigger_automation

Trigger a Home Assistant automation

list_entities

List all available entities in Home Assistant