Embedded-AI-Harness
Closed-loop AI firmware development on real ESP32 hardware via a Raspberry Pi testbench
Install
See the repository for setupWhat it does
The Embedded-AI-Harness is a method and testbench for developing ESP32 firmware with an AI in a closed feedback loop. Rather than generating code and hoping, an AI writes firmware, builds it in CI, flashes the resulting artefact onto a real board, runs tests against WiFi, MQTT, BLE and RF, reads failures, and corrects itself until tests pass.
It is aimed at embedded engineers who want AI-assisted firmware work to be grounded in real silicon. Work is organised around four phases — definition, harness setup, commissioning and build — each ending at a gate derived from project state. Requirements in the spec are falsifiable, and no code is accepted without a matching clause.
The core is a Raspberry Pi testbench that exposes attached boards over HTTP and RFC2217 serial, so tools like esptool, PlatformIO and ESP-IDF can address a board by slot. The Pi also serves as access point, Bluetooth scanner and logging receiver, and can reset boards over GPIO. Firmware is built on GitHub Actions and flashed from the downloaded artefact, never a local build directory.
Claude Code drives the bench through four skills and roughly 70 MCP tools; Claude Desktop can install the bundled extension and be pointed at the testbench URL.
Limitations: only one writing serial client per board, the SDR is single-dongle and single-user, the API has no authentication, and several newer endpoints are not yet exposed via MCP. A Pi Zero build needs memory hardening.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 296
- Last push
- Oct 9, 2026
- License
- MIT
- Archived
- No
Other GitHub MCP servers
Compare serversFAQ
- What license does Embedded-AI-Harness use?
- MIT
- Does Embedded-AI-Harness run locally or remotely?
- It runs locally.
- Is Embedded-AI-Harness an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/embedded-ai-harness"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.