> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getsmartalex.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.
> For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.
> Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.
> Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.
> If a feature or screen is not described in these docs, say that you could not find it rather than guessing.
> Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.
> The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview.

# Install SmartAlex in Claude Code

> A first-time tutorial: add SmartAlex to Claude Code with one command, sign in, check it is connected, and remove it when you are done.

In this tutorial you add SmartAlex to Claude Code, Anthropic's coding agent in the terminal. It can then build voice agents, run campaigns and read your calls while you work. It takes about 2 minutes: one command, one sign-in, one check.

> [!NOTE]
>
> 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**.

| | |
| - | - |
| **You will have** | Claude Code connected to your SmartAlex workspace in every project on this computer |
| **Time** | About 2 minutes |
| **You need** | A SmartAlex login, Claude Code installed, and a browser on the same computer |

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:

```bash theme={null}
claude mcp add --transport http --scope user smartalex https://mcp.getsmartalex.com
```

**2. Sign in**

Run:

```bash theme={null}
claude mcp login smartalex
```

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:

```bash theme={null}
claude mcp list
```

SmartAlex shows **✔ Connected**. If it shows **! Needs authentication**, run the sign-in step again.

## Check it worked

Start Claude Code with `claude` and ask:

```text theme={null}
How many contacts, campaigns and calls do I have in SmartAlex?
```

Claude Code calls a SmartAlex tool and asks your permission the first time. Then it answers with your own numbers.

## How do I disconnect it?

**1. Sign out and remove**

```bash theme={null}
claude mcp logout smartalex
claude mcp remove smartalex
```

`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](https://docs.getsmartalex.com/mcp/check-and-disconnect.md).

## Questions people ask

> [accordion] Should I use the plugin or this command?
>
> This command adds the SmartAlex connection, which gives Claude Code every tool, while the [SmartAlex plugin](https://docs.getsmartalex.com/mcp/install-plugin.md) adds the same connection plus 14 step-by-step skills. Either works.

> [accordion] 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.

> [accordion] 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](https://docs.getsmartalex.com/mcp/tutorials/install-in-chatgpt.md).

> [card] [Install the plugin](https://docs.getsmartalex.com/mcp/install-plugin.md)
>
> Add the 14 step-by-step skills.

> [card] [Build with Claude Code](https://docs.getsmartalex.com/build-with/claude-code.md)
>
> Put a SmartAlex agent into the app you are building.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.