> For the complete documentation index, see [llms.txt](https://docs.autopilotbrand.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autopilotbrand.com/autopilot-mcp/setup/claude-code.md).

# Claude Code

Add Autopilot from the command line.

1. Add the server:

   ```bash
   claude mcp add --transport http Autopilot https://my.autopilotbrand.com/mcp
   ```
2. Restart Claude Code when prompted.
3. Run `/mcp`. Autopilot appears alongside your other servers, showing that **authentication is required**.
4. Select it to start the login. Your browser opens the Autopilot login page and asks you to confirm access for Claude Code.
5. After you confirm, the terminal reports that authentication was successful.

Autopilot's tools are now available in your Claude Code session.

{% hint style="warning" %}
If authentication expires, run `/mcp` and re-authenticate. Access always uses your current Autopilot session and permissions.
{% endhint %}

See the [Setup overview](/autopilot-mcp/setup.md) for the other assistants, or the [Autopilot MCP overview](/autopilot-mcp/autopilot-mcp.md) for everything you can ask.
