Skip to content
Gemini CLI

Stack Overflow MCP Server for Gemini CLI

com.stackoverflow.mcp/mcp

Access Stack Overflow's trusted and verified technical questions and answers.

client:Gemini CLI transport:streamable-http

Install Stack Overflow MCP Server in Gemini CLI

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

{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://mcp.stackoverflow.com"
    }
  }
}

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

Stack Overflow MCP Server in other clients