Skip to content
Gemini CLI

OpenOCD Debugger for Gemini CLI

io.github.microhenrio/openocd-mcp

Debug microcontrollers via OpenOCD: flash, breakpoints, memory, registers and variables.

client:Gemini CLI transport:stdio runtime:pypi

Install OpenOCD Debugger in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "openocd-mcp": {
      "command": "uvx",
      "args": [
        "openocd-mcp"
      ],
      "env": {
        "OPENOCD_BIN": "<OPENOCD_BIN>",
        "OPENOCD_MCP_CONFIG": "<OPENOCD_MCP_CONFIG>",
        "OPENOCD_MCP_READONLY": "<OPENOCD_MCP_READONLY>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

OpenOCD Debugger in other clients