homeassistant-mpc
1
Home Assistant MCP is an MCP server designed to integrate with Home Assistant, allowing AI assistants to interact with smart home devices. It provides tools that enable API verification, state retrieval, and service calls for Home Assistant entities.
Home Assistant MCP
This is a Model Context Protocol (MCP) server providing tools for integration with Home Assistant. It enables AI assistants to interact with smart home devices.
Setup
Installing via Smithery
To install the Home Assistant Integration for Claude Desktop via Smithery.
Manual Installation
- Install dependencies.
- Configure environment variables such as
HOME_ASSISTANT_URL
andHOME_ASSISTANT_TOKEN
in a.env
file.
Starting the server
Instructions for starting the server and development environment.
Available Tools
- Home Assistant API Verification: Verifies if the Home Assistant API is online.
- Get Entity State: Retrieves the current state of a Home Assistant entity.
- Call Services: Calls a service for a Home Assistant entity.
Development
The project uses TypeScript and the MCP SDK library. To add new tools, create a module, implement tools, and register the module.
Contributions
Contributions are welcome via issues or pull requests.
License
MIT License.