Codex
Codex installs the SmartAlex plugin from its plugin marketplace, in the app or the terminal.-
Run one command. Paste this into your terminal. Codex starts and adds the
SmartAlex marketplace for you:
Using the Codex app? Paste just the sentence inside the quotes. To add the marketplace yourself instead:
- Install SmartAlex. Open Plugins, find SmartAlex and install it. Codex asks you to sign in.
- Approve. SmartAlex opens in your browser. Sign in and click Approve.
-
Check it works. Start a new chat and ask:
Cursor
-
Open in Cursor. Open this link. Cursor opens with the setup sentence typed
into the agent:
Press Enter. The agent picks the install route your workspace allows. Nothing opened? Paste the sentence into Cursor’s agent yourself:
Set up the SmartAlex plugin by following the steps in https://github.com/The-RCS-Group/smartalex-plugin - Approve. SmartAlex opens in your browser. Sign in and click Approve.
- Restart Cursor. Quit Cursor fully and open it again, so the SmartAlex tools load.
- Check it works with the question above.
VS Code, and any other MCP app
Give the app this server:
In VS Code, the workspace file
.vscode/mcp.json looks like this:
mcpServers format take the same thing the SmartAlex
plugin ships with:
Use fewer tokens: the lean address
The full SmartAlex tool list is large. Every chat carries its names and descriptions before you type anything, which people on paid token plans notice. The lean address lists seven tools instead: one to search the tools by what they do, one to describe a tool, three to run a tool (reads, safe changes, and sensitive changes, so your app can ask about each kind separately), plus the how-to search and your own notification settings, which stay listed.For developers wiring it up by hand
The server follows the MCP authorization spec. Checked live on 19 November 2026:- An unsigned request gets
401withWWW-Authenticate: Bearer realm="smartalex", resource_metadata="https://mcp.getsmartalex.com/.well-known/oauth-protected-resource". - The protected resource metadata names
https://mcp.getsmartalex.comas both the resource and the authorization server. - The authorization server metadata is at
https://mcp.getsmartalex.com/.well-known/oauth-authorization-server. It offers dynamic client registration, theauthorization_codeandrefresh_tokengrants, PKCE withS256, and the scopesopenid,profile,emailandoffline_access. - On
/lean, the metadata and the challenge use the/leannames, so a client that follows them never changes address mid-sign-in. - Limit: 100 requests a minute per SmartAlex workspace. Past that you get
429withRetry-After.
Apps with no person signed in
A script, a server or a scheduled job has no person to click Approve. It can connect with a SmartAlex API key instead, sent asAuthorization: Bearer sa_live_.... Create one on the Developers page (getsmartalex.com/developers),
API keys tab.
Two limits apply to keys, on purpose:
- A key limited to chosen scopes works with the REST API only. The MCP server refuses it with “This API key works with the SmartAlex REST API only.”
- A key does not get the tools that only a signed-in person may use. That includes rewriting an agent’s prompt, exporting call records, changing the knowledge base, calling people back, team changes, and getting or releasing phone numbers. A read-only key also never sees a tool that changes data.

