Embedded Debugger MCP Server

Embedded Debugger MCP is a Rust server for embedded debugging through either probe-rs (native) or OpenOCD (via the GDB Remote Serial Protocol). It exposes a single MCP tool set for AI assistants —…

Local serverstdio

What is the Embedded Debugger MCP Server?

Embedded Debugger is an MCP project maintained in the adancurusul/embedded-debugger-mcp repository. The maintainer describes its purpose as “Embedded Debugger MCP is a Rust server for embedded debugging through either probe-rs (native) or OpenOCD (via the GDB Remote Serial Protocol). It exposes a…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using /path/to/embedded-debugger-mcp/target/release/embedded-debugger-mcp. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares RUST_LOG. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_probesDiscover connected debug probes.
connectOpen a probe session for a target chip.
probe_infoShow active session information.
haltHalt core execution.
runResume execution.
resetReset the core. Only the implemented hardware-style reset path is accepted.
stepSingle-step one instruction.
get_statusRead core/session status.
disconnectDrop the session and clean up resources.
read_memoryRead target memory with configured size/range limits.
write_memoryWrite target memory when enabled by configuration.
set_breakpointSet a hardware breakpoint.
clear_breakpointClear a hardware breakpoint.
diagnose_faultRead the Cortex-M SCB fault registers (CFSR/HFSR/MMFAR/BFAR/SHCSR/CPUID) plus PC/SP/LR in one call and return a compact structured evidence bundle with the set
unwind_exceptionUnwind the stack after a crash and map each frame to a source line. On the probe-rs backend, returns a full DWARF backtrace (function + file:line per frame)…
flash_eraseErase flash when erase permissions are enabled.
flash_programProgram ELF, HEX, or BIN files through probe-rs flash algorithms.
flash_verifyCompare raw expected data with target flash contents.
run_firmwareErase, program, reset/run, and optionally attach RTT.
rtt_attachAttach to a SEGGER RTT control block.
rtt_detachDetach RTT.
rtt_channelsList discovered RTT channels.
rtt_readRead from an up channel with max byte and timeout limits.
rtt_writeWrite to a down channel.

How to install the Embedded Debugger MCP Server

{
  "mcpServers": {
    "embedded-debugger": {
      "command": "/path/to/embedded-debugger-mcp/target/release/embedded-debugger-mcp",
      "args": [
        "serve"
      ],
      "env": {
        "RUST_LOG": "info"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
RUST_LOGDeclared in the maintainer’s client configuration.Check documentation