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:

I also have taken a look xiaozhi mcp server lib. It is quite strange when the lib uses xiaozhi cloud server endpoint instead of esp32 mcp server endpoint for mcp server IP