78/xiaozhi-esp32

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

What it solves

This project provides a bridge between powerful AI models (like Qwen or DeepSeek) and physical hardware. It solves the challenge of creating responsive, voice-interactive AI devices that can perform real-world tasks—such as controlling smart home appliances or operating PC software—by using the Model Context Protocol (MCP).

How it works

The software runs on ESP32 microcontrollers, acting as a voice-interaction gateway. It captures audio or visual input, streams it to an AI model, and receives instructions back. By implementing the MCP protocol, the device can "talk" to both local hardware (like LEDs, servos, or GPIO pins) and cloud-based services (like email or search tools), allowing the AI to execute commands on your behalf.

Who it’s for

It is designed for hardware enthusiasts, makers, and developers interested in AI-integrated IoT. Whether you are a beginner looking to flash pre-built firmware onto a development board or an advanced user wanting to build custom AI-powered hardware, this project provides the necessary firmware, protocols, and documentation.

Highlights

  • Supports a wide range of ESP32 chip platforms and over 130 different development boards.
  • Enables real-time, full-duplex voice interaction with offline wake-up capabilities.
  • Features flexible connectivity options, including Wi-Fi, Ethernet, and 4G modules.
  • Uses the MCP protocol to bridge AI intelligence with physical device control and cloud services.
  • Highly customizable, allowing users to edit wake words, fonts, emojis, and chat backgrounds via web tools.

Related

  • Project
  • Project
  • Project
  • Project
  • Project