ha-mcp-for-xiaozhi
Bridge Home Assistant to Xiaozhi AI over WebSocket MCP.
Install
See setup instructions on www.bilibili.comWhat it does
This integration lets Home Assistant act as an MCP server that connects directly to the official Xiaozhi AI servers over WebSocket, without an intermediary relay. Within a single Home Assistant entity you can select several API groups at once, including Home Assistant's built-in Assist functions and other MCP servers already configured in your instance, and proxy them together to Xiaozhi. Multiple entities can be configured simultaneously.
It is aimed at Home Assistant users who want to control their smart home through the Xiaozhi voice assistant. Installation is done through HACS: search for xiaozhi or ha-mcp-for-xiaozhi, download, and restart Home Assistant. Then add the integration under Settings, Devices and Services, and enter your Xiaozhi MCP endpoint address while choosing the desired MCP options.
Limitations: the tools exposed depend on which entities you have exposed to Home Assistant's voice assistant, so more recent Home Assistant versions provide more tools. Known conflicts exist between light and music control and Xiaozhi's built-in screen and music logic. Debug logging is available to inspect actual function calls.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 287
- Last push
- Nov 19, 2026
- License
- MIT
- Archived
- No
Other Home Assistant MCP servers
Compare serversFAQ
- What license does ha-mcp-for-xiaozhi use?
- MIT
- Does ha-mcp-for-xiaozhi run locally or remotely?
- It runs locally.
- Is ha-mcp-for-xiaozhi an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/ha-mcp-for-xiaozhi"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.