# Quickstart

> Connect Claude, Claude Code or Codex to IG Pilot at https://api.igpilot.io/mcp and make your first call. A few minutes, nothing to install.

This is how you connect the Chrome Web Store version of IG Pilot. Nothing is installed on your computer.

## Before you start

- **A paid plan or the 7-day free trial.**
- **IG Pilot in Chrome**, signed in to your IG Pilot account and to Instagram. Keep Chrome open: the work happens there.
- **Claude, Claude Code or Codex.**

The server address is the same for every app:

```text
https://api.igpilot.io/mcp
```

In the IG Pilot side panel, **Settings → Connections → Use IG Pilot from Claude or Codex** shows this address, creates access tokens and fills your token into the commands below.

- [Claude](#claude): The web, desktop and mobile apps. Add a custom connector.
- [Claude Code](#claude-code): One claude mcp add command.
- [Codex](#codex): A config.toml entry or a codex mcp add command.

## Claude

1. In Claude, open **Customize → Connectors → + Add → Add custom connector**.
2. Name it `IG Pilot`, paste the server address, then choose **Continue**.
3. If Claude asks for an OAuth client, pick **Register automatically**. Then choose **Add**.
4. Choose **Connect** and sign in with your IG Pilot email.

The connector then works in every Claude app: web, desktop and mobile. On Team and Enterprise plans, an Owner adds it under **Organization settings → Connectors**, then each person connects with their own IG Pilot account.

## Claude Code

1. In IG Pilot, open **Settings → Connections → Claude Code** and choose **Create token**.
2. Run the command in a terminal. IG Pilot fills in your token:

```sh
claude mcp add --transport http --scope user igpilot https://api.igpilot.io/mcp --header "Authorization: Bearer igpt_YOUR_TOKEN"
```

Rather sign in than use a token? Leave out `--header`, then run `/mcp` inside Claude Code.

## Codex

1. In IG Pilot, open **Settings → Connections → Codex** and choose **Create token**.
2. Add this to `~/.codex/config.toml`:

```toml title="~/.codex/config.toml"
[mcp_servers.igpilot]
url = "https://api.igpilot.io/mcp"
bearer_token_env_var = "IGPILOT_TOKEN"
```

3. Put your token in your shell profile, then restart Codex:

```sh
export IGPILOT_TOKEN="igpt_YOUR_TOKEN"
```

The Codex app, CLI and IDE extension share that file. From a terminal instead:

```sh
codex mcp add igpilot --url https://api.igpilot.io/mcp --bearer-token-env-var IGPILOT_TOKEN
```

## Make your first call

Ask your AI app:

```text
Call igpilot status
```

It should report your Instagram account, the Autopilot and anything waiting for review. From here, try "what did IG Pilot do today?" (`get_history`) or "show me the drafts waiting for review" (`get_review_queue`).

## If a call doesn't work

- **The browser is offline.** Open Chrome and check that IG Pilot is signed in to the same IG Pilot account you connected with.
- **The tool says it is part of the paid plans.** The connector needs a paid plan or the 7-day free trial.
- **A long task says it's still running.** That's expected for `chat` and `run_growth_session`. The work carries on in Chrome: ask for `status` in a few minutes.
- **IG Pilot refused.** A daily limit, the Never-contact list, your plan or Review is not a malfunction, and it is final. See [Safety & limits](safety.md#refusals).

## Next steps

- [What it can do](index.md#what-your-ai-app-can-do): The 14 tools the connector offers.
- [Safety & limits](safety.md): How drafts, limits and refusals work.
- [The local companion](index.md#companion): For a version of IG Pilot you install yourself.
