# Connect Claude or Codex

Claude Code and Codex are AI assistants that can use Atlan the way you do. You write what you want changed, and the assistant does it in Atlan on this computer. Your plan and limits apply to it just as they do to you.

Section: Claude and Codex · HTML version: https://atlanbot.com/docs/assistants/

## How it works

Atlan has a built-in MCP server. It is the standard connector AI assistants use to work with programs. The assistant gets no access to the phone or your passwords. It asks Atlan for a change, and Atlan makes it as if you had clicked it yourself. Your licence, plan, phone limit and module settings apply as always.

The assistant never removes anything by itself. It sends the removal as a plan, a list of changes for you to approve. The plan waits in Atlan until you approve it: [Approving changes](https://atlanbot.com/docs/assistant-plans.md?lang=en).

## Connecting

1. **Install the assistant on this computer** Claude Code or Codex. The same computer and the same Windows account you have Atlan on.
2. **Open **MAVEN** › **Claude and Codex**** In **Connect an assistant** keep **Command** selected.
3. **Click **Copy** next to your assistant** The command already holds the path to Atlan on your computer. Paste it into a terminal, a window for typing commands (PowerShell or Command Prompt), and press Enter.
4. **Check the connection** Start a new conversation with the assistant and ask: "Read Atlan's configuration and tell me what you see." It lists your phones and accounts.

![The Connect an assistant card: the Command and Prompt switch and the commands for Claude Code and Codex, each with a Copy button.](https://atlanbot.com/static/docs/app-mcp-connect-en.webp?v=4ea276f4cb)

*Connect an assistant, with Command selected. Copy copies the command with the path to your Atlan.*

Claude Code:

```sh
claude mcp add --scope user atlan -- "C:\Users\<user>\AppData\Local\Programs\Atlan\Atlan.exe" mcp
```

Codex:

```sh
codex mcp add atlan -- "C:\Users\<user>\AppData\Local\Programs\Atlan\Atlan.exe" mcp
```

### Without a terminal: the prompt

A prompt is a ready-made message you paste to the assistant. Pick **Prompt**, click **Copy prompt** and paste the text into a conversation with Claude Code or Codex. The assistant adds the server itself and checks the connection. The prompt reads:

```
Connect me to Atlan. Add an MCP server named “atlan” for my user that runs the command "C:\Users\<user>\AppData\Local\Programs\Atlan\Atlan.exe" mcp. Then check the connection: read Atlan's configuration and tell me what you see.
```

## What assistants can do

| Assistants | Never |
| --- | --- |
| Change settings and modules | Never control a phone's screen |
| Add phones, accounts, own platforms and automations | Never install updates |
| Plan posts in the Planner | Get no keys or passwords |
| Switch Remote | Remove nothing without your approval |
| Start and stop automations and read their status |  |
| Check for updates |  |

The assistant never runs the MAVEN agent outside your modules and own automations, and never types anything on the phone. When you ask for something Atlan does not do, you get a refusal with a code: [list of codes](https://atlanbot.com/docs/assistant-requests.md?lang=en#refusals).

## Atlan must be running

Atlan's MCP server works only while Atlan is open on this computer, and ends together with it. Without Atlan open, the assistant gets this answer: Atlan MCP needs Atlan open. Open Atlan, then connect again. Nothing waits in a queue for later.

For the assistant to start an automation, you must be signed in to Atlan. The Remote switch works only on a paid plan: [Atlan Remote](https://atlanbot.com/docs/remote.md?lang=en).

## What the assistant sees

The assistant reads Atlan's configuration: phones, accounts, modules, the Planner, statistics and automation logs, the record of what the agent did. Before Atlan hands anything over, it hides passwords, API keys, tokens, the proxy rotation address and licence data.

> What the assistant reads goes to the company behind it (Anthropic or OpenAI) as part of the conversation, just like everything you write to it.

## Disconnecting

Remove the "atlan" server in the assistant. For Claude Code, type `claude mcp remove --scope user atlan` in a terminal; for Codex, `codex mcp remove atlan`. Atlan has no switch of its own. Without that entry in the assistant, nothing connects to Atlan.
