Integrates with Home Assistant to enable control and monitoring of smart home devices via API calls for tasks like adjus...
Created byApr 22, 2025
Home Assistant MCP Server
A Model Context Protocol (MCP) server for interacting with Home Assistant. This server provides tools to control and monitor your Home Assistant devices through MCP-enabled applications.
This project is part of the AI Model Context Protocol (MCP) ecosystem. For more information and documentation about MCP tools, visit www.aimcp.info.
Features
Get device states
Control device states (on/off)
Trigger automations
List available entities
Installation
Clone this repository:
Install dependencies:
Build the project:
Configure the MCP server by adding the following to your MCP settings file (typically located at ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json for VSCode):
Replace your-homeassistant-url and your-long-lived-access-token with your Home Assistant instance URL and access token.
Usage
The server provides the following tools:
1. Get Device State
2. Toggle Device State
3. Trigger Automation
4. List Entities
Contributing
Contributions are welcome! Here's how you can help:
Fork the repository
Create your feature branch (git checkout -b feature/amazing-feature)
Commit your changes (git commit -m 'Add some amazing feature')
Push to the branch (git push origin feature/amazing-feature)
Open a Pull Request
Please make sure to update tests as appropriate and follow the existing code style.
Documentation
For detailed documentation about MCP tools and the ecosystem:
A Model Context Protocol (MCP) server for interacting with Home Assistant. This server provides tools to control and monitor your Home Assistant devices through MCP-enabled applications.
This project is part of the AI Model Context Protocol (MCP) ecosystem. For more information and documentation about MCP tools, visit www.aimcp.info.
Features
Get device states
Control device states (on/off)
Trigger automations
List available entities
Installation
Clone this repository:
Install dependencies:
Build the project:
Configure the MCP server by adding the following to your MCP settings file (typically located at ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json for VSCode):
Replace your-homeassistant-url and your-long-lived-access-token with your Home Assistant instance URL and access token.
Usage
The server provides the following tools:
1. Get Device State
2. Toggle Device State
3. Trigger Automation
4. List Entities
Contributing
Contributions are welcome! Here's how you can help:
Fork the repository
Create your feature branch (git checkout -b feature/amazing-feature)
Commit your changes (git commit -m 'Add some amazing feature')
Push to the branch (git push origin feature/amazing-feature)
Open a Pull Request
Please make sure to update tests as appropriate and follow the existing code style.
Documentation
For detailed documentation about MCP tools and the ecosystem: