MCP Server Studio

STM32 GDB Debugger MCP server

Debug STM32 firmware on real hardware via GDB + OpenOCD/ST-Link/J-Link with decoded results.

Registry name: io.github.Zeraissh/stm32-gdb-mcp

Publisher
Zeraissh
Runs
Runs locally
Package
PyPI
Version
0.15.1
Category
Developer tools
Updated
2026-10-19

Source code on GitHub

Set up STM32 GDB Debugger (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "stm32-gdb-mcp": {
      "command": "uvx",
      "args": [
        "stm32-gdb-mcp==0.15.1"
      ],
      "env": {
        "STM32_GDB_MCP_COMPACT": "<STM32_GDB_MCP_COMPACT>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add stm32-gdb-mcp -e STM32_GDB_MCP_COMPACT='<STM32_GDB_MCP_COMPACT>' -- uvx stm32-gdb-mcp==0.15.1

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "stm32-gdb-mcp": {
      "command": "uvx",
      "args": [
        "stm32-gdb-mcp==0.15.1"
      ],
      "env": {
        "STM32_GDB_MCP_COMPACT": "<STM32_GDB_MCP_COMPACT>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "stm32-gdb-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "stm32-gdb-mcp==0.15.1"
      ],
      "env": {
        "STM32_GDB_MCP_COMPACT": "<STM32_GDB_MCP_COMPACT>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "stm32-gdb-mcp": {
      "command": "uvx",
      "args": [
        "stm32-gdb-mcp==0.15.1"
      ],
      "env": {
        "STM32_GDB_MCP_COMPACT": "<STM32_GDB_MCP_COMPACT>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
STM32_GDB_MCP_COMPACTNoSet to 1 to expose only the core tools; every other tool stays reachable through call(tool, args).

More developer tools MCP servers