Skip to content
Projects

c1pher-cn/ha-mcp-for-xiaozhi

View on GitHub

About

Homeassistant MCP server for 小智AI

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+2
in 15 days
+3
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

ha-mcp-for-xiaozhi

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Alt Text

Homeassistant MCP server for XiaoZhi AI,directly connect to Xiaozhi AI official server.

Capabilities

1.HomeAssistant itself acts as an MCP server and connects directly to the XiaoZhi server via the websocket protocol without the need for a proxy.

2.Select multiple API groups (HomeAssistant's build in Intent APIs and user-configured MCPServer) in one entity and proxy them to Xiaozhi

3.Support configuring multiple entities at the same time


Function demonstration(please like it for support, or post a few comments)

Access demonstration video

Control TV presentation (via custom script)

HomeAssistant、LLM、MCP、XiaoZhi AI advanced tutorials


Installation:

Make sure HACS is installed in Home Assistant

1.Open HACS and search for xiaozhi or ha-mcp-for-xiaozhi

image

2.Download the component

image

3.Restart Home Assistant.

Configuration:

[Settings > Devices & Services > Add Integration] > Search for "Mcp" > Find MCP Server for Xiaozhi

image

Next > Please fill in the Xiaozhi MCP access point address, select the required MCP > Submit.

Note that the Assist in the llm_hass_api checkbox is the HA built-in function, and the other options are other MCP servers you had connected in HomeAssistant (you can directly proxy to Xiaozhi here)

image

Configuration is complete! Wait a minute and go to Xiaozhi's access point page and click refresh to check the

bd06b555b9e5c24fbf819c43397c97ee


Debugging Instructions

1.The tools exposed depend on the type of entity you expose to the HomeAssistant voice assistant

2.Try to use the latest version of HomeAssistant. There are obvious differences in the tools provided by the May version and the March version.

3.If debugging doesn't work as expected, first check Xiaozhi's chat log to see how he handles the command and whether he has a tool that calls HomeAssist. Currently, a major known issue is that lighting and music control can conflict with the built-in screen and music control logic. This will be resolved after the XiaGe server supports built-in tool selection next month.

4.If the process correctly calls the built-in function of HA, you can open the debug log of this plug-in to observe the actual execution status.


Buy Me A Coffee

Explore related projects

Loading…