x402 Preflight for Gemini CLI
io.github.chico10117/x402-preflight
Check an x402 endpoint's payment challenge and discovery metadata before paying.
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