# Connect AI (Claude, ChatGPT, Cursor)

Connect an AI assistant — Claude, ChatGPT or Cursor — to your partner-portal account. From a chat you can then browse your licensed films, find and save scenes, check episodes and creatives against Meta ad policy, build and edit creative drafts, write recaps, render previews and, after you confirm, request clean renders. The assistant signs in as **you** and can do exactly what your role can do in the portal, nothing more.

```mermaid
flowchart LR
  you["You (chat)"] --> ai["Claude / ChatGPT / Cursor"]
  ai -->|"MCP + your Wandura sign-in"| mcp["Wandura partner MCP"]
  mcp -->|"same rules as the portal"| portal["Your organization: films, creatives, allowance"]
```

## Your MCP address

Paste this address into the AI app:

```
https://www.wandura.ai/api/partners/mcp
```

You will be asked to sign in to Wandura with the same account you use on the partner portal. There is no API key to copy. The **Connect AI** screen of the portal (sidebar → **Organization** → **Connect AI**) shows the same address with copy buttons, and every role can open it.

## Set it up

### Claude (claude.ai, Claude Desktop, mobile)

1. In Claude open **Settings → Connectors** and choose **Add custom connector**.
2. Name it `Wandura Partner Portal` and paste the MCP address. Choose **Add**.
3. Choose **Connect** and sign in to Wandura.
4. In a chat, turn the Wandura connector on from the tools menu.

Custom connectors need a paid Claude plan; a connector added on claude.ai also appears in Claude Desktop and mobile. Without a paid plan, Claude Desktop can use this entry in **Settings → Developer → Edit Config** (needs Node.js):

```json
{ "mcpServers": { "wandura-partners": { "command": "npx", "args": ["-y", "mcp-remote", "https://www.wandura.ai/api/partners/mcp"] } } }
```

### Claude Code

```
claude mcp add --transport http wandura-partners https://www.wandura.ai/api/partners/mcp
```

Then type `/mcp` in Claude Code, pick `wandura-partners` and choose **Authenticate**.

### ChatGPT

1. Open **Settings → Apps & Connectors → Advanced settings** and turn on **Developer mode**.
2. Choose **Create**, name it `Wandura Partner Portal`, paste the MCP address and choose **OAuth** for authentication.
3. Sign in to Wandura.
4. In a chat, open the **+** menu, choose **Developer mode** and enable the connector.

Developer mode is available on Plus, Pro, Business and Enterprise plans; on a business workspace an admin may need to allow it.

### Cursor

Add this to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project), or use **Add to Cursor** on the portal's Connect AI screen:

```json
{ "mcpServers": { "wandura-partners": { "url": "https://www.wandura.ai/api/partners/mcp" } } }
```

In **Cursor Settings → MCP** the server shows **Needs login** — click it and sign in to Wandura.

## Try it

Once the connector is on, just ask in plain words. The pictures below are examples built from real answers on the partner portal (an internal test organization and the catalog film *A Lesson in Desire*); your assistant's wording and layout will look different.

**1. Check what you can spend.** The assistant reads your role, the export allowance left this month and your workspace credits.

