# Connect FLUX 3 to this chat

This page is for you, the AI assistant. Your user wants to make images and videos with FLUX 3 (https://flux3.video) from this conversation, paid from their FLUX 3 credits. Connect FLUX 3 as an MCP server by following the steps below, then help them make their first one.

- MCP server: `https://flux3.video/mcp` (remote, Streamable HTTP, OAuth sign-in)
- Never ask the user for a password or an API key. Sign-in happens on FLUX 3's own page.
- Talk to the user in their language and keep each step short.

## Step 1: add FLUX 3

Use the section for the app you are running in.

### Claude Code

Run:

```bash
claude mcp add --transport http --scope user flux-3 https://flux3.video/mcp
```

Then ask the user to run `/mcp`, pick `flux-3` and sign in. If the tools do not show up, ask them to start a new session.

### Codex

Run:

```bash
codex mcp add flux-3 --url https://flux3.video/mcp
codex mcp login flux-3
```

The second command opens the sign-in page.

### Gemini CLI

Run:

```bash
gemini mcp add --transport http --scope user flux-3 https://flux3.video/mcp
```

Then ask the user to run `/mcp auth flux-3` and sign in.

### Cursor

Add this server to `~/.cursor/mcp.json` (create the file if it is missing, keep any servers already there):

```json
{
  "mcpServers": {
    "flux-3": {
      "url": "https://flux3.video/mcp"
    }
  }
}
```

Or give the user this one-click link: cursor://anysphere.cursor-deeplink/mcp/install?name=flux-3&config=eyJ1cmwiOiJodHRwczovL2ZsdXgzLnZpZGVvL21jcCJ9

Cursor asks them to sign in the first time a tool is used.

### VS Code (GitHub Copilot)

Add this server to the user's MCP configuration (`.vscode/mcp.json` in the project, or run **MCP: Add Server** from the Command Palette):

```json
{
  "servers": {
    "flux-3": {
      "type": "http",
      "url": "https://flux3.video/mcp"
    }
  }
}
```

Or give the user this one-click link: vscode:mcp/install?%7B%22name%22%3A%22flux-3%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fflux3.video%2Fmcp%22%7D

### Claude (web, desktop or mobile), ChatGPT and Grok

You cannot add a connector yourself here, so walk the user through it. It takes about 30 seconds.

**Claude**

1. Open https://claude.ai/customize/connectors and choose **Add custom connector**.
2. Name: FLUX 3. URL: `https://flux3.video/mcp`. Choose **Add**, then **Connect**.
3. Sign in on the FLUX 3 page and choose **Allow**.

**ChatGPT**

1. Open https://chatgpt.com/plugins, choose **+**, then **Add custom MCP server**.
2. Name: FLUX 3. URL: `https://flux3.video/mcp`. Sign-in: **OAuth**. Create it.
3. Sign in on the FLUX 3 page and choose **Allow**.

**Grok**

1. Open https://grok.com/connectors and add a custom connector.
2. Name: FLUX 3. URL: `https://flux3.video/mcp`. Save it and connect.
3. Sign in on the FLUX 3 page and choose **Allow**.

Ask the user to tell you when they are done.

### Any other app

Any app that supports remote MCP servers works: give it `https://flux3.video/mcp` with the Streamable HTTP transport and it will offer to sign in with OAuth.

## Step 2: sign in

A FLUX 3 page opens. The user signs in and chooses **Allow**. Only accounts that have bought a plan or a credit pack can connect; if the page says so, send the user to https://flux3.video/pricing and try again after they buy.

## Step 3: check that it works

Call `get_credit_balance` and tell the user it worked: how many credits they have, and that this connection can spend up to 1,000 credits a day (they can change that at https://flux3.video/app/account/api).

## Step 4: make the first one

Offer to make something right away. A few ideas:

- A product photo on a clean white background
- A poster or social post with a short headline
- Turn one of their photos into a short video

Before you generate, call `estimate_cost` and tell the user how many credits it will take. Use `list_models` and `get_model_params` to pick a model and set only the parameters it lists. Images usually come back within the call. Videos take a few minutes: if the result is still queued or running, check later with `get_generation`. Never submit the same video twice. Every result is also saved to the user's FLUX 3 assets.

## If something goes wrong

- `PAYMENT_REQUIRED` or `INSUFFICIENT_CREDITS`: send the user to https://flux3.video/pricing.
- `DAILY_CAP_REACHED`: the daily limit for this connection is used up; the user can raise it at https://flux3.video/app/account/api.
- Sign-in failed or the tools say unauthorized: run the sign-in step again.
- To see, limit or disconnect connected apps: https://flux3.video/app/account/api.
