AISIX AI Gateway for Gemini CLI
io.github.api7/aisix
Self-hosted AI gateway that governs MCP servers, LLM traffic, and A2A agents behind one endpoint
client:Gemini CLI
transport:stdio
runtime:oci
Install AISIX AI Gateway in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"aisix": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/api7/aisix:1.3.0"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs