Skip to content
Gemini CLI

code402 for Gemini CLI

io.github.89rat/code402

Discover machine-payable APIs, probe x402 payment terms, and run seller operations. Non-custodial.

client:Gemini CLI transport:streamable-http

Install code402 in Gemini CLI

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

{
  "mcpServers": {
    "code402": {
      "httpUrl": "https://rail.hcrb.in/mcp"
    }
  }
}

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

code402 in other clients