Claude Desktop requires mcp-proxy to communicate with the Home Assistant add-on's HTTP endpoint.
1. Install uv
First, ensure uv is installed on your machine:
macOS / Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows (PowerShell):
winget install --id=astral-sh.uv -e
2. Update Claude Desktop Configuration
Add the following to your claude_desktop_config.json file.
File Locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows (Traditional):
%APPDATA%\Claude\claude_desktop_config.json
Configuration Snippet:
{
"mcpServers": {
"home-assistant": {
"command": "uvx",
"args": ["--with", "mcp<2.0.0", "mcp-proxy", "--transport", "streamablehttp", "http://192.168.1.100:9583/private_zctpwlX7ZkIAr7oqdfLPxw"]
}
}
}
Important:
- Replace the URL in
args with the unique URL found in your add-on logs. - The flag
--with "mcp<2.0.0" is required to prevent ImportError issues with mcp-proxy. - Restart Claude Desktop after saving the file.
{
"mcpServers": {
"home-assistant": {
"command": "uvx",
"args": ["--with", "mcp<2.0.0", "mcp-proxy", "--transport", "streamablehttp", "http://192.168.1.100:9583/private_zctpwlX7ZkIAr7oqdfLPxw"]
}
}
}