Fermat for Gemini CLI
xyz.phase.ai/gateway
OpenAI-compatible LLM gateway: pay per request with an API key, signed receipt for each call.
client:Gemini CLI
transport:streamable-http
tools:7
Install Fermat in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"gateway": {
"httpUrl": "https://mcp.fermat.ai.phase.xyz/mcp"
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs