In the app: you sign in on a SmartAlex page and press Approve. To disconnect Gemini CLI, go to Settings → Security → Where you’re signed in.
How do I connect Gemini CLI?
You need a SmartAlex account and Gemini CLI on a machine with a browser. There is no API key.1
Edit the settings file
Add a
smartalex entry to ~/.gemini/settings.json:~/.gemini/settings.json
2
Sign in
Start Gemini CLI and run:Your browser opens. Sign in to SmartAlex and press Approve.
3
Check the tools
Ask “List the SmartAlex tools you can call, then show my voice agents.” Your agents back means it works.
/mcp auth smartalex again. Every tool starts with smartalex_, so you can see which calls reach SmartAlex.
What prompts can I try?
Can Gemini call the REST API instead?
Any tool that can send an HTTPS request with a bearer key can read your workspace through the REST API. A key you make yourself needs the Power Tools add-on, and it reads your workspace but cannot change your records. Use the MCP connection above to run agents and campaigns. See add-ons and prices.Questions people ask
Does Gemini make the phone calls?
Does Gemini make the phone calls?
No. Gemini CLI is the app you type to. SmartAlex runs the voice agents that place and answer calls.
Can I sign in over an SSH session?
Can I sign in over an SSH session?
Not directly. Sign-in opens a browser on the machine running Gemini CLI, so it needs a machine with a browser.
What do I do when the sign-in expires?
What do I do when the sign-in expires?
Run the same sign-in command again, which is
/mcp auth smartalex, and press Approve in the browser.Related
MCP getting started
Every supported app and setting.
Tools reference
Every tool with its inputs and results.
Claude Code
The terminal connection for Claude.
What is MCP?
A plain primer on the Model Context Protocol.

