Skip to main content
In this tutorial you add SmartAlex to OpenAI Codex, so it can build voice agents, read your calls and run campaigns from the terminal. It takes about 2 minutes: one command to add SmartAlex, one to sign in, and a first question.
In Codex: codex mcp add, then codex mcp login. In SmartAlex, the connected app then shows under Settings → Security → Where you’re signed in.
Commands were checked against OpenAI’s Codex docs and codex mcp --help on 26 November 2026.

Add the server

1

Add SmartAlex

In your terminal, run:
This writes the entry to ~/.codex/config.toml:
2

Sign in

3

Approve in SmartAlex

Your browser opens a SmartAlex page headed … wants to use your SmartAlex account. The app’s own name shows in quotes. It says it will send you back to an app on this device. Sign in if it asks, check the account under Approving as, and click Approve.
4

Check the connection

SmartAlex is listed with its address.

Check it worked

Start Codex with codex and ask:
Codex calls a SmartAlex tool and answers with your own numbers.

How do I disconnect it?

1

Sign out and remove

2

Sign Codex out of SmartAlex

In SmartAlex, open Settings → Security → Where you’re signed in and click Sign out next to Codex. See Check and disconnect.

Questions people ask

In ~/.codex/config.toml, under [mcp_servers.smartalex] with the url. The command writes it for you.
Yes. Run codex mcp login smartalex --no-browser. Codex prints a link to open on another device, and you paste the address you land on back into the terminal.
It has its own menu: the gear, then MCP servers, then Add server, with Streamable HTTP and the SmartAlex address. Then Restart extension and choose Authenticate.

Next

The next step is Your first jobs in chat: build an agent, review calls and run a campaign by asking.

Install the plugin

Add the step-by-step skills to Codex.

Every Codex option

The plugin route, workspaces and fixes.
Last modified on November 27, 2026