Get the FREE Ultimate OpenClaw Setup Guide →

xiaozhi-esp32

An MCP-based chatbot | 一个基于MCP的聊天机器人

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio 78-xiaozhi-esp32 python -m xiaozhi

How to use

The XiaoZhi AI chatbot server enables voice interaction and multi-terminal control using the MCP protocol. It supports various communication protocols such as WebSocket and MQTT+UDP, allowing seamless integration with IoT devices. Users can customize their experience with features like speaker recognition, multi-language support, and customizable wake words. To interact with the server, users can connect their devices to the official XiaoZhi server and utilize the provided tools for voice commands and device control.

How to install

To install the XiaoZhi ESP32 server, follow these steps:

  1. Ensure you have Python installed on your machine (version 3.6 or higher).
  2. Clone the repository:
    git clone https://github.com/xinnan-tech/xiaozhi-esp32.git
    cd xiaozhi-esp32
    
  3. Install the required dependencies:
    pip install -r requirements.txt
    
  4. Flash the firmware onto your ESP32 device as per the firmware flashing guide provided in the documentation.

Additional notes

Make sure to register an account on the official XiaoZhi website to access the Qwen real-time model. If you encounter issues with the development environment, consider using Linux for better compatibility. For detailed usage of the MCP protocol, refer to the MCP Protocol IoT Control Usage documentation. Common issues may include driver problems on Windows, which can be avoided by using a Linux environment.

Related MCP Servers

Sponsor this space

Reach thousands of developers