About Ironharness
Ironharness is an MCP server published by cezman in the Healthcare category: safe I/O harness for LLM agents: serial, Modbus TCP, MQTT, file sandbox and ESP32 flashing behind an MCP server, with a JSONL audit journal - plus ironbench, a pass@k benchmark for firmware agents on Wokwi/Renode/real hardware. Conduid read 33 tools from its source: echo, esp_erase, esp_flash, esp_image_info, file_delete, file_list and 27 more. No package is published for it, so it installs from a source checkout.
The repository has 2 stars and 0 forks, and its last commit was on 24 Sep 2026. The latest release is v0.9.0 (20 Sep 2026): ironharness v0.9.0 The external-audit release. It follows v0.7.0 (11 Sep 2026), and the 5 most recent releases go back to v0.4.3 (9 Sep 2026). Its topics include agent-tools, benchmark, embedded, esp32, firmware and hardware-testing.
Install
git clone https://github.com/cezman/ironharnessTools (33)
echoReturns the text back. Service tool to verify the MCP setup works.esp_eraseErases the board's entire flash (irreversible).esp_flashFlashes an image to the board on the given port (classic ESP32: addr=0x1000).esp_image_infoParses a .bin firmware image without hardware: entrypoint, segments, flash params.file_deleteDeletes a file from the sandbox.file_listLists files and directories in the sandbox (relative paths).file_readReads a text file from the sandbox.file_writeWrites a text file (utf-8) inside the sandbox; escaping the sandbox is denied.modbus_closeCloses the named Modbus TCP connection.modbus_openOpens a named Modbus TCP connection.modbus_readReads count holding registers starting at address.modbus_writeWrites holding registers: one value -> FC6, several -> FC16.mqtt_closeCloses the named MQTT connection and stops its network loop.mqtt_openOpens a named MQTT connection to a broker. Plaintext TCP (no TLS/auth) — for bench use.mqtt_publishPublishes a message to a topic (payload is text).mqtt_readReads the next incoming message {"topic", "payload"}; null — timeout.mqtt_subscribeSubscribes to a topic (wildcards allowed: sensors/#, +/temperature).serial_closeCloses the named serial port and releases it for other applications.serial_getPulls a device file into the sandbox over the raw REPL; dest_pathserial_listLists host serial ports with USB identity: device, vid, pid, serial_number, location, description.serial_monitorCaptures the port's output for a bounded window - "watch what theserial_openOpens a named serial port (COM3, /dev/ttyUSB0, loop:// for tests).serial_putPushes a sandbox file onto the device filesystem over the raw REPL;serial_readReads up to size bytes from the serial port; returns a hex string ("" — timeout).serial_read_lineReads one \\n-terminated line; returns a hex string.serial_read_untilWaits until the pattern (utf-8 text) appears in fresh reader data andserial_reader_startStarts a background reader on an open serial port: keeps draining theserial_reader_stopStops the background reader of the named serial port (returns finalserial_resetResets the board with an RTS pulse (ESP32: RTS->EN, DTR low = normalserial_tailThe newest data received by the background reader (non-destructive):serial_waitBlocks until a serial port matching the given VID:PID appears, thenserial_writeWrites bytes to the serial port; data_hex is a hex string (e.g. 48656c6c6f).session_statusSession introspection: open transports (name, kind, port), backgroundSecurity checks
6 checks have not been run yet.