Gemini CLI connects to Vessero with one command. Signing in needs a browser on the same computer. In Connected apps, the same steps open one at a time, with the command to copy, and the last one tells you when Gemini CLI is in.
Connect Gemini CLI
- Add Vessero to Gemini CLI. In a terminal where Gemini CLI is signed in, run
gemini mcp add --transport http --scope user vessero https://vessero.com/mcp. - Sign in with /mcp auth. Start Gemini CLI with
gemini, then type/mcp auth vessero. - Your browser opens Vessero's page. Sign in if it asks, then press Allow.
- Check it works. Type
/mcp: it shows vessero as CONNECTED, with its tools. - Ask: "Use Vessero to show my credit balance." Confirm the tool call when it asks, and it answers with your balance.
Both flags in the command matter. Without --transport http, Gemini CLI adds the wrong kind of server; without --scope user, it has Vessero in this folder only.
Use a key instead
Over SSH, on a server, or anywhere else with no browser to sign in with, give Gemini CLI an API key.
- Add Vessero to Gemini CLI. In Connected apps, under Connect another app, press Gemini CLI, then Use a key instead.
- Name the key, choose what it can do and, if you like, give it a daily cap. Press Make the key.
- The key is shown once, already in the command. Copy it and run it in a terminal. It reads
gemini mcp add --transport http --scope user --header "Authorization: Bearer vsk_…" vessero https://vessero.com/mcp, with your key in place ofvsk_…. - Check it works. Start Gemini CLI with
gemini, and ask: "Use Vessero to show my credit balance."
The command keeps the key in your own settings, ~/.gemini/settings.json. Never put it in a project's .gemini/settings.json.
If it doesn't connect
- "DISCONNECTED", or no tools. It was added without
--transport http, or for another folder. Rungemini mcp remove vessero, then the command again. - A 401 error. Type
/mcp auth vesseroto sign in again. - No browser to sign in with. Use a key instead.
Don't set trust: true for Vessero: it skips every confirmation, and Vessero's tools can spend your credits.
Related
Still stuck?
A person reads every message.
Usually within 4 hours on a working day.
Have an account? Log in and write to us from Help in the app.