Documentation

Connect your agent, then let it compile, simulate, verify and debug firmware on the server.

Getting started

  1. Add the server: claude mcp add --transport http openedk https://mcp.openedk.com/mcp (Codex: codex mcp add openedk https://mcp.openedk.com/mcp).
  2. Sign in: in Claude Code run /mcp → openedk → Authenticate; in Codex, codex mcp login openedk. A browser opens for Google.
  3. Ask for what you want, for example: "Write an Arduino Uno sketch that blinks pin 13 at 2 Hz, then verify it."
  4. The agent compiles with compile_firmware, runs and checks the build with simulate_firmware or verify_firmware, and hands you the .hex from get_firmware to flash.

Each build has a run_id; the same sources and flags give the same run_id.

MCP tools

ToolWhat it does
compile_firmwareC, C++ or an Arduino sketch for any of the 8 boards; returns the ELF, a run_id and the flash and RAM it takes.
simulate_firmwareRuns it on Renode (STM32) or simavr (AVR): UART, GPIO edges, I2C and SPI devices, ADC voltages; sensors and displays on AVR.
verify_firmwareCompile → simulate → grade the behavior you describe, or assertions on pins, rates, UART text and bus traffic.
decode_traceDecodes UART, SPI or I2C from a run's pin trace with sigrok's protocol decoders.
get_firmwareDownloads a build as Intel HEX or ELF by its run_id, to flash a real board.
list_simulation_targetsThe 8 boards, and which peripherals each one simulates.
debug_*debug_start, _break, _continue, _step, _eval, _registers, _stop: breakpoints, stepping and variables in the simulator.

Simulation targets

TargetBoard SimulatorSimulated Not simulated
stm32f103Blue Pill · STM32F103C8RenodeGPIO, USART, I2C, SPI, ADCTimer, DMA, USB, CAN
stm32f401Nucleo · STM32F401RERenodeGPIO, USART, I2C, SPI, ADCTimer, DMA
stm32f407Discovery · STM32F407VGRenodeGPIO, USART, I2C, SPI, ADCTimer, DMA, Ethernet, USB, CAN
atmega328pArduino Uno · ATmega328PsimavrGPIO, UART, Timer, PWM, I2C, SPI, ADC—
atmega2560Arduino Mega · ATmega2560simavrGPIO, UART, Timer, PWM, I2C, SPI, ADC—
atmega328p_8mhzPro Mini 3.3 V · ATmega328P 8 MHzsimavrGPIO, UART, Timer, PWM, I2C, SPI, ADC—
atmega32u4Leonardo / Micro · ATmega32U4simavrGPIO, UART, Timer, PWM, I2C, SPI, ADCUSB
attiny85ATtiny85 · 8 MHz internalsimavrGPIO, Timer, PWM, ADCUSI

Plugin & CLI

$ claude plugin marketplace add jeremy0612/OpenEDK
$ claude plugin install openedk@openedk

The plugin runs two MCP servers: openedk, this hosted endpoint, and openedk-probe, which runs openedk probe serve on your machine for a board on its USB.

Status: openedk-probe needs the openedk CLI with the probe commands. install.sh still installs v0.1.0, which predates them, and the Windows sigrok-cli bundle is not published yet.