A Model Context Protocol Server for 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:
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:
Note:
Ensure your Home Assistant instance is accessible and the API token has appropriate permissions for the desired functionality.