MCP servers · DeepInfra · MCP server
Connect Gemini CLI to DeepInfra
One line gives Gemini CLI your DeepInfra account as tools: 3 endpoints, chat, models, embed, called with your own connection. No key in the prompt, a receipt for every call, revoke Gemini CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect DeepInfra. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Gemini CLI. Google's helper in your Terminal. Paste one line.
- Ask Gemini CLI: whoami. Then: "Chat completion in DeepInfra".
Paste this in Terminal and press Enter
gemini mcp add --scope user --transport http 0n3 https://0n3.app/mcp -H "Authorization: Bearer <your 0n token>"
The line above carries a placeholder; 0n3.app/install mints a real key named for Gemini CLI and fills it in.
What Gemini CLI can then do in DeepInfra
Chat · Chat completions1
Chat completion
POST /chat/completionsModels · List available models1
List models
GET /modelsEmbed · Text embeddings0
Text embeddings
More · Everything else this app exposes.1
Create an embedding
POST /embeddingsDeepInfra in other AI clients
Claude Code + DeepInfraMCP server + skillClaude (desktop & claude.ai) + DeepInfraconnectorChatGPT + DeepInfraconnector · GPT actionGrok Bot (xAI) + DeepInfracustom connectorCodex CLI + DeepInfraMCP serverCursor + DeepInfraMCP serverVS Code (Copilot) + DeepInfraMCP serverWindsurf + DeepInfraMCP server
