Getting Started with ESP32: Integrating XiaoZhi AI with MCP

Previously, I experimented with controlling an LED display, local server deployment, voice broadcasting, song playback, controlling WS2812 LED strips, custom wake words, and collecting temperature and humidity data; today I will share a simple exploration of MCP from yesterday.;

1. First, let’s take a look at the final implementation effect:

2. Reference Protocol:Getting Started with ESP32: Integrating XiaoZhi AI with MCP3. Now let’s get started with WebSocket:Getting Started with ESP32: Integrating XiaoZhi AI with MCP4. For receiving and processing messages:Getting Started with ESP32: Integrating XiaoZhi AI with MCP5. Method to obtain the list of available tools:Getting Started with ESP32: Integrating XiaoZhi AI with MCP6. About method invocation:Getting Started with ESP32: Integrating XiaoZhi AI with MCPLet’s keep the simple effect like this for now.Getting Started with ESP32: Integrating XiaoZhi AI with MCP;If I have time in the future, I can explore more complex effects.Getting Started with ESP32: Integrating XiaoZhi AI with MCP; Programming never ends, bugs never stop, no bugs, no life.The calmness of debugging, the passion for coding, the joy of completion, the excitement of digging pits, and the thrill of filling them; perhaps this is the joy of a struggling programmer; that’s all for today; I hope to have the motivation to persist step by step; life never ends, code never stops; everyone can take a moment to check out the effects shared today, and if you have good opinions and ideas, feel free to leave a message on the message board; I will reply as soon as I see it, thank you all for your continuous silent attention and support!If you think it’s good, please give a thumbs up and follow!

Leave a Comment