In Claude Code:
claude mcp add, then claude mcp login. In SmartAlex, the connected app then shows under Settings → Security → Where you’re signed in.
Commands were checked against Claude Code’s docs and
claude mcp --help on 26 November 2026.
Add the server
1
Add SmartAlex
In your terminal, run:
2
Sign in
Run:Inside a Claude Code session you can instead type
/mcp, choose smartalex, and follow the steps in your browser.3
Approve in SmartAlex
Your browser opens a SmartAlex page headed … wants to use your SmartAlex account, with the name the app gave itself 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. Close the tab once Claude Code says you are signed in.
4
Check the connection
Run:SmartAlex shows ✔ Connected. If it shows ! Needs authentication, run the sign-in step again.
Check it worked
Start Claude Code withclaude and ask:
How do I disconnect it?
1
Sign out and remove
logout clears the stored sign-in; remove takes SmartAlex out of Claude Code.2
Sign Claude Code out of SmartAlex
In SmartAlex, open Settings → Security → Where you’re signed in and click Sign out next to Claude Code. See Check and disconnect.
Questions people ask
Should I use the plugin or this command?
Should I use the plugin or this command?
This command adds the SmartAlex connection, which gives Claude Code every tool, while the SmartAlex plugin adds the same connection plus 14 step-by-step skills. Either works.
Why --scope user?
Why --scope user?
It makes SmartAlex available in every project on this computer, whereas without it Claude Code adds the server to the current project only.
I added SmartAlex on claude.ai. Is it already in Claude Code?
I added SmartAlex on claude.ai. Is it already in Claude Code?
Often yes. Connectors added on claude.ai show in Claude Code when you are signed in with the same account. Run
claude mcp list to see.Next
Using another app as well? The next tutorial is Install SmartAlex in ChatGPT.Install the plugin
Add the 14 step-by-step skills.
Build with Claude Code
Put a SmartAlex agent into the app you are building.

