Skip to content

mqtt-ai/esp32-mcp-mqtt-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 简体中文

ESP32 + MCP over MQTT: Building Intelligent Agents

This is the sample code repository for the blog series "ESP32 + MCP over MQTT: Building Emotional Companion Agents from 0 to 1". This series introduces how to use MCP over MQTT, ESP32 hardware (or similar hardware), and various peripherals, LLMs, VLMs, ASR (Automatic Speech Recognition), and TTS (Text-to-Speech) technologies to build an intelligent agent end-to-end. It enables devices to perceive the world, hear, see, and speak. It can understand human natural language and even inject emotions and personality, with broad applications in emotional companion toys, embodied intelligence, and various other scenarios.

Blog Series

Overall System Architecture Design

image-20250722-034615.png

  • Hardware
    • ESP32: Runs MCP Server Tools developed based on ESP32 MCP over MQTT, encapsulating hardware capabilities
    • Peripherals: Microphone, speaker, camera, etc.
  • Connection and Transport Layer
    • MQTT Broker (EMQX) + MCP service discovery, management, and access control
    • Multimedia Stream Server for processing audio stream data
  • App + AI Service Layer
    • ASR (Automatic Speech Recognition), TTS (Text-to-Speech), large model inference, multimodal large model photo recognition
    • Emotion, personality support, and memory system

Related Software and Services

About

Use ESP32 & MCP over MQTT to build smart devices powered by AI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5