Skip to content
Gemini CLI

x402 tools mcp for Gemini CLI

io.github.mizukaizen/x402-tools-mcp

melis x402 Tools — 22 pay-per-call APIs for AI agents. No accounts, no API keys. USDC on Base.

client:Gemini CLI transport:stdio runtime:npm

Install x402 tools mcp 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": {
    "x402-tools-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@melis-ai/x402-tools-mcp"
      ],
      "env": {
        "X402_PAYMENT_HEADER": "<X402_PAYMENT_HEADER>",
        "X402_INTERNAL_KEY": "<X402_INTERNAL_KEY>"
      }
    }
  }
}

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

x402 tools mcp in other clients