
esp-mcp
by horw·★ 148·Score 44
MCP server for ESP32 development that centralizes ESP-IDF commands and simplifies LLM-driven interaction.
Overview
esp-mcp is a Python-based MCP server designed to streamline ESP32 development by providing a unified interface for ESP-IDF commands. It currently supports core operations like ESP-IDF installation, project creation, target configuration, building, serial port listing, and flashing to devices. The server offers flexible ESP-IDF path management, SDK configuration support, and build time tracking. As a proof of concept, it includes experimental features like automatic issue fixing based on build logs, with plans to expand into a comprehensive embedded development toolkit.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose ESP-MCP if you're developing for ESP32/ESP-IDF and want LLM-driven automation of common development tasks through a centralized interface.
When NOT to choose this
Avoid if you need non-ESP32 development tools, require advanced features not yet implemented in this PoC, or prefer traditional CLI workflows over LLM integration.
Tools this server exposes
7 tools extracted from the READMErun_esp_idf_installInstall ESP-IDF dependencies and toolchain via install.sh
create_esp_projectCreate a new ESP-IDF project
setup_project_esp_targetSet target chip for ESP-IDF projects
build_esp_projectBuild ESP-IDF projects with incremental build support
list_esp_serial_portsList available serial ports for ESP devices
flash_esp_projectFlash built firmware to connected ESP devices
run_pytestRun pytest tests with pytest-embedded support for ESP-IDF projects
Comparable tools
Installation
git clone git@github.com/horw/esp-mcp.gitConfigure the server in your MCP-compatible chatbot:
{
"mcpServers": {
"esp-run": {
"command": "<path_to_uv_or_python_executable>",
"args": [
"--directory",
"<path_to_cloned_esp-mcp_repository>",
"run",
"main.py"
],
"env": {
"IDF_PATH": "<path_to_your_esp-idf_directory>"
}
}
}
}FAQ
- What ESP32 targets are supported?
- The server supports ESP32, ESP32-C3, ESP32-S3, and other ESP-IDF compatible targets through the setup_project_esp_target function.
- Can I use different ESP-IDF versions for different projects?
- Yes, the server supports per-project ESP-IDF versions via the idf_path parameter in tools or the IDF_PATH environment variable.
Compare esp-mcp with
Last updated · Auto-generated from public README + GitHub signals.