![Example: the assistant shows the export allowance and workspace credits left](https://docs.wandura.ai/images/partners/images/mcp/mcp-01-balance.be636052.png)

**2. See which episodes are risky for Meta ads.** The policy overview of a film lists the level of every episode, free.

![Example: policy levels of every episode of a film](https://docs.wandura.ai/images/partners/images/mcp/mcp-02-film-policy.77e8621b.png)

**3. Find out why an episode is risky and how to fix it.** Each finding comes with its exact times, the Meta label and a suggested fix.

![Example: one finding of an episode with its times and a suggested fix](https://docs.wandura.ai/images/partners/images/mcp/mcp-03-episode-findings.01cca4c8.png)

**4. Pick a safe hook and cut it cleanly.** The assistant combines the policy result, the scenes, the subtitles and the shot changes of an episode — then can make a draft creative from the span.

![Example: a policy-safe hook cut on shot changes](https://docs.wandura.ai/images/partners/images/mcp/mcp-04-clean-hook.0a1b5f43.png)

**5. Anything that spends asks you first.** A paid scan, a recap, machine-translated subtitles or a clean render shows the cost and waits for your yes.

![Example: the assistant shows the cost of a policy scan and waits for confirmation](https://docs.wandura.ai/images/partners/images/mcp/mcp-05-confirm-spend.1d42b64d.png)

More things to ask:

- "Scan every episode of this film that has no policy result yet." (free)
- "Write a 30-second recap of episodes 1–10 in English, then build it." (credits, confirmed)
- "Save 1:32–1:37 of episode 1 as a hook scene tagged reveal."
- "In my draft, trim the first 2 seconds, add the CTA 'Watch now' at the end and pin our brand kit."
- "Switch this draft's subtitles to Spanish."
- "Send this creative for approval." / "Which of my renders failed this week?"

### Examples with real output

What a tool returns, trimmed. These are real answers from the partner portal; ids are replaced with `<…>`. You never have to read this yourself — the assistant turns it into a plain answer — but it shows what the assistant knows.

**"Which episodes of this film are risky for Meta ads?"** → `get_film_policy`

```json
{
  "filmId": "<film-id>",
  "episodes": [
    { "episodeId": "<ep1-id>", "ep": 1, "status": "done", "stale": false, "level": 4, "findingCount": 3 },
    { "episodeId": "<ep2-id>", "ep": 2, "status": "done", "stale": false, "level": 0, "findingCount": 0 },
    { "episodeId": "<ep3-id>", "ep": 3, "status": "done", "stale": false, "level": 3, "findingCount": 1 }
  ],
  "overall": { "level": 4, "scanned": 25, "total": 25 },
  "unscanned": 0
}
```

Level 0–1 = likely to pass, 2 = needs review, 3–4 = likely rejected. `stale: true` means the episode file or scan setup changed after the scan.

**"What's wrong in episode 3?"** → `get_episode_policy`

```json
{
  "status": "done",
  "policyCheck": {
    "level": 3,
    "verdict": "likely_reject",
    "rejectionProbability": 80,
    "summary": { "en": "Risks are romantic-sexual: prolonged kissing/embracing focal in opening, ..." },
    "findings": [{
      "policyCode": "Sexual Activity Other",
      "level": 3,
      "times": [{ "startMs": 3000, "endMs": 10000 }, { "startMs": 3000, "endMs": 13000 }],
      "detected": { "en": "Man and woman in prolonged lip-kissing and tight embracing" },
      "levelExplain": { "en": "Rank A3 (serious), shown 4+ times or as the focus of the shot (B4) → level 3." }
    }],
    "fixes": [{
      "how": "replace",
      "times": [{ "startMs": 3000, "endMs": 10000 }],
      "replaceTo": { "en": "Replace with brief hug or cheek kiss, increase distance" }
    }],
    "incomplete": false
  }
}
```

Times are milliseconds of the episode. `incomplete: true` would mean part of the video could not be checked — never read that as clean. Add `"detail": true` to also get the frame images and the speech transcript.

**"Cut episode 2 on clean shot changes."** → `get_episode_shot_cuts`

```json
{ "episodeId": "<ep2-id>", "cutsMs": [3000, 6000, 8334, 12934, 15700, 22200, 24834], "durationMs": 85870 }
```

(First cuts shown.) A clip from 6000 to 15700 starts and ends exactly on a shot change.

**"Scan this creative for policy."** → `scan_creative_policy`, first call

```json
{
  "confirmationRequired": true,
  "cost": {
    "estimatedCredits": "1–3",
    "note": "Real cost, rounded up, at least 1 credit (about 1 for a ~30 s video, 2 for 1–3 minutes). Charged only when the scan succeeds.",
    "paidFrom": "your allowance in your organization's workspace"
  },
  "confirm_token": "<token>",
  "confirmExpiresAt": "<10 minutes from now>",
  "instruction": "Show the cost above to the user and ask them to confirm in the chat. ... Never confirm on their behalf."
}
```

Nothing is spent on this call. The scan runs only when the assistant calls again with the token — after you say yes. A creative that has not changed since its last scan comes back with `"charged": 0, "scanned": false` and the earlier result, without asking.

**"How much can I still spend?"** → `get_balance`

```json
{
  "exportAllowance": { "month": "2026-11", "usedMinutes": 2.5, "limitMinutes": 300, "remainingMinutes": 297.5 },
  "workspaceCredits": { "scope": "org", "available": 6784, "mine": { "inWorkspace": true, "available": 2851, "allowance": 4000 } }
}
```

An admin sees the whole organization's credits (`scope: org`) plus their own (`mine`); other roles see only their own.

## What the assistant can do

The assistant has 70 tools. You do not call them yourself — ask in plain words ("which episodes of this film are risky for Meta ads?", "make a 30-second recap of episodes 1–10", "cut the first 2 seconds of this draft") and it picks the tools. **Free** = no allowance, no credits. **Allowance** = your organization's monthly export (render) minutes. **Credits** = credits from your allowance in your organization's workspace.

### Account and notifications

| What | Tools | Cost |
|---|---|---|
| Your organizations and your role in each | `list_organizations` | Free |
| Export allowance left this month and your workspace credits | `get_balance` | Free |
| Portal notifications (render finished or failed, film granted, music ready, budget, low balance) and marking them read | `list_portal_notifications`, `mark_notifications_read` | Free |
| Marketplace notifications | `list_notifications` | Free |
| Is the render engine running, and how long is your queue | `get_engine_status` | Free |

### Films and episodes

| What | Tools | Cost |
|---|---|---|
| Licensed films, their rights and episodes | `list_films`, `get_film` | Free |
| A short-lived link to the watermarked proxy of an episode (to edit it in another tool) | `get_episode_proxy_link` | Free |
| What is said in an episode, line by line with times, in any available language | `get_episode_subtitles` | Free |
| Which parts of an episode published creatives already use — yours and everyone's | `get_episode_coverage` | Free |
| Shot cuts of an episode, so a clip never starts or ends mid-shot | `get_episode_shot_cuts` | Free |

### Find and save scenes

| What | Tools | Cost |
|---|---|---|
| Ranked, human-confirmed moments (hook, cliffhanger…) | `search_scenes` | Free |
| Scenes Wandura's episode reader found, with the spoken line and the action | `list_episode_scenes` | Free |
| Ready-made hook scenes tagged by Wandura (argue, reveal, slap, kiss…) and tag counts | `list_system_scenes`, `list_scene_tags` | Free |
| Your team's saved scenes | `list_saved_scenes` | Free |
| Save a scene (one range or a chain of ranges), rename or reclassify it, delete it | `save_scene`, `update_saved_scene`, `delete_saved_scene` | Free |

### Policy check (Meta ad standards)

| What | Tools | Cost |
|---|---|---|
| Policy overview of a film: level of every episode, how many are scanned | `get_film_policy` | Free |
| Findings of an episode, a creative or a saved scene: label, level, reason and the exact times | `get_episode_policy`, `get_creative_policy`, `get_saved_scene_policy` | Free |
| Your organization's scan history | `list_policy_scans` | Free |
| Scan an episode, or every episode of a film not scanned yet | `scan_episode_policy` | Free |
| Scan a creative's draft preview or a saved scene — **asks you to confirm first** | `scan_creative_policy`, `scan_saved_scene_policy` | Credits (about 1–3) |

The scan is advisory: it says how likely Meta's ad review is to reject the video and where, so you can cut, blur or replace those moments before you spend on a final render. A creative or scene that has not changed since its last scan gets that result back for free.

### Library

| What | Tools | Cost |
|---|---|---|
| Formulas, your team's music, your images (logos, stickers), your Skit bank clips, your brand kits | `list_formulas`, `list_music`, `list_images`, `list_skits`, `list_brand_kits` | Free |

### Creatives

| What | Tools | Cost |
|---|---|---|
| List and open creatives, with preview links | `list_creatives`, `get_creative` | Free |
| Read what a creative is cut from (episode spans, hook, music) | `get_creative_spans` | Free |
| Create a draft — from a formula, or from episode spans with a hook, team music and speed — and change it | `create_creative_draft`, `update_creative_draft` | Free |
| Rename or delete a creative | `rename_creative`, `delete_creative` | Free |
| Switch the burned-in subtitle language of a draft | `get_creative_subtitles`, `set_creative_subtitles` | Free for the film's own or already translated languages; credits (about 1 per episode) for a new machine translation — **asks you to confirm first** |
| Pin or remove a brand kit (its logo becomes the watermark of the final render) | `set_creative_brand_kit` | Free |

### Editor

| What | Tools | Cost |
|---|---|---|
| Open a creative's whole timeline (clips, texts, music, images, transitions) | `editor_get` | Free |
| Edit it in place: trim, split, delete or move clips, add a call-to-action text, a logo or music, change volume, add transitions, move the subtitles — saved once | `editor_apply` | Free |
| Make an editable copy of a locked creative | `editor_duplicate` | Free |

**Watch or take over the edit yourself.** Every tool that opens or changes a creative also returns `editorUrl`, a link to that creative in the portal editor (for a copy, the link opens the copy). Ask for it — "give me the editor link" — and open it next to the chat. The editor does not refresh by itself: reload the page to see the assistant's later changes. Edit and save as usual; if you save while the assistant is working, its next change is refused and it re-reads your version first, so neither of you overwrites the other. A dry run or a step waiting for your confirmation has no link.

```json
{ "saved": true, "revision": 6, "editorUrl": "https://partner.wandura.ai/creatives/<creative-id>/edit?org=<your-org>" }
```

### CapCut

| What | Tools | Cost |
|---|---|---|
| Lay a creative out as a CapCut cloud draft, and bring a CapCut draft back as a creative draft (with a CapCut connector in the same chat) | `prepare_capcut_draft`, `import_capcut_draft` | Free |

### Recap

| What | Tools | Cost |
|---|---|---|
| Write a narrated recap script and pick 1–3 film scenes for each line. Scenes your team saved or an editor tagged are preferred; scenes the policy scan flagged and intimacy or violence scenes are left out | `plan_recap` | Credits (a few per script; nothing if it fails) |
| Every scene of an episode, to swap a scene of a line | `list_recap_scenes` | Free |
| Record the narration and make the recap draft — **asks you to confirm first** | `build_recap` | Credits |

### Render and review

| What | Tools | Cost |
|---|---|---|
| Render a watermarked draft preview | `request_draft_render` | Free |
| Send a previewed draft for approval | `submit_creative_for_review` | Free |
| Admins: send a creative back with a reason | `reject_creative` | Free |
| Request the clean (final) render — **asks you to confirm first** | `request_clean_render` | Allowance |
| Read and leave timestamped review comments on an episode | `list_review_comments`, `add_review_comment` | Free |

### Frame Studio (when it is turned on for your organization)

| What | Tools | Cost |
|---|---|---|
| List, open and create projects; read a project's activity | `frame_studio_list_projects`, `frame_studio_get_project`, `frame_studio_create_project`, `frame_studio_list_activity` | Free |
| Add assets from links, lock the asset set, get a download link | `frame_studio_add_assets`, `frame_studio_lock_assets`, `frame_studio_get_download_link` | Free |
| Produce and export — **asks you to confirm first** | `frame_studio_produce`, `frame_studio_export` | Credits |
| Stop or resume a run, approve a version | `frame_studio_control_run`, `frame_studio_approve_version` | Free |

### Feedback

| What | Tools | Cost |
|---|---|---|
| Report a bug or suggest a feature, and follow your reports | `send_feedback`, `list_my_feedback` | Free |

Each action goes through the same checks as the portal: your role, your organization's film rights, the features your organization has turned on, the monthly export allowance and your workspace credits. If your role cannot do something in the portal, the assistant gets the same refusal. Marketers see the creatives they created; admins see all of the organization's.

### What it cannot do

Some actions stay in the portal, done by a person: managing members, invitations, budgets and API keys; uploading files (music, images, Skit clips, logos, films); publishing to an ad account or creating share links; and generators without a price shown up front (Create combos, Auto pool, Hook Studio).

### Several organizations

The assistant works in your default organization. If you belong to more than one, ask it to use another by name — it passes that organization with each request. It can never act in an organization you are not a member of.

## Spending needs your confirmation

Reading, drafts, edits and draft previews are free. These actions spend, so they always take two steps: the **clean render** (export allowance), **building a recap**, **scanning a creative or a saved scene**, **machine-translating subtitles**, and Frame Studio **produce** and **export** (credits).

1. The assistant asks for a preview and shows you the cost and what you have left.
2. Only after **you confirm in the chat** does it go ahead. The confirmation is valid for 10 minutes and only for what you saw — the same creative, scene, script or language. If it changes, the assistant has to ask you again.

Writing a recap script (`plan_recap`) uses a few credits without this step, so you can rewrite a script several times; a script that fails costs nothing.

As in the portal, an **admin**'s confirmation starts the clean render; a **marketer**'s confirmation sends the creative to an admin for approval.

## Activity log and limits

Every action the assistant takes is recorded in your organization's activity log under your name, marked as done through AI. Each person can make up to 60 assistant actions per minute.

## Disconnect an app

Open **Connect AI** in the portal. **Connected apps** lists every AI app that can act on your account, with when it was connected and last used. Choose **Disconnect** to stop it at once — in every organization. To use it again, connect and sign in again from the app.

## Related

- [Roles](https://docs.wandura.ai/partners/roles) — what each role can do in the portal
- [Creatives](https://docs.wandura.ai/partners/creatives) — drafts, previews and clean renders
- [Team and organisation](https://docs.wandura.ai/partners/team)
