EMBEDDED DEV TOOLS / HM-DT-135
HM-DT-135 · datasheet

bitpirate-mcp

MCP server for the ESP32-Bit-Pirate, an open ESP32-S3 clone of the Bus Pirate: UART, SPI flash, I2C, 1-Wire and GPIO as agent tools for probing, dumping and analysing firmware on a target board

01 · What it does

  • Open a UART session to a target, scan baud rates, send commands and read output
  • Probe an SPI flash chip and dump the whole chip to a file
  • Run the firmware's on-device analysis on a flash image: file signatures, secret patterns and entropy, plus string search
  • Scan, read, write and dump I2C, and search and read 1-Wire buses
  • Patch-write or erase flash, only with an explicit confirmation plus the firmware's own prompts

02 · Install

$ git clone https://github.com/Indigaz/bitpirate-mcp
$ cd bitpirate-mcp
$ python3 -m venv .venv
$ ./.venv/bin/pip install -e .
  1. 33 tools with read-only, allowed and approval tiers. A port of mplogas/buspirate-mcp (Bus Pirate 6) to the Bit-Pirate's text console
  2. Live-tested by the author on an ESP32-S3 devkit with Bit-Pirate v1.8 and no target attached; I2C/1-Wire firmware sessions and esptool flash reads are still on the roadmap
  3. No logic analyzer and no power supply on this board, so the PSU tools report it as unavailable
  4. Installed from a clone; the README lists PyPI publishing as a later phase. The port was written by an AI agent under the maintainer's direction, per the README

03 · Client config (from README)

{
  "mcpServers": {
    "bitpirate": {
      "command": "/absolute/path/to/bitpirate-mcp/.venv/bin/python",
      "args": ["-m", "buspirate_mcp"]
    }
  }
}

Install steps taken from the project README (its recommended path first). Placeholders are the maintainer's. Not bench-tested by HardwareMCP yet.

Weekly bulletin

New hardware MCP servers, notable releases and setup notes. One email, Mondays.