# Edit video clips from Claude, ChatGPT or Cursor

> With the univid.app MCP server, Claude, ChatGPT, Codex, Cursor and similar assistants can edit a clip for you: import it from a link, trim the part to change, preview the edit on one frame, render it and hand back the MP4. You pay the same credits as on the site, with the same refunds.

Server URL (Streamable HTTP): `https://univid.app/mcp`

## Add the server to your assistant

### Claude

On the Claude website or desktop app, go to Settings → Connectors and choose to add a custom connector. Call it univid.app, enter the server URL, then connect and approve.

```
https://univid.app/mcp
```

### Claude Code

Run this in a terminal, then type /mcp inside Claude Code and pick the server to sign in.

```
claude mcp add --transport http univid-app https://univid.app/mcp
```

### ChatGPT

In ChatGPT open Settings → Apps & Connectors → Advanced and turn on developer mode, then Create a connector with this URL and OAuth authentication.

```
https://univid.app/mcp
```

### Codex

Add the block to ~/.codex/config.toml, then run codex mcp login univid-app to sign in.

```
[mcp_servers.univid-app]
url = "https://univid.app/mcp"
```

### Cursor

Add the server to ~/.cursor/mcp.json (or Settings → MCP → Add new server). Cursor shows a Login button for it.

```
{
  "mcpServers": {
    "univid-app": {
      "url": "https://univid.app/mcp"
    }
  }
}
```

### VS Code

Save as .vscode/mcp.json in your workspace (or run MCP: Add Server). VS Code asks you to sign in on the first tool call.

```
{
  "servers": {
    "univid-app": {
      "type": "http",
      "url": "https://univid.app/mcp"
    }
  }
}
```

### Windsurf

Add it to ~/.codeium/windsurf/mcp_config.json and refresh the MCP panel in Cascade.

```
{
  "mcpServers": {
    "univid-app": {
      "serverUrl": "https://univid.app/mcp"
    }
  }
}
```

A browser tab with univid.app opens. Sign in (or sign up for free) and grant access. The assistant never sees your password or API keys, only a limited token.

## What happens when you sign in

1. The first call from your assistant gets a 401, which points it to our OAuth discovery document.
2. The assistant registers as a client (through a metadata document or dynamic registration) and starts a PKCE sign-in.
3. You sign in on univid.app and approve that single assistant and nothing else.
4. Its token works only for https://univid.app/mcp, renews itself, and can be revoked by you whenever you like.

## Editing clips from scripts with an API key

Scripts and agents without a browser can use an API key instead of OAuth: make one in Settings → API keys and pass it as a bearer token. API keys come with Fine Cut, Picture Lock and both team plans.

## Edit tools your assistant can call

- `list_tasks`: The five tasks and their credits per second or per extension.
- `import_clip`: Store a clip from an attachment or a direct https link to an MP4 or MOV. It is checked before it can be edited. Free.
- `cut_clip`: Trim 3 to 15 seconds, crop to 16:9, 9:16 or 1:1, and mute. Free.
- `preview_edit`: Apply the edit to one still of the trimmed clip (25 credits) before rendering.
- `render_edit`: Render the trimmed clip with the edit. Charged at the start, refunded if it fails.
- `get_edit`: Status of one preview or render and its link when done.
- `list_edits`: Your latest previews and renders, newest first.
- `get_credits`: Remaining balance and plan.

A preview or render charges its credits as it starts and refunds them by itself if it fails, at the same prices as the website. Importing, trimming and cropping are free.

## Troubleshooting

- Stuck on 'needs authentication': remove the server and add it again so the client restarts OAuth.
- 'Not enough credits': check get_credits, then top up on the pricing page. Nothing was charged.
- A render still 'running': most finish within a few minutes. Ask the assistant to call get_edit again.
- 403 with an API key: the key's plan has no API access. Use OAuth or upgrade.

## MCP questions and troubleshooting

### Does the MCP server cost extra?

No. Connecting is free on every plan; you only spend the credits each preview or render costs, as on the website. Sign-up credits work here too.

### Which edits can the assistant make?

The same five as on the website: Remove, Replace, Relight, Weather and Extend, on 3 to 15 seconds of your clip. Ask the assistant to call list_tasks for live prices.

### What if a render fails or I run out of credits?

A preview or render charges its credits as it starts and refunds them by itself if it fails. With too few credits, render_edit refuses and charges nothing.

### How do I give the assistant my clip?

Attach it, or pass a direct https link to an MP4 or MOV file. It is copied into your private univid.app storage and checked first, so the original link can expire afterwards.

### My client keeps asking me to sign in. What do I do?

Delete the server in your assistant and add it again to get a new sign-in. A 403 on an API key means the key's plan does not include API access: use OAuth, or move to a plan with keys.

### Where do finished edits go, and how long do they take?

A preview frame takes seconds; a render usually a few minutes. Every edit is saved to My edits like one started on the website, where you can download the MP4.


---

Source: https://univid.app/mcp-server · Site index for AI agents: https://univid.app/llms.txt · Full content: https://univid.app/llms-full.txt
