1. Conduid
  2. Communication
  3. Xiaozhi Esp32
MCP server · Communication

Xiaozhi Esp32

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

Unclaimed MIT chatbotmcpesp32comms
92Excellent

Scored 12 hours ago · breakdown

About Xiaozhi Esp32

Xiaozhi Esp32 is an MCP server published by 78 in the Communication category: an MCP-based chatbot | 一个基于MCP的聊天机器人.

The repository has 31K stars and 7.4K forks, with the last commit 16 hours ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/78/xiaozhi-esp32

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Xiaozhi Esp32

Powered by Claude · Grounded in docs

I know everything about Xiaozhi Esp32. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v2.5.2v2.5.2 · 11 Oct 2026188 firmware variants for 154 board directories, built with ESP-IDF 6.1.0. Source: `49b4380b3faa0ceadd28a3e78aaf0f311c46c57e`. Build and validation. Each firmware ZIP contains `merged-binary.bin`. SHA-256 checksums and the complete variant…
v2.5.0v2.5.0 · 10 Sep 2026What's Changed feat: add wk esp32s3 dev board by @Father001 in https://github.com/78/xiaozhi-esp32/pull/2030 fix: restore WDMomo CGC LCD selection by @78 in https://github.com/78/xiaozhi-esp32/pull/2175 content : add waveshare…
v2.4.2v2.4.2 · 6 Aug 2026Firmware Builder (New) A new firmware builder is available at: https://xiaozhi.me/console/firmware-builder What's Changed Add support for LCD Wiki ES3C35P board configuration and files by @Eivs in…
v2.4.0v2.4.0 · 19 Jul 2026What's Changed chore: temporarily disable touch sensor for ESP-VoCat on IDF v6 by @laride in https://github.com/78/xiaozhi-esp32/pull/2118 feat(otto): update GIF emoji component to v1.3.0 by @txp666 in…
v2.2.6v2.2.6 · 19 Apr 2026What's Changed Rename EchoEar to ESP-VoCat by @laride in https://github.com/78/xiaozhi-esp32/pull/1827 Add support for waveshare ESP32-S3-ePaper-3.97 by @DrayxR3X in https://github.com/78/xiaozhi-esp32/pull/1808 fix: add explicit UTF-8…

README

An MCP-based Chatbot

(English | 中文 | 日本語)

Introduction

👉 Human: Give AI a camera vs AI: Instantly finds out the owner hasn't washed hair for three days【bilibili】

👉 Handcraft your AI girlfriend, beginner's guide【bilibili】

As a voice interaction entry, the XiaoZhi AI chatbot leverages the AI capabilities of large models like Qwen / DeepSeek, and achieves multi-terminal control via the MCP protocol.

Recent Updates

  • The project now requires ESP-IDF v6.0.1 or later. ESP-IDF v6.1 is the recommended SDK. ESP-IDF 5.x is no longer supported. The current matrix contains 171 variants; ESP32-S31 builds require IDF 6.1 or later.
  • MQTT and BluFi cryptographic code has migrated to PSA Crypto. IDF 6 component splits and third-party dependency compatibility have also been addressed.
  • Audio pipeline concurrency, MQTT/UDP packet validation, and release-matrix selection have been hardened.
  • ESP32-P4 Rev1 and Rev3 are both supported on IDF 6 with ESP-SR 2.4.7.

Features Implemented

  • Wi-Fi, wired Ethernet, USB RNDIS, and ML307/EC801E or NT26 Cat.1 4G networking; supported boards can switch between Wi-Fi and 4G
  • Offline voice wake-up with ESP-SR, including customizable wake words
  • Two communication transports: WebSocket and MQTT + UDP
  • Opus audio streaming with conventional streaming ASR + LLM + TTS pipelines and Realtime end-to-end voice models; AEC-capable hardware supports realtime full-duplex interaction
  • Speaker recognition, identifies the current speaker 3D Speaker
  • OLED / LCD displays with emoji and rich expression support, plus camera vision input on supported boards
  • Battery display and power management
  • 39 interface languages, with localized voice prompts where available and English fallback
  • ESP32, ESP32-C3, ESP32-C5, ESP32-C6, ESP32-S3, and ESP32-P4 chip platforms
  • Wi-Fi provisioning through hotspot or BluFi
  • Device-side MCP for device control (Speaker, LED, Servo, GPIO, etc.)
  • Cloud-side MCP to extend large model capabilities (smart home control, PC desktop operation, knowledge search, email, etc.)
  • Customizable wake words, fonts, emojis, and chat backgrounds with online web-based editing (Custom Assets Generator)

Hardware

Breadboard DIY Practice

See the Feishu document tutorial:

👉 "XiaoZhi AI Chatbot Encyclopedia"

Breadboard demo:

Breadboard Demo

Supports 138 Board Directories and 171 Release Variants (Partial List)

  • LiChuang ESP32-S3 Development Board
  • Espressif ESP32-S3-BOX-3
  • M5Stack CoreS3
  • M5Stack AtomS3R + Echo Base
  • Magic Button 2.4
  • Waveshare ESP32-S3-Touch-AMOLED-1.8
  • LILYGO T-Circle-S3
  • XiaGe Mini C3
  • CuiCan AI Pendant
  • WMnologo-Xingzhi-1.54TFT
  • SenseCAP Watcher
  • ESP-HI Low Cost Robot Dog

Software

Firmware Flashing

For beginners, it is recommended to use the firmware that can be flashed without setting up a development environment.

The firmware connects to the official xiaozhi.me server by default. Personal users can register an account to use the Qwen real-time model for free.

👉 Beginner's Firmware Flashing Guide

Development Environment

  • Cursor or VSCode
  • Install the ESP-IDF plugin. The minimum SDK is ESP-IDF v6.0.1; ESP-IDF v6.1 is recommended. ESP-IDF 5.x is not supported.
  • Linux is better than Windows for faster compilation and fewer driver issues
  • This project uses Google C++ code style, please ensure compliance when submitting code

Developer Documentation

Large Model Configuration

If you already have a XiaoZhi AI chatbot device and have connected to the official server, you can log in to the xiaozhi.me console for configuration.

👉 Backend Operation Video Tutorial (Old Interface)

Related Open Source Projects

For server deployment on personal computers, refer to the following open-source projects:

Other client projects using the XiaoZhi communication protocol:

Custom Assets Tools:

About the Project

This is an open-source ESP32 project, released under the MIT license, allowing anyone to use it for free, including for commercial purposes.

We hope this project helps everyone understand AI hardware development and apply rapidly evolving large language models to real hardware devices.

If you have any ideas or suggestions, please feel free to raise Issues or join our Discord or QQ group: 1095994019

Star History

README fetched from the repository yesterday. The original is authoritative.

Questions

About Xiaozhi Esp32

How do I install Xiaozhi Esp32?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Xiaozhi Esp32 safe to use with an AI agent?

Its trust score is 92 out of 100 (excellent). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Xiaozhi Esp32 still maintained?

Yes — the latest release is v2.5.2 (11 Oct 2026), and the last commit was 16 hours ago. The repository has 31K stars and 677 open issues.