OpenOCD Debugger MCP Server

Debug microcontrollers from Claude via OpenOCD: flash, breakpoints, memory and registers by name.

Local serverstdioPython

What is the OpenOCD Debugger MCP Server?

Debug microcontrollers from Claude via OpenOCD: flash, breakpoints, memory and registers by name.

The short version

Once connected to a target through a debug probe (ST-Link, J-Link, CMSIS-DAP, …), your AI assistant can:

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

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
transport"swd" or "jtag". Set "swd" for a **J-Link** on Cortex-M
svd_fileCMSIS-SVD file for the chip (enables peripheral registers by name).
elf_fileyour firmware build output (enables variables by name).
read_onlyfalse
allow_memory_writetrue
allow_flashtrue
allow_flash_erase**false**
allow_raw_commandtrue
flash_allowed_paths[] (any)

How to install the OpenOCD Debugger MCP Server

{
  "mcpServers": {
    "openocd": {
      "command": "uvx",
      "args": ["caches"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use OpenOCD Debugger to Live.”
  • “Use OpenOCD Debugger to transport.”
  • “Use OpenOCD Debugger to svd file.”

Frequently asked questions

Debug microcontrollers from Claude via OpenOCD: flash, breakpoints, memory and registers by name. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.