Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Boot and test ESP32 firmware in a local emulator: UART asserts, buttons, virtual WiFi, screenshots.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"esp32sim": {
"command": "npx",
"args": [
"-y",
"esp32sim-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add esp32sim -- npx -y esp32sim-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"esp32sim": {
"command": "npx",
"args": [
"-y",
"esp32sim-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"esp32sim": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"esp32sim-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub stramanu ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.6) เข้า registry 18 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Fomu MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Kenya government form guides: checklists, draft letters, eCitizen, Huduma, timelines. Sample data.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
sim_expect returns pass/fail and the exact line that is missing, so the agent knows what to fix.init installs an agent skill that teaches the write → build → simulate → fix loop, including building in Docker when ESP-IDF is not installed.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.
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.
Hello world!Counter: 1 ...Counter: 5ESP-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.
| Tool | What it does |
|---|---|
sim_run | Boots the firmware and returns the console log, stop reason, emulated time and any panic. |
sim_expect | Runs the firmware and asserts that strings or regexes appear on the console, in order by default. |
sim_script | Drives the hardware at emulated timestamps: press/release buttons, gpio levels, knob turns, uart/serial input, touch, stop. |
sim_screenshot | Returns a PNG of the board's display at a given emulated time. |
sim_list_boards | Lists chips, boards, displays and inputs. |
sim_doctor | Checks 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.
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.
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:
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)
| Chip | Boards (board) |
|---|---|
| ESP32-S3 | atech14 (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-C3 | console only (no board models) |
| ESP32-C6 | waveshare-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.
init detects the agents you have and configures each one. It runs in your firmware project by default; --global writes user-level settings instead.
| Agent | MCP 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"] } } }
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.
| Runs without a board | Needs an account or token | Built for agents | |
|---|---|---|---|
| esp32sim-mcp | ✅ local emulator | No | ✅ MCP server + skill |
| Wokwi CLI MCP | ✅ | Yes (WOKWI_CLI_TOKEN) | ⚠️ experimental |
| esparagus (Espressif) | ❌ flashes real hardware | No | ✅ |
| 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.
idf.py, locally or in Docker); the MCP server does not compile.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.
MIT © Emanuele Strazzullo