
xiaozhi-esp32-server
by xinnan-tech·★ 9,554·综合分 58
ESP32设备管理MCP服务器,支持语音识别、MQTT和多语言。
概述
xiaozhi-esp32-server是一个为ESP32设备管理和控制设计的全面后端服务。它实现了模型上下文协议(MCP)作为其通信方法之一,允许与MCP客户端无缝集成。服务器支持多种协议,包括MQTT+UDP、Websocket和MCP端点,实现实时设备通信和控制。它具有语音识别功能、声纹识别系统和知识库,适合构建智能物联网生态系统。该项目有定期更新和全面文档,维护良好。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您构建使用ESP32设备的语音控制IoT系统,并需要集成语音识别和多模态交互等AI功能时,选择此MCP服务器。
什么时候不要选它
如果您不使用ESP32硬件,不要选择此服务器,因为它与此平台紧密耦合。如果需要更通用的MCP实现且不需要广泛的语音/IoT功能,也请考虑替代方案。
此 server 暴露的工具
从 README 抽取出 12 个工具mqtt_controlSend control commands to ESP32 devices via MQTT protocol
voice_commandProcess voice commands from users and convert to actionable tasks
device_statusQuery the current status of connected ESP32 devices
voiceprint_identifyIdentify users based on their voice patterns for personalized interaction
knowledge_queryRetrieve information from the integrated knowledge base
mcp_commandExecute MCP protocol commands for device communication
multimodal_analysisProcess visual information from camera-equipped devices
memory_recallRetrieve past conversation history and context for personalized responses
intent_recognitionIdentify user intent behind their requests for appropriate action
text_to_speechConvert text to speech for audio responses to users
schedule_taskSchedule automated tasks or reminders for future execution
websocket_communicateCommunicate with devices via WebSocket protocol for real-time interaction
说明:Tools were inferred from feature descriptions and video demonstrations mentioned in the README. While the README mentions MCP protocol support and various capabilities, it doesn't provide explicit tool names or signatures. The tool names ar
可对比工具
安装
安装选项
Docker部署(推荐)
- 克隆仓库:
git clone https://github.com/xinnan-tech/xiaozhi-esp32-server.git - 进入项目目录:
cd xiaozhi-esp32-server - 使用Docker启动:
docker-compose up -d
源码部署
- 克隆仓库:
git clone https://github.com/xinnan-tech/xiaozhi-esp32-server.git - 安装依赖:
npm install - 在
.env文件中配置环境变量 - 启动服务器:
npm start
Claude Desktop配置
将以下内容添加到您的Claude Desktop配置文件claude_desktop_config.json中:
{
"mcpServers": {
"xiaozhi-esp32": {
"command": "node",
"args": ["/path/to/xiaozhi-esp32-server/server.js"]
}
}
}FAQ
- 这个服务器支持哪些MCP协议?
- 服务器支持客户端MCP协议、服务端MCP协议、MCP接入点协议和自定义工具函数。
- 需要什么硬件要求?
- 使用FunASR的最小设置:2核4GB内存。全API使用:2核2GB内存。完整模块安装:使用FunASR需4核8GB,或全API需2核4GB内存。
xiaozhi-esp32-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。