# Plan and render videos from Claude, ChatGPT or Cursor

> The AI Video Agent MCP server lets Claude, ChatGPT, Cursor and other assistants turn your idea into a storyboard and then a joined multi-shot video on your account. It uses the same models, credits, plan limits and refunds as the website.

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

## Add it to your client

### Claude

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

```
https://aivideoagent.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 ai-video-agent https://aivideoagent.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://aivideoagent.app/mcp
```

### Codex

Add the block to ~/.codex/config.toml, then run codex mcp login ai-video-agent to sign in.

```
[mcp_servers.ai-video-agent]
url = "https://aivideoagent.app/mcp"
```

### Cursor

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

```
{
  "mcpServers": {
    "ai-video-agent": {
      "url": "https://aivideoagent.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": {
    "ai-video-agent": {
      "type": "http",
      "url": "https://aivideoagent.app/mcp"
    }
  }
}
```

### Windsurf

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

```
{
  "mcpServers": {
    "ai-video-agent": {
      "serverUrl": "https://aivideoagent.app/mcp"
    }
  }
}
```

Your browser opens AI Video Agent: 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 AI Video Agent and approve that one app on the consent screen.
4. The client gets a token for https://aivideoagent.app/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_models`: Every step of a video with its model and credits, and what your plan includes.
- `plan_storyboard`: Turn an idea into an editable storyboard of 2 to 6 shots (1 credit).
- `render_video`: Render a storyboard: keyframes, one clip per shot, then one joined MP4.
- `get_run`: Status, finished shots and the final video link for one render.
- `list_runs`: Your latest videos, newest first.
- `get_credits`: Remaining balance, plan, shot limit and resolution.

Each step is charged when it starts and refunded automatically if it fails. Every idea and storyboard 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 'running': a full run usually takes several minutes. Ask the assistant to call get_run 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 step costs, exactly as on the website.

### What can my assistant make?

Short multi-shot videos: a storyboard of 2 to 6 shots rendered with Veo 3.1 Lite, Veo 3.1 Fast or Kling 4.0, in 16:9 or 9:16, joined into one MP4.

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

Each step 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 I put real people in a video?

No. Real people, minors and sexual content are refused. Your storyboards and videos stay private on AI Video Agent.

### 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?

A run usually takes several minutes. Videos are saved privately to My videos, and the assistant gets a direct link once get_run reports it ready.


---

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