homeassistant-mcp
- Home Automation & IoT
Access Home Assistant data and control devices (lights, switches, thermostats, etc).
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
No tools |
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
TOKEN | Yes | Your personal access token for Home Assistant. See https://community.home-assistant.io/t/how-to-get-long-lived-access-token/162159 for a guide. | |
BASE_URL | Yes | The base URL for your Home Assistant instance. |
A Model Context Protocol Server for Home Assistant
The server uses the MCP protocol to share access to a local Home Assistant instance with an LLM application.
More about MCP here: https://modelcontextprotocol.io/introduction
More about Home Assistant here: https://www.home-assistant.io
Usage
First build the server
Then configure your application (like Claude Desktop) to use it.
You'll need a personal access token from home assistant.
Get one using this guide: https://community.home-assistant.io/t/how-to-get-long-lived-access-token/162159
In Progress
- Access to entities
- Access to Floors
- Access to Areas
- Control for entities
- Lights
- Thermostats
- Covers
- Testing / writing custom prompts
- Testing using resources for high-level context
- Test varying tool organization
GitHub Badge
Glama performs regular codebase and documentation scans to:
- Confirm that the MCP server is working as expected.
- Confirm that there are no obvious security issues with dependencies of the server.
- Extract server characteristics such as tools, resources, prompts, and required parameters.
Our directory badge helps users to quickly asses that the MCP server is safe, server capabilities, and instructions for installing the server.
Copy the following code to your README.md file: