# Edit Square MCP server

> **Related:** [Introduction](https://docs.editsquare.com/api.md)
> **Also:** [HTML version](https://docs.editsquare.com/mcp) · [Docs index](https://docs.editsquare.com/llms.txt)

---
The Edit Square MCP server lets an AI assistant work on your Edit Square
projects. Ask it for a video and it builds the compositions, text, shapes,
media and animation in a project in your account. You check the video in
the Review app, leave comments on it, and ask for changes.

The server is at:

```
https://api.editsquare.com/mcp
```

Most assistants sign in with your Edit Square account. Those that can't use
an Edit Square API key instead (see [getting a key](/api/authentication/#getting-a-key)).

## Claude

In Claude on the web or desktop:

1. Open **Customize** and then **Connectors**.
2. Choose **Add**, then **Add custom connector**, name it Edit Square, and
   enter the URL `https://api.editsquare.com/mcp`.
3. Choose **Add**, then **Connect**, and sign in with your Edit Square
   account.

On a Team or Enterprise plan, an Owner adds the connector once in
**Organization settings** > **Connectors**, and each member then connects it
with their own Edit Square account.

In Claude Code:

```sh
claude mcp add --transport http editsquare https://api.editsquare.com/mcp
```

Then run `/mcp`, choose **editsquare** and sign in.

## ChatGPT

Custom MCP servers are available on supported ChatGPT plans, on the web.

1. Go to [chatgpt.com/plugins](https://chatgpt.com/plugins) and choose **+**,
   then **Add custom MCP server**.
2. Name it Edit Square and, under **Connection**, enter
   `https://api.editsquare.com/mcp`.
3. For authentication, choose OAuth with a Client ID Metadata Document
   (CIMD).
4. Create the plugin, install it from your plugins, and sign in with your
   Edit Square account.

## Codex

```sh
codex mcp add editsquare --url https://api.editsquare.com/mcp
codex mcp login editsquare
```

The login opens a browser to sign in with your Edit Square account.

## VS Code (GitHub Copilot)

1. Run **MCP: Add Server** from the Command Palette and choose **HTTP**.
2. Enter `https://api.editsquare.com/mcp` and name it `editsquare`.
3. Sign in with your Edit Square account when VS Code asks.

## Cursor, Gemini CLI and Windsurf

These can't sign in to Edit Square, so they connect with an Edit Square API
key (see [getting a key](/api/authentication/#getting-a-key)). Replace `<key>`
with your key.

Cursor, in `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "editsquare": {
      "url": "https://api.editsquare.com/mcp",
      "headers": { "Authorization": "Bearer <key>" }
    }
  }
}
```

Gemini CLI, in `~/.gemini/settings.json`:

```json
{
  "mcpServers": {
    "editsquare": {
      "httpUrl": "https://api.editsquare.com/mcp",
      "headers": { "Authorization": "Bearer <key>" }
    }
  }
}
```

Windsurf (Devin Desktop), in its MCP config file:

```json
{
  "mcpServers": {
    "editsquare": {
      "serverUrl": "https://api.editsquare.com/mcp",
      "headers": { "Authorization": "Bearer <key>" }
    }
  }
}
```

A key carries your access to every project you can reach, so keep it out of
files you share or commit.

## What the assistant can do

- **Find and create projects.** List your projects, open one by name or link,
  or start a new one in any of your teams.
- **Build and edit.** Add and change compositions, layers, text, shapes,
  masks, effects, animation presets, keyframes, expressions, sequences and
  transitions.
- **Bring in media.** Search stock photos and video, or import an image,
  video, audio file, font or SVG from a public URL.
- **Make templates.** Turn a composition into a template with variables a
  form or the render API can fill.
- **Check its work.** Measure the layout and the motion, and look at frames
  of the video while the Review app or the editor is open.
- **Act on your comments.** Read the comments you leave in the Review app
  and mark each one done with a note on what changed.

## Review app

When the assistant opens a project it opens the Review app, where you play
and scrub through the video and leave comments on a moment or a layer. In
apps that show MCP apps, such as Claude, the Review app appears in the chat.
Elsewhere the assistant gives you a link to open in your browser, signed in
to Edit Square.

While the Review app or the project in the editor is open, the assistant
looks at frames of the video there. Either works, and neither is required:
with nothing open it still measures the layout and the motion as it goes.

The assistant saves a version before it edits, named after your request.
To undo a whole request, open **Version history** in the Review app and go
back to the version before it. Single changes can be undone in the editor with
**Undo**.

## Example prompts

- "Make a 15 second vertical promo in Edit Square for our spring sale: three
  scenes, bold type, brand colours #1B4DFF and #FFD43B."
- "Open my Launch project in Edit Square and work through the comments I left
  in Review."
- "In my Q3 Results project, turn the main composition into a template with
  variables for the headline, the figure and the logo."

## Troubleshooting

| What you see | What to do |
| --- | --- |
| Your assistant asks you to connect, or a call fails with `401` | Your sign-in has expired or was revoked: disconnect and connect again. With an API key, the key may have been revoked: create a new one. |
| Signing in fails before it reaches Edit Square | Your assistant may not support signing in to Edit Square. Connect it with an API key instead. |
| The assistant says it can't look at the video | Open the Review app, or the project in the editor, signed in to Edit Square, and ask it to carry on. It keeps working without either. |
| `Too many requests. Try again in <n>s` | Wait that long and ask again. |
| An import fails because the file is on your computer | The server can't read files on your machine. Upload the file in the editor's media panel, or give the assistant a public URL. |
| A change you didn't want | Go back to an earlier version in the Review app's **Version history**, or use **Undo** in the editor. |

## Privacy and support

What the server receives and keeps is described in the
[privacy policy](https://editsquare.com/privacy#ai-assistants). For help,
or to report a security issue, email
[hello@editsquare.com](mailto:hello@editsquare.com).