Skip to content
Gemini CLI

gdb mcp for Gemini CLI

io.github.mrfentmen/gdb-mcp

GDB MCP: 20 real tools to read, check, lint, scaffold, build and run GDB code.

client:Gemini CLI transport:stdio runtime:npm

Install gdb mcp in Gemini CLI

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

{
  "mcpServers": {
    "gdb-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/gdb-mcp"
      ]
    }
  }
}

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

gdb mcp in other clients