# Edit video with Claude

> Claude can't render video by itself. Connected to FrameClip it can cut, caption and export, and you watch the timeline change.

FrameClip is a video editor in the browser with an agent that has watched your footage. You ask for an edit in plain words ("cut the pauses and caption it", "make a launch film for my site", "find three shorts in this episode") and it lands on a real multitrack timeline you can still change by hand. It also works from Claude, Claude Code, Codex and Cursor through a remote MCP server.

Full page: https://frameclip.io/claude-video-editing


## MCP server

Address (Streamable HTTP): https://frameclip.io/api/mcp

Claude and Claude Code sign in with OAuth (discovery at /.well-known/oauth-protected-resource). Codex, Cursor, VS Code, Gemini CLI, Windsurf, the xAI API and other clients send a key made at https://frameclip.io/connect as `Authorization: Bearer <key>`.

### Tools

- `guide` (FrameClip editing guide): FrameClip's editing guide: how the timeline works, how to approach an edit as FrameClip's own agent does, and every tool run_tools can call, by what it does. Read it once before editing. topic "sites" adds recording and making films of websites; "tools" is the tool list alone.
- `tool_manual` (Tool instructions): The full instructions and JSON arguments of FrameClip tools by name, to call them with run_tools.
- `list_projects` (List projects): The user's FrameClip projects, newest first: id, name, size, length and link.
- `create_project` (Create a project): Make a new, empty FrameClip project. width and height default to 1920x1080 (use 1080x1920 for a vertical short). Answers its id and editor link.
- `open_project` (Open a project): A project as FrameClip's agent sees it: canvas, tracks, every clip with its id and timeline times, and notes on each piece of media (summary, shots, what is seen and said with source times). Read it before editing.
- `run_tools` (Run FrameClip tools): Run FrameClip tool calls in order on a project and save the result (the user sees it in the editor). Each action is {"tool": name, "args": {...}} with a tool from the guide; tool_manual has each one's arguments. Lookups (read_media, search_media...) and edits mix freely; "$last" is the id of the clip or track the latest action made. Answers each result, what the finishing check noticed, and the project's new state. links: web addresses the user gave for this work (a site to record or capture); tools open only those sites.
- `add_media` (Add media from this computer): Start adding a video, audio or image file from this computer to a project. Answers a curl command that sends the file (run it in a shell), then FrameClip processes it and reads it (transcript, shots, what's seen); open_project shows its notes once they're in. size is the file's size in bytes.
- `undo` (Undo the latest run): Take back the latest run_tools on a project, if the project hasn't changed since (in the editor or another run).

### Setup

**Claude**: In Claude (claude.ai or the desktop app)

```
https://frameclip.io/api/mcp
```

1. Open Settings, then Connectors, and choose Add custom connector.
2. Name it FrameClip and paste this address.
3. Choose Connect and sign in to FrameClip. Then ask Claude for an edit in any chat.

**Claude Code**: Run in a terminal, then type /mcp in Claude Code and choose FrameClip to sign in

```
claude mcp add --transport http frameclip https://frameclip.io/api/mcp
```

**Codex**: Run in a terminal (and keep FRAMECLIP_KEY in your shell profile)

```
export FRAMECLIP_KEY=YOUR_KEY
codex mcp add frameclip --url https://frameclip.io/api/mcp --bearer-token-env-var FRAMECLIP_KEY
```

**Cursor**: Add to ~/.cursor/mcp.json

```
{
  "mcpServers": {
    "frameclip": {
      "url": "https://frameclip.io/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}
```

**VS Code**: Add to .vscode/mcp.json

```
{
  "servers": {
    "frameclip": {
      "type": "http",
      "url": "https://frameclip.io/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}
```

**Gemini CLI**: Run in a terminal (add --scope user to use it in every project)

```
gemini mcp add --transport http --header "Authorization: Bearer YOUR_KEY" frameclip https://frameclip.io/api/mcp
```

**Windsurf**: Add to ~/.codeium/windsurf/mcp_config.json, then press refresh in Cascade's MCP panel

```
{
  "mcpServers": {
    "frameclip": {
      "serverUrl": "https://frameclip.io/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}
```

**Grok API**: Through the xAI API: add FrameClip as a remote MCP tool in a request

```
curl https://api.x.ai/v1/responses \
  -H "Authorization: Bearer $XAI_API_KEY" -H "Content-Type: application/json" \
  -d '{"model": "grok-4", "input": "List my FrameClip projects", "tools": [{"type": "mcp", "server_label": "frameclip", "server_url": "https://frameclip.io/api/mcp", "authorization": "YOUR_KEY"}]}'
```

Exports and tools that look at rendered frames need the project open in a FrameClip browser tab, since rendering happens in the browser.
