LogoSTMCP
Download
esp-mcp

esp-mcp

An MCP server for ESP-IDF workflows that consolidates ESP-IDF and related project commands in one place, simplifying embedded development through LLM communication.

Tools

1. Build

Execute ESP-IDF build commands for specified projects.

2. Flash

Deploy built firmware to connected ESP devices with optional port configuration.

3. Clean

Remove build artifacts from ESP-IDF project directories.

4. Automatic Issue Fixing

Experimental tool to resolve build errors based on log analysis.

Open Graph image for esp-mcp

JSON Config

{
    "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>"
            }
        }
    }
}

Useful Links

Information

  • Author@horw
  • Published date2025/09/19

Categories