Skip to main content
Gemini CLI can connect to the SmartAlex MCP server, so you can run agents, campaigns, calls and deals from the terminal in plain words. Gemini is the app you prompt, and SmartAlex does the calling.
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.
The diagram shows the connection.

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.
If the sign-in later expires, run /mcp auth smartalex again. Every tool starts with smartalex_, so you can see which calls reach SmartAlex.

What prompts can I try?

A standard connection lists up to 105 tools for your role, plan and add-ons. See Tools reference and Agent capabilities.
Deletes are permanent. Before one runs, SmartAlex returns a preview, and Gemini must show it to you and wait for your yes. SmartAlex allows 100 requests a minute per workspace, so batch large jobs instead of sending hundreds of single calls.

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

No. Gemini CLI is the app you type to. SmartAlex runs the voice agents that place and answer calls.
Not directly. Sign-in opens a browser on the machine running Gemini CLI, so it needs a machine with a browser.
Run the same sign-in command again, which is /mcp auth smartalex, and press Approve in the browser.

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.
Last modified on November 27, 2026