Skip to main content
Glama
DUTchMate
by leonahi

DUTchMate

DUTchMate gives your coding agent access to UART logs, firmware commands, and configured reset and boot controls through MCP. Your agent can investigate device behavior alongside your source code, using recorded evidence.

Use your coding agent's existing model. The separate DUTchMate Debug Agent package is not required.

1. Install DUTchMate

Requires Python 3.10+ on Linux or macOS. Choose one tool installer.

uv tool install dutchmate
pipx install dutchmate

Install the dutchmate package to get the CLI, service, and MCP launcher together. If your shell cannot find dutchmate, run uv tool update-shell or pipx ensurepath for your installer, then reopen your terminal.

For a pinned installation or upgrade guidance, see the latest published release notes. To run from a checkout, see the developer setup.

Related MCP server: agentic-hil

2. Connect your device

Connection

Available capabilities

TTL USB-to-UART adapter (Basic)

UART logs and optional firmware commands

RP2350 Pico 2 Debug Helper (Enhanced)

UART plus configured reset, boot and GPIO control

Connect your adapter and configure the matching baud rate and wiring. See the setup guide for configuration. Replace YOUR_UART_PORT with your adapter's actual serial port:

dutchmate start --backend basic --serial-port YOUR_UART_PORT
dutchmate status

For the Debug Helper, use dutchmate start --backend enhanced instead. Follow the wiring guide to connect its DUT_VIO reference to the DUT's logic supply.

3. Connect your coding agent

Register the local stdio MCP server using your client's settings. The agent launches the adapter and Device Core from step 2 handles device access. MCP setup and troubleshooting · Native install prompts for VS Code and Cursor

Clients that support Agent Plugins can load the optional bundle with MCP registration and two workflow skills. DUTchMate agent plugin

Once the tools appear, ask your agent to call get_status and report the connection state.

4. Start debugging

Try these prompts in your coding agent:

Check the device connection and summarize the latest UART logs.

Observe UART for 15 seconds and identify errors or unexpected behavior.

Investigate this boot failure using the UART evidence and this repository. Propose a fix, and ask before resetting the board or sending commands.

DUTchMate records UART continuously while the service owns the connection, so your agent can retrieve evidence between requests. Sending commands requires UART TX to be enabled; reset and boot actions require configured control mappings.

When finished:

dutchmate stop

Further information

Licensing

Software, firmware and documentation use the MIT License, unless otherwise noted. DUTchMate-authored hardware design files under hardware/pcb/ use CERN-OHL-P-2.0. Legacy EAGLE and third-party assets retain their existing terms; see LICENSE.md and third-party notices.

The DUTchMate name, logo and branding are excluded from these grants; they do not authorize presenting derivative products as official DUTchMate products. Contributions require DCO 1.1 sign-off; see CONTRIBUTING.md.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Agentic Hardware-in-the-Loop (Agentic HIL) lets coding agents develop firmware on real embedded boards: flash, reset, read UART and exchange CAN traffic, diagnose and fix. Local, policy-gated MCP tools support OpenOCD, pyOCD and STM32CubeProgrammer, with pytest for CI.
      44
      2,626 PyPI
      35
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to interact with physical embedded target boards over a dual-CDC USB bridge using MCP tools. It exposes console reading, pattern waiting, command sending, reboot/login state machines, and in-RAM MicroPython execution while a single-owner daemon safely arbitrates access to the serial devices.
      6
      4
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to directly inspect and debug embedded hardware: reading/writing serial ports and bus devices, auto-detecting baud rates, parsing Modbus/NMEA/custom binary frames, plus diagnosing failures through a 45-rule fault-pattern library, error-code tables, and compile/flash error translation. Also provides pin-conflict checking, register and Cortex-M fault decoding, pre-validated driver and component selection libraries, board knowledge, and guarded flashing with post-flash byte-level verification.
      59
      MIT