Description

Home Assistant MCP server for 小智AI integration.

Installation

npx -y ha-mcp-for-xiaozhi
npm install ha-mcp-for-xiaozhi
git clone https://github.com/c1pher-cn/ha-mcp-for-xiaozhi

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "home-assistant-mcp-for-xiaozhi": {
      "command": "npx",
      "args": [
        "-y",
        "ha-mcp-for-xiaozhi"
      ]
    }
  }
}