Content
# mcp_ha_xiaozhi
Official Xiaozhi Server (Xia Ge) connects to Home Assistant's MCP Server
### Principle
Using the official example code provided by Xiaozhi, combined with `mcp_proxy`, to connect the official Xiaozhi server and Home Assistant's MCP server.
### Parameters
XIAOZHI_MCP_ENDPOINT: Your Xiaozhi MCP endpoint
HA_MCP_ENDPOINT: Your HA MCP SERVER address
API_ACCESS_TOKEN: Your long-lived API token
1. **Xiaozhi MCP endpoint:** Log in to the official Xiaozhi server to obtain.
2. **HA MCP SERVER address:** Obtain through HA's official `mcp_server` integration.
* Click this link: [Home Assistant MCP Server Integration](https://my.home-assistant.io/redirect/config_flow_start?domain=mcp_server) to install directly
* Or, in Home Assistant, go to **Settings > Devices & Services > Add Integration**.
* Select "**Model Context Protocol Server**" from the list and follow the on-screen instructions to complete the setup.
3. **Long-lived API token:** Used to authorize access to your Home Assistant instance.
* Visit your [Home Assistant account profile settings](https://my.home-assistant.io/redirect/profile) and go to the "**Security**" tab.
* Create a **Long-lived access token**.
### Run with Docker
```bash
docker run -d --name mcp_ha_xiaozhi \
-e XIAOZHI_MCP_ENDPOINT="Your Xiaozhi MCP endpoint" \
-e HA_MCP_ENDPOINT="Your HA MCP SERVER address" \
-e API_ACCESS_TOKEN="Your long-lived API token" \
shawn68/mcp_ha_xiaozhi
```
https://hub.docker.com/r/shawn68/mcp_ha_xiaozhi/
Connection Info
You Might Also Like
Filesystem
Node.js MCP Server for filesystem operations with dynamic access control.
git
A Model Context Protocol server for Git automation and interaction.
everything
Model Context Protocol Servers
chrome-devtools-mcp
Chrome DevTools for coding agents
claude-plugins-official
A directory of trusted plugins for Claude Code, including internal and...
python-sdk
The official Python SDK for Model Context Protocol servers and clients