Skip to content
Gemini CLI

codeql mcp for Gemini CLI

io.github.mrfentmen/codeql-mcp

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

client:Gemini CLI transport:stdio runtime:npm

Install codeql mcp in Gemini CLI

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

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

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

codeql mcp in other clients