# Connect your assistant (MCP)

> Connect Claude Code or another MCP client to FanConvert with the Authorization Bearer header.

URL : https://docs.fanconvert.ai/en/api/assistant

The FanConvert MCP server lives at **`https://app.fanconvert.ai/mcp`** (HTTP transport, "Streamable HTTP"). Every request carries your key in the `Authorization: Bearer fc_sk_…` header.

First [create a key](/en/api/cles) and choose **Brancher un assistant IA** (Connect an AI assistant): FanConvert then gives you the block to paste, **with your key already in it**, and a **Copier le bloc** (Copy block) button.

## Claude Code [#claude-code]

1. Open a terminal on the computer where Claude Code is installed.
2. Paste this command (in FanConvert your key is already in it), then press Enter:

   ```bash
   claude mcp add --transport http fanconvert https://app.fanconvert.ai/mcp \
     --header "Authorization: Bearer fc_sk_…"
   ```

3. In Claude Code, type `/mcp`: **fanconvert shows as connected.**

Then ask your question in plain language, for example: "How many sales did Emma make this week?"

## Other MCP client [#other-mcp-client]

Any client that accepts a remote MCP server with a fixed header:

1. Add a remote MCP server, "HTTP" transport (Streamable HTTP).
2. Address: `https://app.fanconvert.ai/mcp`
3. Header sent with every request: **`Authorization: Bearer <your key>`**.

## Other assistants [#other-assistants]

In Settings › API & MCP, the **Claude**, **Cursor** and **ChatGPT** tabs show that their setup guide is still being verified, or, for ChatGPT, that it does not accept keys yet (it requires an OAuth sign-in that FanConvert does not offer yet). This page will cover each of them as soon as its setup is verified in the app.

## What the assistant sees [#what-the-assistant-sees]

The assistant only sees the tools its key allows: a read-only key offers no write tool. The full list is on [What the assistant can read and do](/en/api/outils-mcp).

## If it does not work [#if-it-does-not-work]

| Symptom | What to do |
|---|---|
| `401` or "unauthorized" | Key badly copied, expired or revoked: check it in Settings › API & MCP, create another one if needed. |
| The assistant does not see a creator | The key does not include her: a creator added after the key was created is not in it. Create a new key. |
| A tool is missing | The key lacks the matching permission. A key's permissions do not change: create one with the right choice. |
| `429` | Too many requests at once: wait a few seconds. |

