xiaozhi-mcp-ha for MCP
Xiaozhi MCP Ha Integrates ESP32 AI Chatbot with Home Assistant
- Free
- 4
- V v0.0.25
Xiaozhi MCP Ha Integrates ESP32 AI Chatbot with Home Assistant
Xiaozhi MCP Ha, developed by Mac8005, is a Home Assistant Custom Integration (HACS) designed to link the Xiaozhi ESP32 AI chatbot with Home Assistant via the Model Context Protocol (MCP). This free, Python-based tool acts as a bridge, allowing voice control of smart home devices. It empowers makers and Home Assistant users to integrate ESP32 AI devices for enriched smart home interaction, extending the functionality of their current setups.
What does Xiaozhi MCP Ha connect to?
The Xiaozhi MCP Ha integration connects the Xiaozhi ESP32 AI chatbot to Home Assistant. It functions as a Home Assistant Custom Integration, serving as a bridge or proxy. This connection routes interactions between the Xiaozhi ESP32 device and the official Home Assistant MCP Server integration. It ensures that commands from the Xiaozhi cloud service can reach and control local Home Assistant entities, establishing a cohesive smart home ecosystem.
Core features and tools
The Xiaozhi MCP Ha integration itself does not expose specific callable tools directly. Instead, it acts as a conduit, forwarding Model Context Protocol (MCP) requests from the Xiaozhi cloud service to the local Home Assistant MCP Server. The callable tools are the Home Assistant entities, such as lights, scenes, GPIO, relays, LEDs, motors, and sensors. These are configured within the Home Assistant MCP Server settings and made public to the Home Assistant voice assistant. The integration supports WebSocket and HTTP endpoints for communication with the Xiaozhi cloud service and forwards MCP requests to the local Home Assistant MCP Server via Server-Sent Events (SSE). The confirmed compatible AI client is the Xiaozhi ESP32 AI chatbot/device.
Who is it for?
Xiaozhi MCP Ha is for makers and engineers who want to build open and customizable ESP32 AI voice assistants. It also serves Home Assistant users who aim to integrate Xiaozhi ESP32 devices for voice control of their smart homes. The tool helps these groups achieve advanced automation and interaction with their smart home setups using natural language. Skip this if you do not use a Xiaozhi ESP32 AI chatbot or Home Assistant.
How to get started
Access is granted through Home Assistant Long-Lived Access Tokens. Communication with the Xiaozhi cloud service uses WebSocket and HTTP endpoints.
Use cases
- Voice control of smart home devices through natural language commands issued to a Xiaozhi ESP32 device, which are then executed by Home Assistant.
- Natural language interaction with various Home Assistant entities, such as toggling lights or scenes.
- Real-time status monitoring and logging for debugging and operational oversight of the integration.
Xiaozhi MCP Ha provides a critical link for integrating Xiaozhi ESP32 AI chatbots with Home Assistant, enabling voice control of smart home devices. It is a valuable tool for those building custom ESP32 AI voice assistants and Home Assistant users seeking advanced control. The integration relies on existing Home Assistant infrastructure and specific authentication.
Pros
- Connects Xiaozhi ESP32 AI chatbot to Home Assistant.
- Enables voice control of Home Assistant entities.
- Supports WebSocket and HTTP for cloud communication.
- Aids makers in building custom ESP32 AI assistants.
Cons
- Requires prior installation of official Home Assistant MCP Server.
- Authentication uses manually generated Long-Lived Access Tokens.
- Relies on Xiaozhi cloud service for endpoint URL.
- Does not expose callable tools directly.
xiaozhi-mcp-ha for MCP
- Free
- 4
- V v0.0.25
Top downloads

chat-on-steroids
Extending ChatGPT into a local, agentic development environment

PocketRisu
Pocketrisu: Self-Hosted AI Roleplay Chat Platform for Private Sessions
xiaozhi-esp32
Xiaozhi Esp32: An Open-Source Backend for AI-Powered IoT Device Control

ChatCmd
Local MCP bridge for supervised, developer-focused automation

howl-pa
howl-pa: MCP bridge for conversational Linux audio control
Discover more programs

JiwuChat
- 4.6
- Free
Jiwuchat: A Cross-Platform Instant Messaging Tool with Integrated AI Assistants

levante
- 4.8
- Free
Levante: A Secure Desktop Client for AI and MCP Server Integration

ask-mai
- 4.7
- Free
Ask Mai: A Versatile MCP Server for LLM Interactions and System Control

MumuBot
- 4.9
- Free
Mumubot: An AI Assistant for QQ Groups Extending Capabilities via MCP

chatsong
- 4.9
- Free
Portable AI chat client for privacy-focused prompt testing
ZenOps
- 4.2
- Free
Comprehensive AI Chat Tool for Operations

P-ai
- 4.2
- Free
Comprehensive AI Desktop Work System