Skip to content
Gemini CLI

grok mcp for Gemini CLI

io.github.howardpen9/grok-mcp

Use xAI Grok as a peer reviewer + PR gate from Claude Code, Cursor, Cline and any MCP host.

client:Gemini CLI transport:stdio runtime:npm

Install grok mcp in Gemini CLI

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

{
  "mcpServers": {
    "grok-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "grok-cli-mcp"
      ]
    }
  }
}

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

grok mcp in other clients