McuBuddy

AI debugging tool for MCUs and embedded firmware that connects to real hardware through MCP, with support for ST-Link, J-Link, pyOCD, Keil, RTOS, GDB Server, and Flash debugging.

MCP serverOpen sourceMaintainedEmbeddedVerification

What it does and how it connects

McuBuddy is a Model Context Protocol server for MCU board-level debugging. It exposes debug probes, Keil MDK projects, ELF and DWARF symbols, CPU and memory state, SVD peripheral registers, UART and RTT logs, FreeRTOS state, flash operations, and GDB servers as structured tools that AI assistants can call, extending AI from firmware analysis to real MCUs.

It starts with 19 stable tools in the default toolset, with additional domains added only as needed: probe, diagnose, build_flash, rtos, logs, and experimental. Key features include real-hardware debugging through ST-Link, J-Link, CMSIS-DAP, and other probes; a Keil project workflow that discovers .uvprojx and .uvproj files and invokes Keil MDK through UV4.exe for builds or downloads; source-level fault diagnosis from ELF and DWARF data for HardFaults, startup failures, stack overflows, and memory corruption; and peripheral and RTOS inspection.

The README states that automation does not replace engineering responsibility: humans remain responsible for goals and acceptance criteria, wiring and power safety, high-risk operation approval, code review, and new environment validation, and motors, relays, and other safety-related devices require recovery plans and independent protection.

  • embed-ai-tool

    An embedded development skill set for AI coding assistants covering MCU firmware builds, flashing, GDB debugging, and protocol debugging.

  • LUXAR

    An embedded AI agent toolkit for ESP-IDF firmware generation, review, build, flash, monitor, and debug workflows.

  • Micius

    A terminal-first embedded agent workbench connecting LLMs to real devices, sensors, serial ports, and board-level tools.

  • Embedder

    A commercial AI firmware platform whose agents read datasheets and schematics, write drivers, and validate code on real hardware or in SIL and HIL tests.

  • AI Embedded Lab

    An AI-driven embedded engineering lab where an agent generates firmware, runs it on real hardware or simulation, and iterates.

Recurring errors it addresses

Error Index entries this tool is built to reduce or work around.

Sources

  1. 1cunjun/McuBuddy READMEgithub.com
  2. 2GitHub repo statsapi.github.com
  3. 3Latest release v0.6.1github.com

Not verified

  • No independent user voice found: the repo has no public issues listed via the API.
  • Pricing: none stated on the repo.
  • Activity: last push August 2026, so the project looks quiet; no newer release was found.
  • A named individual builder beyond the repository owner handle cunjun

Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.