MCP Server Home Assistant
A Model Context Protocol Server for Home Assistant
⚡️ System Operation
Overview
MCP Server Home Assistant
Description:
A specialized server enabling Home Assistant integration for contextual interactions
Category: Home Automation
Overview:
This server implementation allows seamless integration between Home Assistant and Anthropic's ecosystem. It provides real-time access to Home Assistant states, services, and entities through a WebSocket connection, enabling contextual awareness for home automation tasks.
Key features:
- WebSocket-based communication
- Real-time state updates
- Secure API token authentication
- Home Assistant service integration
- Entity state monitoring
Configuration Setup:
{
"mcpServers": {
"Home-assistant": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp-server-home-assistant",
"run",
"mcp-server-home-assistant",
"-v",
"-v"
],
"env": {
"HOME_ASSISTANT_WEB_SOCKET_URL": "http://localhost:8123/api/websocket",
"HOME_ASSISTANT_API_TOKEN": "your_api_token_here"
}
}
}
}
Requirements:
- Running Home Assistant instance
- Valid Home Assistant API token
- Python environment with UV package manager
Note:
Ensure your Home Assistant instance is accessible and the API token has appropriate permissions for the desired functionality.