原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

ESP32 Simulator

作者:stramanu版本 0.2.6i★ –i在你的电脑上运行
注册名称io.github.stramanu/esp32sim-mcp

安装

概览

作者提供的说明(英文原文)

Boot and test ESP32 firmware in a local emulator: UART asserts, buttons, virtual WiFi, screenshots.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "esp32sim": {
      "command": "npx",
      "args": [
        "-y",
        "esp32sim-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add esp32sim -- npx -y esp32sim-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "esp32sim": {
      "command": "npx",
      "args": [
        "-y",
        "esp32sim-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "esp32sim": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "esp32sim-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 stramanu 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32564 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32564 个服务器的 67% 更新
  • 基础检查结果等于或优于此分类中其他 32564 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

ESP32 Simulator 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.6)于18天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Tools MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211昨天更新
安装

Tools MCP

作者:First-CH

Web production tools for AI agents: contrast, JP text, WebP, JSON-LD, slugs, dates and 40+ more

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

esp32sim-mcp

Your agent writes ESP32 firmware, boots it and tests it. No board, no account.

A real Claude Code session, recorded live (only the idle tail is trimmed): it edits ESP-IDF's hello_world , builds it in Docker because ESP-IDF isn't installed, and checks the console in the emulator.


Coding agents are good at writing embedded C. They are blind when it comes to running it: without a board on the desk, "it compiles" is where the feedback loop ends.

esp32sim-mcp closes that loop. It gives Claude Code, Codex, Cursor or any MCP client a set of tools that boot the firmware the agent just built inside esp32sim, a local instruction-level ESP32 emulator, and hand back what the chip printed, whether it crashed, and what was on the display. The agent reads the result, fixes the code and tries again, the way you would with a board on the bench.

  • 🔌 No hardware, no cloud. Everything runs on your machine. No account, no token, no board.
  • 🧬 Real boot chain. Espressif's mask ROM, the ESP-IDF bootloader and your unmodified app, on ESP32-S3, C3, C6 and the classic ESP32.
  • 📡 More than a console. Virtual WiFi access point with DHCP, DNS and NAT, buttons, rotary encoder, GPIO, UART input, touch, and display screenshots.
  • 🧪 Assertions, not vibes. sim_expect returns pass/fail and the exact line that is missing, so the agent knows what to fix.
  • ⚡ Fast. Emulation usually runs ahead of real time: on Apple silicon, 8 emulated seconds of a WiFi station joining a network take about 0.6 s.
  • 🤖 Comes with a skill. init installs an agent skill that teaches the write → build → simulate → fix loop, including building in Docker when ESP-IDF is not installed.

Quickstart

npx -y esp32sim-mcp setup                      # emulator + mask ROMs, pinned and SHA-256 verified

cd your-esp-idf-project npx -y esp32sim-mcp init # registers the MCP server and the skill for your agents

Then ask your agent for something you can see on the serial console:

*Add a counter that prints once a second, build it, and check in the simulator that it reaches 5.*

Requirements: Node.js 22+, and ESP-IDF or Docker to build firmware. Prebuilt emulator binaries cover macOS (Apple silicon) and Linux (x64, arm64); see other platforms.

What the agent sees

From a real session, the agent calls:

{

"tool": "sim_expect", "projectDir": ".", "chip": "s3", "board": "none", "maxSeconds": 10, "patterns": ["Hello world!", "Counter: 1", "Counter: 2", "Counter: 3", "Counter: 4", "Counter: 5"] }

and gets back:

### Expect Test: ✅ PASSED

Matched 6 / 6 patterns.

  • ✅ Matched (line 54): Hello world!
  • ✅ Matched (line 55): Counter: 1 ...
  • ✅ Matched (line 65): Counter: 5
Full UART Logs:

ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x1 (POWERON),boot:0xf (SPI_FAST_FLASH_BOOT) ...

When something goes wrong, it gets the panic instead (Guru Meditation Error, stack overflow, failed assert, heap corruption) with the log leading up to it, and the missing pattern spelled out.

Tools

ToolWhat it does
sim_runBoots the firmware and returns the console log, stop reason, emulated time and any panic.
sim_expectRuns the firmware and asserts that strings or regexes appear on the console, in order by default.
sim_scriptDrives the hardware at emulated timestamps: press/release buttons, gpio levels, knob turns, uart/serial input, touch, stop.
sim_screenshotReturns a PNG of the board's display at a given emulated time.
sim_list_boardsLists chips, boards, displays and inputs.
sim_doctorChecks the emulator and ROMs and says how to fix what is missing.

All tools take a projectDir (the ESP-IDF build is found through build/flasher_args.json) or explicit appBin/bootloaderBin/ptableBin paths, plus chip, board and wifi (e.g. ssid=demo,psk=secret). Both UART0 and the USB-Serial/JTAG console are captured, so output shows up whichever one the project logs to.

How it works

flowchart LR

A["Coding agent (Claude Code, Codex, Cursor)"] -- "edits code, runs idf.py build (local or Docker)" --> B["ESP-IDF build/"] A -- "MCP: sim_expect, sim_run, ..." --> C["esp32sim-mcp"] C -- "flasher_args.json" --> B C -- "spawns" --> D["esp32sim emulator mask ROM → bootloader → app"] D -- "UART / USB-JTAG, panics, display, virtual WiFi" --> C C -- "pass/fail, logs, PNG" --> A

esp32sim-mcp is a thin, tested layer: it finds the build, translates tool calls into esp32sim's command line, separates and de-duplicates the two consoles, detects panics, and shapes the result for an agent. The emulation itself is esp32sim's work.

Use it in CI

The same checks run without an agent, with exit code 0 on pass and 1 on fail. A GitHub Actions job that builds your firmware and asserts its boot log:

jobs:

firmware: runs-on: ubuntu-latest steps:

  • uses: actions/checkout@v5
  • uses: actions/setup-node@v5 with: node-version: 22
  • name: Build run: docker run --rm -v "$PWD:/project" -w /project espressif/idf:v5.5.4 idf.py set-target esp32s3 build
  • name: Install the emulator run: npx -y esp32sim-mcp setup
  • name: Boot and check the console run: npx -y esp32sim-mcp expect --max-seconds 10 --pattern "app_main" "Counter: 5"

This is what this repository's own CI does with examples/hello-esp32, including a scripted button press.

All CLI commands

esp32sim-mcp setup                 # install emulator + ROMs (or: install-emulator, fetch-roms)

esp32sim-mcp init [--global] [--agent claude-code|codex|cursor|claude-desktop] [--dry-run] esp32sim-mcp run [-p dir] [--chip s3] [--board none] [--max-seconds 5] [--wifi ssid=x,psk=y] esp32sim-mcp expect --pattern "a" "b" [--unordered] [--script actions.txt] [...run options] esp32sim-mcp list [--chip c6] esp32sim-mcp doctor esp32sim-mcp serve # the MCP server (what agents launch)

Supported chips and boards

ChipBoards (board)
ESP32-S3atech14 (default: ST7735 TFT, buttons, rotary encoder, LED ring, audio), waveshare-lcd4b (480×480 touch), waveshare-amoled18-v2 (368×448 AMOLED touch), waveshare-cam (OV5640 camera), none
ESP32-C3console only (no board models)
ESP32-C6waveshare-c6-lcd147 (172×320 LCD), none
ESP32 (classic)ttgo-tdisplay (135×240 TFT), esp32dev-loopback, none

Use none for stock ESP-IDF projects. The virtual WiFi access point works on all four chips.

Agent setup

init detects the agents you have and configures each one. It runs in your firmware project by default; --global writes user-level settings instead.

AgentMCP server (project / --global)Skill (project / --global)
Claude Code.mcp.json / claude mcp add --scope user.claude/skills/ / ~/.claude/skills/
Codex~/.codex/config.toml (user only).agents/skills/ / ~/.codex/skills/
Cursor.cursor/mcp.json / ~/.cursor/mcp.json.cursor/skills/ / ~/.cursor/skills/
Claude Desktop--global only—

Existing entries are kept, reruns are no-ops, and a config file that does not parse is left untouched.

Claude Code plugin. Instead of init, install the server and skill together as a plugin, for every project:

/plugin install esp32sim --marketplace stramanu/esp32sim-mcp

MCP registry. The server is published to the official MCP registry as io.github.stramanu/esp32sim-mcp. For any other MCP client:

{

"mcpServers": { "esp32sim": { "command": "npx", "args": ["-y", "esp32sim-mcp", "serve"] } } }

Other platforms

setup installs prebuilt binaries on macOS arm64 and Linux x64/arm64. They are built from source by this repository's emulator workflow with signed build provenance (gh attestation verify -R stramanu/esp32sim-mcp). Elsewhere, build esp32sim with Cargo (rustup), pinned to the commit this release is tested against:

cargo install --locked --git https://github.com/mikroverk/esp32sim --rev f535f3b42293a76ab64c231a0425f35857ab6cf1 esp32sim

npx esp32sim-mcp fetch-roms

ESP32SIM_PATH points at an emulator binary elsewhere and ESP32SIM_ROM_DIR at another ROM directory; ROMs inside an ESP-IDF install are found automatically.

How it compares

Runs without a boardNeeds an account or tokenBuilt for agents
esp32sim-mcp✅ local emulatorNo✅ MCP server + skill
Wokwi CLI MCP✅Yes (WOKWI_CLI_TOKEN)⚠️ experimental
esparagus (Espressif)❌ flashes real hardwareNo✅
esp32sim on its own✅No❌ CLI and web UI

esparagus is the natural next step: simulate first with esp32sim-mcp, then confirm on a real board.

Limitations

  • An emulator is not silicon. Peripherals esp32sim does not model, RF timing and Bluetooth are out of reach here; confirm on hardware before you ship.
  • The agent builds the firmware itself (idf.py, locally or in Docker); the MCP server does not compile.
  • Windows is untested.

Contributing

Issues and pull requests are welcome. See CONTRIBUTING.md for the development setup and how the end-to-end tests run against the real emulator, and CHANGELOG.md for what changed.

Credits

License

MIT © Emanuele Strazzullo

问 PopNx