Skip to main content
Any AI app that speaks MCP over HTTP and supports MCP sign-in (OAuth) can use SmartAlex. This page has the steps for Codex and Cursor, the settings for any other app, and what to tell a developer who is wiring it up by hand. For Claude, Claude Code and ChatGPT, use their own guides from the start page.

Codex

Codex installs the SmartAlex plugin from its plugin marketplace, in the app or the terminal.
  1. 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:
  2. Install SmartAlex. Open Plugins, find SmartAlex and install it. Codex asks you to sign in.
  3. Approve. SmartAlex opens in your browser. Sign in and click Approve.
  4. Check it works. Start a new chat and ask:

Cursor

  1. 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
  2. Approve. SmartAlex opens in your browser. Sign in and click Approve.
  3. Restart Cursor. Quit Cursor fully and open it again, so the SmartAlex tools load.
  4. Check it works with the question above.
Cursor Team and Enterprise workspaces can switch plugins off. The setup handles that: every SmartAlex tool still works through the plain connection, without the plugin’s guides.

VS Code, and any other MCP app

Give the app this server: In VS Code, the workspace file .vscode/mcp.json looks like this:
Apps that use the common mcpServers format take the same thing the SmartAlex plugin ships with:
The first time the app calls SmartAlex it is asked to sign in, opens the SmartAlex page in your browser, and you click Approve. Your sign-in renews itself after that. An app that cannot sign in with OAuth cannot use this address: see “Apps with no person signed in” below.

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.
Lean mode works for people who sign in. You can do everything you can do with the full list. The AI just finds the tool first, then runs it. The same “waits for your yes” rule applies.

For developers wiring it up by hand

The server follows the MCP authorization spec. Checked live on 19 November 2026:
  • An unsigned request gets 401 with WWW-Authenticate: Bearer realm="smartalex", resource_metadata="https://mcp.getsmartalex.com/.well-known/oauth-protected-resource".
  • The protected resource metadata names https://mcp.getsmartalex.com as 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, the authorization_code and refresh_token grants, PKCE with S256, and the scopes openid, profile, email and offline_access.
  • On /lean, the metadata and the challenge use the /lean names, so a client that follows them never changes address mid-sign-in.
  • Limit: 100 requests a minute per SmartAlex workspace. Past that you get 429 with Retry-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 as Authorization: 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.
For an AI app a person uses, always prefer the sign-in. It acts as that person, with their role, and it can be ended from SmartAlex at any time.