ToolBB-0024

ESP-IDF Tools MCP server: build and flash ESP32 projects from an agent

Espressif added a stdio MCP server to idf.py in ESP-IDF v6.0 for agents in Cursor, Claude Code and VS Code. Its tools set the chip target, build, flash and clean a project, and read-only resources report build status and connected serial ports. The post, by Marek Fiala, has screenshots of a target change and a build but no flash run.

Open original source developer.espressif.com · Marek Fiala (Espressif)

Claimed
Why this evidence label?

Screenshots of set_target and build_project for an ESP32-S3; no flash log or device output.

How we check entries
Preview image for ESP-IDF Tools MCP server: build and flash ESP32 projects from an agent
The source's own preview image, from developer.espressif.com.

Briefing

The four tools map onto idf.py subcommands, and three read-only resources report the project configuration, build status and serial ports. The client starts the server as a local process with eim run, which activates the ESP-IDF environment; Cursor and VS Code do not inherit the shell's. An environment variable points the server at the project folder.

Setup needs EIM, the ESP-IDF Installation Manager, at v0.8.1 or newer, and ESP-IDF v6.0 installed with the mcp feature enabled. Fiala writes that some agents ignore the server until the prompt names it, and that VS Code needs a config in each project and does not attach the resources by default. The sample status output in the post reports no ESP32 connected.

Tags

Board

Report a problem with this entry