by horw
Centralize ESP32 related commands and simplify getting started with seamless, LLM-driven interaction and help.
# Add to your Claude Code skills
git clone https://github.com/horw/esp-mcpThe goal of this MCP is to:
Simply find a command that is missing from this MCP and create a PR for it!
If you want someone to help you with this implementation, just open an issue.
This project is currently a Proof of Concept (PoC) for an MCP server tailored for ESP-IDF workflows.
Current Capabilities:
Core Features:
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 (esp32, esp32c3, esp32s3, etc.).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.Additional Features:
idf_path parameter.sdkconfig_defaults files for build configuration (multiple files can be specified separated by semicolons).Vision & Future Work: The long-term vision is to expand this MCP into a comprehensive toolkit for interacting with embedded devices, potentially integrating with home assistant platforms, and streamlining documentation access for ESP-IDF and related technologies.
We envision features such as:
monitor, menuconfig interaction if feasible).Your ideas and contributions are welcome! Please feel free to discuss them by opening an issue.
First, clone this MCP repository:
git clone git@github.com:horw/esp-mcp.git
Then, configure it in your chatbot.
The JSON snippet below is an example of how you might configure this esp-mcp server within a chatbot or an agent system that supports the Model Context Protocol (MCP). The exact configuration steps and format may vary depending on the specific chatbot system you are using. Refer to your chatbot's documentation for details on how to integrate MCP servers.
{
"mcpServers": {
"esp-run": { // "esp-run" is an arbitrary name you can assign to this server configuration.
"command": "<path_to_uv_or_python_executable>",
"args": [
...