# Draft AI videos from Claude, ChatGPT or Cursor

> The MagiVideo.co MCP server lets your assistant start a clip on Seedance 2.0 Mini, Grok Imagine, PixVerse V6 or Wan 3.0 from a prompt or a start image, check on it and hand you the MP4, all with your MagiVideo.co credits and the same rules as the generator.

Server URL (Streamable HTTP): `https://magivideo.co/mcp`

## Add it to your client

### Claude

In claude.ai or Claude Desktop open Settings → Connectors → Add custom connector, name it MagiVideo.co and paste the URL. Press Connect and approve access.

```
https://magivideo.co/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 magivideo-co https://magivideo.co/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://magivideo.co/mcp
```

### Codex

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

```
[mcp_servers.magivideo-co]
url = "https://magivideo.co/mcp"
```

### Cursor

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

```
{
  "mcpServers": {
    "magivideo-co": {
      "url": "https://magivideo.co/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": {
    "magivideo-co": {
      "type": "http",
      "url": "https://magivideo.co/mcp"
    }
  }
}
```

### Windsurf

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

```
{
  "mcpServers": {
    "magivideo-co": {
      "serverUrl": "https://magivideo.co/mcp"
    }
  }
}
```

Your browser opens MagiVideo.co: sign in (or create a free account) and press Allow access. No password or API key is shared with the assistant.

## How sign-in works

1. Your client calls the server and receives a 401 that points to our OAuth metadata.
2. It registers itself (Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in page.
3. You sign in on MagiVideo.co and approve that one app on the consent screen.
4. The client gets a token for https://magivideo.co/mcp only, refreshed automatically and revocable at any time.

## Scripts and headless agents

There are no API keys yet: every client signs in with OAuth, which works in Claude, ChatGPT, Cursor, VS Code, Codex and Windsurf.

## Tools

- `list_options`: Models, resolutions, lengths, frame shapes and credit prices.
- `make_video`: Prompt (and an optional start image link) → 1 to 4 video takes. From 1 credit/s.
- `get_task`: Status and link for one video.
- `list_tasks`: Your latest videos, filterable by status.
- `get_credits`: Remaining balance and plan.

Credits are taken when a render starts and come back automatically if it fails. The prompt is screened before anything is charged.

## 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.
- Video still 'processing': most take one to three minutes. Ask the assistant to call get_task again.
- 401 with a key starting sk_: this site has no API keys. Remove the header and sign in with OAuth.

## Questions and fixes

### Does the MCP server cost extra?

No. Connecting is free; you only spend the credits each video costs, exactly as in the generator.

### What can my assistant make?

Short clips from a prompt, optionally from one start image you link: it picks a model, resolution, length and frame shape, can start several takes and checks on them until the MP4s are ready.

### What happens if a video fails or my balance is too low?

A render is charged when it starts and refunded automatically if it fails. If your balance is too low, the tool says so and nothing is charged.

### Can my assistant use any image?

Only images you own or have permission to use, and no photos of real people who have not agreed. Prompts that depict celebrities or public figures are refused.

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

Remove the server from the client and add it again so it starts a fresh sign-in.

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

Most videos take one to three minutes. They are saved privately to your Creations page, and the assistant gets a direct link to the MP4.


---

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