API Development stdio

Xiaozhi ESP32

Created by xinnan-tech

Provides a backend service for ESP32 devices, enabling rapid deployment of custom intelligent control servers.

How to Connect & Install

Select your client or environment below to copy the verified, ready-to-run installation configuration.

1-line autonomous agent setup instruction. Paste into Claude Code, Codex CLI, or Cursor Agent:
Fetch and configure Model Context Protocol (MCP) server Xiaozhi ESP32 from https://www.fastmcp.dev/server/xiaozhi-esp32

Agents automatically discover, install, and execute the server spec without manual token setup.

Connect via direct Stateless MCP v2 / Streamable HTTP endpoint or JSON-RPC:
https://github.com/xinnan-tech/xiaozhi-esp32-server

Stateless edge endpoint compliant with MCP 2024-11-05 and v2 draft protocol specs.

Includes server instructions and tool definitions for Claude:
claude mcp add xiaozhi-esp32 -- npx -y xiaozhi-esp32-server

Run in terminal to register server in current project or pass --scope user for global availability.

Configures server instructions and tools for OpenAI Codex & ChatGPT Desktop:
[mcp_servers.xiaozhi_esp32] command = "npx" args = ["-y","xiaozhi_esp32-server"]

Applies to ChatGPT Desktop app, Codex CLI, and IDE extension across your Codex host.

Add to Cursor project settings (.cursor/mcp.json) or Cursor Settings > Features > MCP:
{ "mcpServers": { "xiaozhi-esp32": { "type": "stdio", "command": "npx", "args": [ "-y", "xiaozhi-esp32-server" ] } } }

Commit to version control to allow teammates to connect immediately.

Install as an autonomous Agent Skill using the standard skills CLI:
npx skills add https://github.com/xinnan-tech/xiaozhi-esp32-server

Standard agent skill installer compatible with Claude Code, Cursor, and agy harnesses.

Server Guidance & Instructions OpenAI & Claude Spec Compliant
Xiaozhi ESP32: Provides a backend service for ESP32 devices, enabling rapid deployment of custom intelligent control servers. Key capabilities: IOT/MCP Control Protocols: Provides device registration management and intelligent control interfaces compatible with both IOT and MCP protocols.; Extensible Plugin System: Allows for easy extension of functionalities through a plugin system, custom plugin development, and hot loading.; Intelligent Dialogue Integration: Enables smart conversations by ...

Codex and Claude read this instruction prompt during initialization to orchestrate cross-tool workflows and rate limits.

Top Core Functions
01 Manage intelligent device control interfaces
02 Process voice interactions using models
03 Extend features with plugin systems