Skip to content
Gemini CLI

HTTP for Gemini CLI

io.github.abhishekkumar2021/http

HTTP/REST client with saved collections, env secrets, and SSRF-safe host allowlisting.

client:Gemini CLI transport:stdio runtime:npm

Install HTTP in Gemini CLI

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

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "http": {
      "command": "npx",
      "args": [
        "-y",
        "@abhishekmcp/http"
      ],
      "env": {
        "HTTP_ALLOW_HOSTS": "<HTTP_ALLOW_HOSTS>",
        "HTTP_WRITABLE": "<HTTP_WRITABLE>"
      }
    }
  }
}

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

HTTP in other clients