Home Assistant MCP Server
by roandegraaf
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HA_MCP_HOST | No | Bind address for `http`/`sse`. | 127.0.0.1 |
| HA_MCP_PORT | No | Port for `http`/`sse`. | 8099 |
| HA_MCP_HA_URL | No | Home Assistant base URL. | http://homeassistant.local:8123 |
| HA_MCP_API_KEY | No | API key required for `http`/`sse` transports (the pip version refuses to serve HTTP without one). | |
| HA_MCP_HA_TOKEN | Yes | Long-lived access token for Home Assistant (required). | |
| HA_MCP_LOG_LEVEL | No | Logging level. | INFO |
| HA_MCP_READ_ONLY | No | Only expose read-only tools. | false |
| HA_MCP_TRANSPORT | No | Transport to use: `stdio`, `http` or `sse`. | stdio |
| HA_MCP_CONFIRM_MODE | No | `client` (client's tool approval) or `elicit` (server-side prompt). | client |
| HA_MCP_ALLOW_UNAUTHENTICATED | No | Allow `http`/`sse` without an API key (loopback only). | false |
| HA_MCP_ENABLE_DEVICE_CONTROL | No | Expose the generic `call_service` tool for device control. | false |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivitySlowing
ResponsivenessNo recent community issues