Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Embedded Debugger Mcp

    A Model Context Protocol server for embedded debugging with probe-rs - supports ARM Cortex-M, RISC-V debugging via J-Link, ST-Link, and more

    13 stars
    Rust
    Updated Sep 12, 2025

    Table of Contents

    • ✨ Features
    • 🏗️ Architecture
    • 🚀 Quick Start
    • Prerequisites
    • Installation
    • Basic Usage
    • Claude Desktop Configuration Example
    • 🎯 Try the STM32 Demo
    • Usage Examples with AI Assistants
    • List Available Debug Probes
    • Connect and Flash Firmware
    • Interactive RTT Communication
    • Memory Analysis
    • Test All 22 MCP Tools
    • 🛠️ Complete Tool Set (22 Tools)
    • 🔌 Probe Management (3 tools)
    • 💾 Memory Operations (2 tools)
    • 🎯 Debug Control (4 tools)
    • 🛑 Breakpoint Management (2 tools)
    • 📱 Flash Operations (3 tools)
    • 📡 RTT Communication (6 tools)
    • 📊 Session Management (2 tools)
    • 🌍 Supported Hardware
    • Debug Probes
    • Target Architectures
    • 🏆 Production Status
    • ✅ Fully Implemented and Tested
    • 🙏 Acknowledgments
    • 📄 License

    Table of Contents

    • ✨ Features
    • 🏗️ Architecture
    • 🚀 Quick Start
    • Prerequisites
    • Installation
    • Basic Usage
    • Claude Desktop Configuration Example
    • 🎯 Try the STM32 Demo
    • Usage Examples with AI Assistants
    • List Available Debug Probes
    • Connect and Flash Firmware
    • Interactive RTT Communication
    • Memory Analysis
    • Test All 22 MCP Tools
    • 🛠️ Complete Tool Set (22 Tools)
    • 🔌 Probe Management (3 tools)
    • 💾 Memory Operations (2 tools)
    • 🎯 Debug Control (4 tools)
    • 🛑 Breakpoint Management (2 tools)
    • 📱 Flash Operations (3 tools)
    • 📡 RTT Communication (6 tools)
    • 📊 Session Management (2 tools)
    • 🌍 Supported Hardware
    • Debug Probes
    • Target Architectures
    • 🏆 Production Status
    • ✅ Fully Implemented and Tested
    • 🙏 Acknowledgments
    • 📄 License

    Documentation

    Embedded Debugger MCP Server

    Rust

    RMCP

    License

    A professional Model Context Protocol (MCP) server for embedded debugging with probe-rs. Provides AI assistants with comprehensive debugging capabilities for embedded systems including ARM Cortex-M, RISC-V microcontrollers with real hardware integration.

    📖 Language Versions: English | 中文

    ✨ Features

    • 🚀 Production Ready: Real hardware integration with 22 comprehensive debugging tools
    • 🔌 Multi-Probe Support: J-Link, ST-Link V2/V3, DAPLink, Black Magic Probe
    • 🎯 Complete Debug Control: Connect, halt, run, reset, single-step execution
    • 💾 Memory Operations: Read/write flash and RAM with multiple data formats
    • 🛑 Breakpoint Management: Hardware and software breakpoints with real-time control
    • 📱 Flash Programming: Complete flash operations - erase, program, verify
    • 📡 RTT Bidirectional: Real-Time Transfer with interactive command/response system
    • 🏗️ Multi-Architecture: ARM Cortex-M, RISC-V with tested STM32 integration
    • 🤖 AI Integration: Perfect compatibility with Claude and other AI assistants
    • 🧪 Comprehensive Testing: All 22 tools validated with real STM32G431CBTx hardware

    🏗️ Architecture

    code
    ┌─────────────────┐    ┌──────────────────┐    ┌─────────────────┐
    │   MCP Client    │◄──►│  Embedded        │◄──►│  Debug Probe    │
    │   (Claude/AI)   │    │  Debugger MCP    │    │  Hardware       │
    └─────────────────┘    └──────────────────┘    └─────────────────┘
                                  │
                                  ▼
                           ┌──────────────────┐
                           │  Target Device   │
                           │  (ARM/RISC-V)    │
                           └──────────────────┘

    🚀 Quick Start

    Prerequisites

    Hardware Requirements:

    • Debug Probe: ST-Link V2/V3, J-Link, or DAPLink compatible probe
    • Target Board: STM32 or other supported microcontroller
    • Connection: USB cables for probe and target board

    Software Requirements:

    • Rust 1.70+
    • probe-rs compatible debug probe drivers

    Installation

    bash
    # Clone and build from source
    git clone https://github.com/adancurusul/embedded-debugger-mcp.git
    cd embedded-debugger-mcp
    cargo build --release

    Basic Usage

    Configure MCP Clients

    Claude Desktop Configuration Example

    Add to Claude Desktop configuration file:

    Windows Example:

    json
    {
      "mcpServers": {
        "embedded-debugger": {
          "command": "C:\\path\\to\\debugger-mcp-rs\\target\\release\\embedded-debugger-mcp.exe",
          "args": [],
          "env": {
            "RUST_LOG": "info"
          }
        }
      }
    }

    macOS/Linux Example:

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

    Other examples for other tools like cursor ,claude code etc. please refer to the corresponding tool documentation

    🎯 Try the STM32 Demo

    We provide a comprehensive STM32 RTT Bidirectional Demo that showcases all capabilities:

    bash
    # Navigate to the example
    cd examples/STM32_demo
    
    # Build the firmware  
    cargo build --release
    
    # Use with MCP server for complete debugging experience

    What the demo shows:

    • ✅ Interactive RTT Communication: Send commands and get real-time responses
    • ✅ All 22 MCP Tools: Complete validation with real STM32 hardware
    • ✅ Fibonacci Calculator: Live data streaming with control commands
    • ✅ Hardware Integration: Tested with STM32G431CBTx + ST-Link V2

    📖 View STM32 Demo Documentation →

    Usage Examples with AI Assistants

    List Available Debug Probes

    code
    Please list available debug probes on the system

    Connect and Flash Firmware

    code
    Connect to my STM32G431CBTx using ST-Link probe, then flash the firmware at examples/STM32_demo/target/thumbv7em-none-eabi/release/STM32_demo

    Interactive RTT Communication

    code
    Please attach RTT and show me the data from the terminal channel. Then send a command 'L' to toggle the LED.

    Memory Analysis

    code
    Read 64 bytes of memory from address 0x08000000 and analyze the data format

    Test All 22 MCP Tools

    code
    Please help me test all 22 MCP embedded debugger tools with my STM32 board. Start by connecting to the probe, then systematically test each tool category: probe management, memory operations, debug control, breakpoints, flash operations, RTT communication, and session management.

    🛠️ Complete Tool Set (22 Tools)

    All tools tested and validated with real STM32 hardware:

    🔌 Probe Management (3 tools)

    ToolDescriptionStatus
    list_probesDiscover available debug probes✅ Production Ready
    connectConnect to probe and target chip✅ Production Ready
    probe_infoGet detailed session information✅ Production Ready

    💾 Memory Operations (2 tools)

    ToolDescriptionStatus
    read_memoryRead flash/RAM with multiple formats✅ Production Ready
    write_memoryWrite to target memory✅ Production Ready

    🎯 Debug Control (4 tools)

    ToolDescriptionStatus
    haltStop target execution✅ Production Ready
    runResume target execution✅ Production Ready
    resetHardware/software reset✅ Production Ready
    stepSingle instruction stepping✅ Production Ready

    🛑 Breakpoint Management (2 tools)

    ToolDescriptionStatus
    set_breakpointSet hardware/software breakpoints✅ Production Ready
    clear_breakpointRemove breakpoints✅ Production Ready

    📱 Flash Operations (3 tools)

    ToolDescriptionStatus
    flash_eraseErase flash memory sectors/chip✅ Production Ready
    flash_programProgram ELF/HEX/BIN files✅ Production Ready
    flash_verifyVerify flash contents✅ Production Ready

    📡 RTT Communication (6 tools)

    ToolDescriptionStatus
    rtt_attachConnect to RTT communication✅ Production Ready
    rtt_detachDisconnect RTT✅ Production Ready
    rtt_channelsList available RTT channels✅ Production Ready
    rtt_readRead from RTT up channels✅ Production Ready
    rtt_writeWrite to RTT down channels✅ Production Ready
    run_firmwareComplete deployment + RTT✅ Production Ready

    📊 Session Management (2 tools)

    ToolDescriptionStatus
    get_statusGet current debug status✅ Production Ready
    disconnectClean session termination✅ Production Ready

    ✅ 22/22 Tools - 100% Success Rate with Real Hardware

    🌍 Supported Hardware

    Debug Probes

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

    Target Architectures

    • ARM Cortex-M: M0, M0+, M3, M4, M7, M23, M33
    • RISC-V: Various RISC-V cores
    • ARM Cortex-A: Basic support

    🏆 Production Status

    ✅ Fully Implemented and Tested

    Current Status: PRODUCTION READY

    • ✅ Complete probe-rs Integration: Real hardware debugging with all 22 tools
    • ✅ Hardware Validation: Tested with STM32G431CBTx + ST-Link V2
    • ✅ RTT Bidirectional: Full interactive communication with real-time commands
    • ✅ Flash Operations: Complete erase, program, verify workflow
    • ✅ Session Management: Multi-session support with robust error handling
    • ✅ AI Integration: Perfect MCP protocol compatibility

    🙏 Acknowledgments

    Thanks to the following open source projects:

    • probe-rs - Embedded debugging toolkit
    • rmcp - Rust MCP SDK
    • tokio - Async runtime

    📄 License

    This project is licensed under the MIT License. See the LICENSE file for details.

    ---

    ⭐ If this project helps you, please give us a Star!

    Similar MCP

    Based on tags & features

    • WI

      Winx Code Agent

      Rust·
      19
    • IM

      Imagen3 Mcp

      Rust·
      46
    • MC

      Mcp Access Point

      Rust·
      135
    • CO

      Code Assistant

      Rust·
      103

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • WI

      Winx Code Agent

      Rust·
      19
    • IM

      Imagen3 Mcp

      Rust·
      46
    • MC

      Mcp Access Point

      Rust·
      135
    • CO

      Code Assistant

      Rust·
      103

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k