Skip to main content

Connect Claude, ChatGPT or Codex to charles (MCP)

You can connect AI assistants like Claude, ChatGPT and Codex to charles. Your assistant can then read your campaigns, flows, segments and templates, and create or change them for you.

This connection is in beta. We may change which tools it offers, and we welcome your feedback.

What you need

  • A charles user. Your assistant can do what your charles role allows, and no more.

  • The server URL: https://mcp.hello-charles.com/mcp

You sign in with your charles login in the browser. You need no API key.

Claude (web and desktop)

  1. Go to Customize → Connectors.

  2. Click + Add, then Add custom connector.

  3. Name it charlesAI, paste the server URL and click Continue.
    ​

  4. Under Authentication, select Sign in now. Claude usually selects it for you. Under OAuth client, keep Register automatically.
    ​

  5. Click Add, then Connect, and sign in with your charles login.

  6. In a chat, click +, open Connectors and turn on charlesAI.

Always select Sign in now. With Sign in when needed or No sign-in, Claude shows the connector, but you cannot connect or sign in from the connector settings.

On Claude Team and Enterprise, an owner adds the connector once under Organization settings → Connectors, with Sign in now. Each member then clicks Connect under Customize → Connectors.

Claude shows charlesAI, but you cannot connect

The connector was added with Sign in when needed or No sign-in. To fix it:

  1. Remove the connector under Customize → Connectors. On Team and Enterprise, an owner does this under Organization settings → Connectors.

  2. Add it again with the steps above and select Sign in now.

If the connector uses Sign in when needed and you cannot change it, you can sign in from a chat:

  1. Open a new chat in Claude.

  2. Click +, open Connectors and turn on charlesAI.

  3. Ask a question, for example "Show me my charles workspaces".

Claude then opens the charles login. With No sign-in, this does not work. Add the connector again.

ChatGPT

In ChatGPT on the web:

  1. Click +, then Add custom MCP server.

  2. Name it charlesAI, paste the server URL and choose OAuth sign-in.

  3. Confirm the warning, click Create as a plugin and install it.

  4. In a new chat, type @charlesAI to use it.

On a ChatGPT business workspace, your admin may need to allow custom MCP servers first.

In the ChatGPT desktop app:

  1. Open Settings → MCP servers → Add server.

  2. Name it charlesAI, choose Streamable HTTP and paste the server URL.

  3. Save, then click Restart.

  4. Click Authenticate and sign in with your charles login.

Claude Code

claude mcp add --transport http --scope user charles https://mcp.hello-charles.com/mcp

Start Claude Code, type /mcp, pick charles and sign in in the browser. With --scope user, charles works in all your projects.

Codex

codex mcp add charles --url https://mcp.hello-charles.com/mcp
codex mcp login charles

The login opens your browser. Codex shares this setup with the ChatGPT desktop app, so you only add charles once.

If something doesn't work, contact your Customer Success Manager.

Did this answer your question?