MCP servers · Leonardo.ai · MCP server
Connect Gemini CLI to Leonardo.ai
One line gives Gemini CLI your Leonardo.ai account as tools: 3 endpoints, models, generate image, more, 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 Leonardo.ai. 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: "List models in Leonardo.ai".
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 Leonardo.ai
Models · List models1
List models
GET /modelsGenerate image · Text to image0
Text to image
More · Everything else this app exposes.2
Create a generation
POST /generationsGet a generation
GET /generations/{id}Leonardo.ai in other AI clients
Claude Code + Leonardo.aiMCP server + skillClaude (desktop & claude.ai) + Leonardo.aiconnectorChatGPT + Leonardo.aiconnector · GPT actionGrok Bot (xAI) + Leonardo.aicustom connectorCodex CLI + Leonardo.aiMCP serverCursor + Leonardo.aiMCP serverVS Code (Copilot) + Leonardo.aiMCP serverWindsurf + Leonardo.aiMCP server
