MCP Directory

How to add Embedded Debugger MCP Server to Cursor

Debug embedded systems (ARM Cortex-M, RISC-V) from AI assistants via probe-rs. Paste the config into ~/.cursor/mcp.json and restart Cursor.

Last updated June 14, 2026 · 113 · stdio · no auth

Cursor config for Embedded Debugger MCP Server

git clone https://github.com/adancurusul/embedded-debugger-mcp.git && cd embedded-debugger-mcp && cargo build --release
{
  "mcpServers": {
    "embedded-debugger-mcp-server": {
      "command": "/path/to/debugger-mcp-rs/target/release/embedded-debugger-mcp",
      "args": [],
      "env": {
        "RUST_LOG": "info"
      }
    }
  }
}

Setup steps

  1. 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
  2. 2Paste the Embedded Debugger MCP Server config below into the "mcpServers" object.
  3. 3Fill in placeholder secrets, then save.
  4. 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
  5. 5Ask Cursor to use one of Embedded Debugger MCP Server's tools to confirm it's connected.

Before you start

  • Rust 1.70+ to build from source
  • A probe-rs compatible debug probe (ST-Link V2/V3, J-Link, or DAPLink) with drivers installed
  • A supported target board (e.g. STM32 microcontroller)
  • USB connection to the probe and target board

What Embedded Debugger MCP Server can do in Cursor

list_probes

Discover available debug probes on the system.

connect

Connect to a probe and target chip.

probe_info

Get detailed session information.

read_memory

Read flash/RAM with multiple data formats.

write_memory

Write to target memory.

halt

Stop target execution.

run

Resume target execution.

reset

Perform a hardware or software reset.

Security

Runs as a local stdio process and controls real debug hardware (flash erase/program, memory write, target reset). Only connect it to probes and target boards you intend to expose to the AI assistant.

Embedded Debugger MCP Server + Cursor FAQ

Where is the Cursor config file?

Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the Embedded Debugger MCP Server config there under the "mcpServers" key and restart the client.

Is Embedded Debugger MCP Server safe to use with Cursor?

Runs as a local stdio process and controls real debug hardware (flash erase/program, memory write, target reset). Only connect it to probes and target boards you intend to expose to the AI assistant.

Which debug probes are supported?

J-Link (all variants), ST-Link V2/V3, ARM DAPLink-compatible probes, Black Magic Probe, and FTDI-based debug probes.

Which target architectures work?

ARM Cortex-M (M0, M0+, M3, M4, M7, M23, M33) and various RISC-V cores, with basic support for ARM Cortex-A.

Is there a prebuilt package?

No. The README documents building from source with cargo build --release; there is no npm or other registry package listed.

View repo Full Embedded Debugger MCP Server page