Arduino Esp32 XiaoZhi MCP Library

I’ve been working on the xiaozhi-esp32-mcp library, which implements xiaozhi communication, for Arduino. There were some serious problems in the original implementation, such as the use of Strings to send the packets, which ended up generating a lot of stack overflows. I also tried to make the documentation a little more organized, because the information is all on a Feishu page, in Chinese. All comments were posted in English (but there may be something left in Brazilian Portuguese). Today, November 22, 2025, I was able to perform the websocket connection with XiaoZhi’s server.

My repo, with alpha version: