# Smolmux Gdb MCP

> Smolmux Gdb MCP is an open-source MCP server for developer tools. MCP server for GDB/SWD debugging of ARM Cortex-M boards via a smolmux broker. It is available on Linux, CLI and Self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Linux, CLI, Self-hosted
- **Repository:** https://github.com/magnusmalm/smolmux
- **MCP Registry name:** io.github.magnusmalm/smolmux-gdb-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README says smolmux-gdb-mcp is a standalone MCP server that attaches to a running smolmux broker holding a GDB link. Once connected, an AI client can set breakpoints, step, read backtraces, inspect named registers and memory, and decode Cortex-M fault registers on the target.

It also includes an unknown-board probing path for ARM Cortex-M targets, which identifies the core and part and can produce a starter board profile. The README names a SAM C21 Xplained Pro as the board it was validated on, and says other architectures are planned.

It suits embedded engineers doing hardware bring-up or debugging who want an assistant to drive GDB against a board they already have connected over SWD.

## Features

- **Breakpoint and stepping control:** Sets breakpoints and steps through target code from an MCP client.
- **Register and memory access:** Reads name-labeled registers, memory and peripheral registers on the target.
- **Cortex-M fault decoding:** Decodes fault status registers where the core provides them.
- **Unknown board probing:** Identifies Cortex-M chips and generates a starter board profile, per the README.
- **Shared broker access:** Attaches to a running broker so the GDB link can be shared with other clients.

## Good for

- Bring up a new Cortex-M board and identify its core and part
- Inspect a crashed Cortex-M target by decoding fault registers
- Set breakpoints and read backtraces during firmware debugging
- Read peripheral registers while investigating hardware issues

## FAQ

### Which architectures are supported?

The README says unknown-board probing works on ARM Cortex-M today, and other architectures are planned.

### What does the server need to run?

It attaches to a running smolmux broker that holds a --gdb link. The server is built when SM_ENABLE_GDB is on.

### Is Smolmux Gdb MCP open source?

The README says everything in the repository is MIT-licensed, and a paid Pro edition exists for prebuilt binaries and profiles.

### Is Smolmux Gdb MCP free?

Yes. Smolmux Gdb MCP is open source, so you can use and self-host it for free.

### What are the best alternatives to Smolmux Gdb MCP?

The closest alternatives to Smolmux Gdb MCP are Smolmux MCP, jadx-ai-mcp, J-Link MCP, CyanMycelium MCP Broker and stlink-mcp.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.

## Alternatives

- [Smolmux MCP](https://ai-powered.com/mcp/smolmux-mcp): Smolmux MCP is an open-source MCP server for developer tools.
- [jadx-ai-mcp](https://ai-powered.com/mcp/jadx-ai-mcp): jadx-ai-mcp is an open-source MCP server for developer tools.
- [J-Link MCP](https://ai-powered.com/mcp/j-link-mcp): J-Link MCP is an MCP server for developer tools.
- [CyanMycelium MCP Broker](https://ai-powered.com/mcp/cyanmycelium-mcp-broker): CyanMycelium MCP Broker is an open-source MCP server for developer tools.
- [stlink-mcp](https://ai-powered.com/mcp/stlink-mcp): stlink-mcp is an open-source MCP server for developer tools.
- [droidprobe](https://ai-powered.com/mcp/droidprobe): droidprobe is an open-source MCP server for developer tools.
- [Gearboy MCP Server](https://ai-powered.com/mcp/gearboy-mcp-server): Gearboy MCP Server is an open-source MCP server for developer tools.
- [Meshtastic MCP](https://ai-powered.com/mcp/meshtastic-mcp): Meshtastic MCP is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/smolmux-gdb-mcp
