x402 Preflight for Gemini CLI
io.github.chico10117/x402-preflight
Inspect and validate an x402 endpoint before an autonomous agent spends USDC.
client:Gemini CLI
transport:streamable-http
tools:3
Install x402 Preflight in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"x402-preflight": {
"httpUrl": "https://x402.chikocorp.com/mcp"
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs