Skip to content
Gemini CLI

stackexchange mcp for Gemini CLI

io.github.mrfentmen/stackexchange-mcp

Search questions and read answers across Stack Exchange sites. No key required.

client:Gemini CLI transport:stdio runtime:npm

Install stackexchange mcp in Gemini CLI

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

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

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

stackexchange mcp in other clients