inference.sh for Gemini CLI
ac.inference.sh/mcp
run any ai model. compose agents, stack knowledge, connect tools. one api, pay per run.
client:Gemini CLI
transport:streamable-http
Install inference.sh in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"mcp": {
"httpUrl": "https://api.inference.sh/mcp"
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs