MCP server + CLI for ESP32 serial debugging — reset, capture boot logs, and identify chips from Claude Code or the terminal.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"esp32-serial-mcp": {
"command": "uvx",
"args": [
"esp32-serial-mcp"
]
}
}
}
Run in terminal:
claude mcp add esp32-serial-mcp uvx esp32-serial-mcp
Add to .cursor/mcp.json:
{
"mcpServers": {
"esp32-serial-mcp": {
"command": "uvx",
"args": [
"esp32-serial-mcp"
]
}
}
}
Or install with pip: pip install esp32-serial-mcp
README Excerpt
> 🌐 **中文(默认)** | [**English**](README.en.md) ESP32 串口调试工具的最小 stdio MCP server + CLI,解决在 Claude Code 等非交互环境里 `pio device monitor` 不可用(`termios.error`)的问题。 提供 4 个 MCP 工具: | 工具 | 说明 | | ---- | ---- | | `esp32_list_devices` | 列出本机 USB 串口设备(ESP32 板子显示为 `/dev/cu.usbmodem*`) | | `esp32_chip_id` | 用 esptool 识别芯片型号(ESP32-S3 vs ESP32-C3),结束时硬复位回 app 模式 |
Tools (4)
esp32_captureesp32_chip_idesp32_list_devicesesp32_reset
Topics
claude-codeesp32esptoolmcpmodel-context-protocolplatformioserial-port