MCP Catalogs
Homeesp-mcp screenshot

esp-mcp

by horw·148·Score 44

MCP server for ESP32 development that centralizes ESP-IDF commands and simplifies LLM-driven interaction.

developer-toolsai-llmops-infra
18
Forks
34
Open issues
5 mo ago
Last commit
2d ago
Indexed

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:

you:LLM-assisted ESP32 project setup and configuration
you:Automated ESP32 firmware builds and flashing workflows
you:Streamlined ESP-IDF dependency installation and management
you:What ESP32 targets are supported?
you:Can I use different ESP-IDF versions for different projects?

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 README
  • run_esp_idf_install

    Install ESP-IDF dependencies and toolchain via install.sh

  • create_esp_project

    Create a new ESP-IDF project

  • setup_project_esp_target

    Set target chip for ESP-IDF projects

  • build_esp_project

    Build ESP-IDF projects with incremental build support

  • list_esp_serial_ports

    List available serial ports for ESP devices

  • flash_esp_project

    Flash built firmware to connected ESP devices

  • run_pytest

    Run pytest tests with pytest-embedded support for ESP-IDF projects

Comparable tools

esp-idf-cliplatformio-mcpshell-mcp

Installation

git clone git@github.com/horw/esp-mcp.git

Configure 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.