Back to MCP directory
publicPublicdnsLocal runtime

esp-mcp

一个支持ESP-IDF项目构建、日志记录和自动修复问题的MCP概念验证工具

article

README

🚀 MCP项目

MCP目前支持简单的项目构建,具备日志记录功能,还能依据日志自动修复esp - idf构建命令中的问题。

🚀 快速开始

安装

首先,克隆这个MCP仓库:

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

然后,在你的聊天机器人中进行配置。

{
    "mcpServers": {
        "esp-run": {
            "command": "/home/horw/.pyenv/shims/uv",
            "args": [
                "--directory",
                "/home/horw/PycharmProjects/esp-mcp", <- 你的克隆路径
                "run",
                "main.py"
            ],
            "env": {
                "IDF_PATH": "~/esp-idf" <- 你的 ESP-IDF 路径
            }
        }
    }
}

结果

注意

⚠️ 重要提示

这只是MCP的一个概念验证。在我看来,未来可以在这方面进行很多改进,比如与嵌入式设备、家庭助手或文档结合使用。如果你有任何想法,我们可以讨论并提交到问题中。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client