独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
Z

Zeraissh/stm32-gdb-mcp

MCP server that lets AI agents debug STM32 firmware on real hardware (GDB + OpenOCD/ST-Link/J-Link): HardFault triage, FreeRTOS, SWO/RTT, decoded structured results.

装之前:有可直接复制的命令 · 许可证 MIT · 链接可访问

SECURITY.md ✓
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
  1. 复制上面的命令
  2. 粘成 claude_desktop_config.json 里 mcpServers 的一项(本地服务器用 command + args,示例见 客户端接法)
  3. 重启客户端
客户端配置(取自该仓库的安装命令)
{
  "mcpServers": {
    "zeraissh-stm32-gdb-mcp": {
      "command": "uvx",
      "args": ["stm32-gdb-mcp"]
    }
  }
}

解析自我们于 2026-10-26 抓取的该仓库 README;我们未执行过。

command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
  "servers": {
    "zeraissh-stm32-gdb-mcp": {
      "command": "uvx",
      "args": ["stm32-gdb-mcp"]
    }
  }
}
VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio zeraissh-stm32-gdb-mcp -- uvx stm32-gdb-mcp
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
★ 数取值
4 ★ · Zeraissh/stm32-gdb-mcp · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-23 · 最近见到 2026-11-14 · 共见到 26 次 · 被 23 个来源列出
评分构成
综合分 2,300 · 4 ★ · 23 个来源 · mcp
安装
uvx stm32-gdb-mcp
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 uvx stm32-gdb-mcp。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 Zeraissh/stm32-gdb-mcp;我们收录于 2026-10-23;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# STM32 GDB MCP Server / STM32 GDB MCP 服务器

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

An MCP server that lets an AI agent debug STM32 firmware on real hardware — drive
GDB + OpenOCD/ST-Link/J-Link to flash, breakpoint, inspect memory/registers/RTOS, triage
HardFaults, and profile — and get back decoded, structured evidence instead of raw GDB text.
让 AI 智能体在真实硬件上调试 STM32:通过 GDB + OpenOCD/ST-Link/J-Link 烧录、打断点、查
内存/寄存器/RTOS、定位 HardFault、做性能采样,返回已解码的结构化证据而非原始 GDB 文本。
bash
uvx stm32-gdb-mcp # any MCP client: command "uvx", args ["stm32-gdb-mcp"]
Needs arm-none-eabi-gdb (or gdb-multiarch) and a GDB server (OpenOCD / J-Link / st-util)
on PATH; stm32-gdb-mcp-check-env prints the install command for your OS. See
Install for one-command setup in Claude Code, Cursor, VSCode and others.
/ 需要 PATH 中有 arm-none-eabi-gdb(或 gdb-multiarch)和一种 GDB Server;
stm32-gdb-mcp-check-env 会给出本机系统的安装命令。各客户端的一键安装见下方 Install。
## Why this server / 为什么选它
| | Generic GDB MCP servers / 通用 GDB MCP | probe-rs-based servers / 基于 probe-rs | stm32-gdb-mcp |
| Output / 返回内容 | Raw GDB text / 原始文本 | Structured / 结构化 | Decoded + suggestednextactions / 解码结果 + 下一步建议 |
| HardFault → source line / 定位到源码 | — | ✓ | ✓ plus stack analysis / 附栈分析 |
| FreeRTOS tasks, stacks, queues / RTOS 感知 | — | — | ✓ |
| Peripheral registers decoded from SVD / SVD 外设解码 | — | — | ✓ |
| Logs / 日志 | — | RTT | RTT, SWO, UART |
| Symbolized PC sampling / 符号化采样 | — | — | ✓ |
| One-call bring-up (flashandrun, debuguntil) / 组合工具 | — | partial / 部分 | ✓ |
| Replay + debug report / 回放与报告 | — | — | ✓ |
| Multi-board rack, programmable USB hub / 多板与 USB Hub | — | — | ✓ |
| Probes / 调试器 | Any GDB remote | probe-rs probes | ST-Link, J-Link, CMSIS-DAP via OpenOCD / J-Link GDB Server / st-util |
| Targets / 目标芯片 | Any | Cortex-M, RISC-V, ESP32 | STM32 (Cortex-M) |
Pick a probe-rs-based server if you need RISC-V or ESP32; pick this one when you debug STM32
and want the agent to get from symptom to root cause with fewer calls.
/ 需要 RISC-V 或 ESP32 时选 probe-rs 系;调试 STM32、希望 agent 用更少调用从现象走到根因时选本项目。
## What you get / 能力一览
| Bring-up & flash / 启动与烧录 | detectprobe, suggestserverargs, buildfirmware, flashandrun, selfcheck, resettarget |
| Execution / 执行控制 | runandwait(结构化停止事件), runforduration(运行/采样后暂停并采集), breakpoint, step, halt/continue, debuguntil |
| Inspect / 状态检查(需暂停) | capturestate, readmemory/readvariable, readregisters, frame, readperipheralregister |
| Fault triage / 故障诊断 | reconstructfaultcontext(故障 PC → 源码), diagnosefault, analyzestack |
| RTOS / 实时系统 | detectrtos, readfreertos, snapshot(scope=rtos) |
| Observe / 可观测性 | logging(RTT/SWO/UART), setupswo(无需额外解码器的 printf), samplepc(符号化采样器) |
| Determinism / 可复现性 | runscenario(回放), batch, getsession 日志/指标, exportdebugreport |
| Multi-board / 多板卡 | 任意工具传 session="name";使用 listsessions/closesession 管理 |
Two cross-cutting goals: low comprehension cost (decoded outputs, suggestednextactions)
and minimal repro steps (composites like flashandrun / debuguntil collapse 5–15 calls
into one). Compact mode keeps the visible surface small; every tool remains reachable through
call(tool, args), and toolhelp exposes hidden schemas.
两个贯穿目标是:通过解码结果和 suggestednextactions 降低理解成本,并通过
flashandrun、debuguntil 等组合工具把多次调用压缩为一次,缩短复现路径。
compact 模式只展示核心工具;所有隐藏工具仍可由 call(tool, args) 调用,并可用
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/zeraissh-stm32-gdb-mcp/)
来源
awesome · https://github.com/Zeraissh/stm32-gdb-mcp
按领域浏览
MCP 服务
Traction
4 ★
收录来源
23 个独立来源
收录于
今天
安全策略
该仓库根目录有 SECURITY.md(我们只核文件存在,未核内容)

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引