Skip to content
EpicDraft Docs

Agent control and MCP

Agent control lets an assistant you already use work on the screenplay you have open in EpicDraft. It speaks the Model Context Protocol (MCP). It works with ChatGPT, Claude, Gemini, Grok, GitHub Copilot, Cursor, Windsurf, Zed, and any app that runs a local MCP server. It is a normal setting, not a Labs switch.

The connection also runs the other way: EpicDraft's own Chat Agent can borrow tools from MCP servers you connect.

This page covers, in order: how to turn it on, what an assistant can read, what it can change, when it must ask first and how to undo, setup for each app, and pooled models, which is a separate Labs feature for splitting a model across your own devices.

Letting another app drive EpicDraft

Instead of pasting an API key into EpicDraft, you work in the app you are already signed into, and it reaches into EpicDraft to read your script and keep your Library.

Turn it on

It is off until you say otherwise. In Settings → Devices → Connections, under Agent control, turn on Allow desktop assistants to control EpicDraft. Turning it off again disconnects everything at once. The Connections section shows when your account has the AI tools (Pro or the 14-day trial).

While an assistant is connected, a small robot chip appears next to the connection dot in the editor's status bar, and a toast tells you when one connects or leaves. The settings card lists who is Connected now and their Recent tool calls.

What it can read

An assistant gets a fixed set of tools. These are the ones that read:

  • Read the screenplay: scenes, the full script text, search, characters, locations, the title page, formatting issues, and where your cursor is.
  • Read your story mode's structure: how the outline lines up with the scenes you've drafted and which beat comes next, a game's choices and variables, and scripts written in columns.
  • Read this manual: it can search these help pages and read one, so it can answer "how do I…" questions about EpicDraft from the docs instead of guessing. EpicDraft's own assistant can do the same.
  • Read the Library: list and read pages.
  • Read your media: list the pictures, video, sound, 3D models and documents in your Library, with their tags and the pages they appear on.
  • Read coverage: the stored report.

What it can change

  • Library: create pages, append to them, replace one section, link pages, add storyboard panels.
  • Media: bring in pictures, video, sound, 3D models and documents, and put them on a page. See below.
  • Coverage: generate a new report.
  • 3D blocking: see below. With the sequencer on (Settings → Labs → Sequencer), its scene edits are available too.

It cannot rewrite the screenplay itself, rename characters across the script, open dialogs, move you around the app, or change settings. Those stay in EpicDraft's own chat, where you are holding the cursor.

When it asks first, and undo

Every write goes through the same guard as EpicDraft's own assistant. You set it under Settings → AI → Basics → Changes to your project, in Ask permission:

  • Ask before replacing or deleting my work (recommended). Adding something (a page, a section, a panel) happens straight away. Anything that replaces existing work (a section rewrite, regenerating coverage) asks you first, inside EpicDraft, naming the app that asked. Nothing is replaced until you say yes.
  • Ask before every change. Every write asks.
  • Never ask. The assistant can overwrite or delete your work without asking. You can still undo its changes.

Every change can be undone. Each one leaves an Undo in EpicDraft: on the toast, and under Recent assistant changes in the same place. Before a replacing change lands, EpicDraft saves a version of the whole document.

Pages an assistant writes are marked as AI-authored, with the name of the app that wrote them.

Editing your 3D blocking

An assistant can read a scene's 3D blocking, look through its cameras (it gets a small picture, if its app can take images, and a written report of who is in shot), check it for problems, and edit it: place and move people and props, arrange them, set cameras, shots and cuts, add sounds, change the scene's length, look and sky, and remove things.

Because this changes your project, EpicDraft asks you once per connection, inside EpicDraft, naming the app: "Claude Code wants to edit this project's 3D blocking…". Allow it and that connection's later edits go ahead without asking again; a connection's edits to a scene are one Undo, and removing something asks again. If you say no, the assistant is told it was declined and not to retry. Closing the connection forgets your answer. Your Ask permission setting still applies: set to Never ask, it never asks; set to Ask before every change, it asks on every call instead.

It can list your Library's 3D models and place one by name at its real size. It can't yet edit captions, textures or clip trims.

Adding media to your Library

An assistant can bring a file into your Library the same way Add media does. The file is kept on your device and isn't uploaded anywhere. EpicDraft's own Chat Agent has the same tools.

  • See what's there. It can list your media: pictures, videos, sounds, 3D models and animations, skies, colour looks, scans, and the files behind Library › Documents. Each comes with its size, its tags and the pages it appears on.
  • Add a file. The assistant can hand it over in one of three ways:
    • a path to a file on this computer, when the app runs on the same computer as EpicDraft;
    • a web link, which is downloaded, or kept as a link for a picture or video you host yourself;
    • the file itself, sent over the connection. This is the only way an app on another device, or your phone or tablet, can give EpicDraft a file.
  • Documents (PDF, Word, Markdown, HTML, text) become pages under Library › Documents, and the assistant can read their text.
  • No duplicates. A file the Library already has isn't added twice. The assistant gets the existing item back, plus any new tags.
  • Size. Media kept on your device without Folder Sync is limited to 50 MB per file. A file kept as a link has no limit.
  • Put it on a page. A picture becomes an image on the page, or the frame of a storyboard panel. A video, sound or 3D model goes on the page's media strip. A page without a strip gets a link instead.

Adding and placing happen straight away, and each leaves one Undo. Undoing an add removes the item and its file from the Library. Replacing a storyboard panel's existing frame asks you first.

Add it to your AI app

Every app runs the same small program, epicdraft-mcp, downloaded from https://epicdraft.com/release/epicdraft-mcp.tgz. It finds the EpicDraft open on this computer on its own. It needs no token and keeps working when either app restarts. The settings card shows these lines for each app, ready to copy.

AppHow to add EpicDraft
Claude Codeclaude mcp add --scope user epicdraft -- npx -y https://epicdraft.com/release/epicdraft-mcp.tgz
Claude DesktopInstall the extension, below.
ChatGPT desktop app and Codexcodex mcp add epicdraft -- npx -y https://epicdraft.com/release/epicdraft-mcp.tgz, or in the ChatGPT app: Settings → MCP servers → Add server → STDIO, command npx -y https://epicdraft.com/release/epicdraft-mcp.tgz
Gemini CLIgemini mcp add -s user epicdraft npx -y https://epicdraft.com/release/epicdraft-mcp.tgz
AntigravityAdd the mcpServers block below to ~/.gemini/config/mcp_config.json
Grok Buildgrok mcp add epicdraft -- npx -y https://epicdraft.com/release/epicdraft-mcp.tgz
GitHub CopilotInstall in VS Code in the settings card, or for Copilot CLI: copilot mcp add epicdraft -- npx -y https://epicdraft.com/release/epicdraft-mcp.tgz
CursorInstall in Cursor in the settings card, or add the mcpServers block below to ~/.cursor/mcp.json
Windsurf / Devin DesktopAdd the mcpServers block below to mcp_config.json
ZedAdd it under context_servers in Zed's settings.json
Any app that runs a local MCP serverGive it the command npx -y https://epicdraft.com/release/epicdraft-mcp.tgz. Most take the mcpServers block below. The settings card shows both under Other

Most apps that take a configuration file want this shape:

{
  "mcpServers": {
    "epicdraft": { "command": "npx", "args": ["-y", "https://epicdraft.com/release/epicdraft-mcp.tgz"] }
  }
}

On Windows, some apps can only start npx through cmd: use "command": "cmd", "args": ["/c", "npx", "-y", "https://epicdraft.com/release/epicdraft-mcp.tgz"]. The settings card does this for you on Windows.

It needs Node.js, which provides npx. The first start downloads it, which can take longer than some apps wait: if yours reports a timeout the first time, start it again, or for Codex and the ChatGPT app use the config.toml form in the settings card, which waits longer. After that the app starts the copy it already has, so it keeps working offline. To get a newer copy, delete the _npx folder in npm's cache (~/.npm/_npx on macOS and Linux) and restart the app.

If the app starts before EpicDraft, it connects with no tools, and they appear once EpicDraft is open with the switch on. You don't need to restart either app.

Apps that connect to a local address instead of starting a program can use the address and token under Other in the settings card. The token changes every time EpicDraft starts.

Any device: pair a terminal

epicdraft-mcp is a small command-line program that finds a running EpicDraft for an AI app. On the computer EpicDraft is open on, it needs nothing else. To reach an EpicDraft on another of your devices (a desktop from a laptop, say), pair it once with the code from the settings card:

npx -y https://epicdraft.com/release/epicdraft-mcp.tgz pair <code>

Then add it to your AI app as above. Nothing else changes: it uses this computer's EpicDraft when one is open here, and your paired devices when not.

The paired terminal reaches whichever of your devices has the switch on, through the same peer-to-peer link your devices already use to share AI hardware. Your script travels directly between your devices and never through a server. Run the same npx line with status instead of pair <code> to see which EpicDraft it would talk to, or with unpair to forget a pairing. Reset pairing in the settings card revokes every terminal paired with that device.

People you share a script with can pair with your EpicDraft too, but only if you also turn on Share with collaborators under Your devices, the same switch that lets them borrow your on-device models, and only with your pairing code.

Both EpicDraft and the terminal's device must be online at the same time. Reaching another device needs WebRTC support, which epicdraft-mcp downloads with it; on a system where that download fails, only the connection to EpicDraft on the same computer works.

Claude Desktop

  1. Download EpicDraft.mcpb from epicdraft.com/mcp.
  2. Double-click it. Claude Desktop opens and offers to install the extension. Click Install.
  3. Make sure EpicDraft is open, with the switch above turned on and the script you want to work on.
  4. In Claude Desktop, ask something like "What happens in scene 12?" or "Make a Library page for every character who doesn't have one."

You don't need Node, a terminal, or any configuration file. Claude Desktop supplies everything the extension needs.

A skill for Claude Code

The repository ships a Claude Code skill, skills/epicdraft/SKILL.md, generated from EpicDraft's own tool registry: it teaches the assistant how scenes, elements, outline beats and Library pages are addressed, the approval contract, and the workflows EpicDraft's chat offers. Copy it to ~/.claude/skills/epicdraft/ to use it.

Apps in a web browser

ChatGPT, claude.ai, Gemini and Le Chat in a web browser connect to MCP servers from their makers' servers, on the internet. They can't reach an app on your computer, and EpicDraft's connection stays on your computer and your devices. Use their desktop apps instead: the ChatGPT desktop app and Claude Desktop both work as described above. The help server below works from the web too.

Blender

Blender links to EpicDraft through its own add-on, not MCP. See Blender Add-on for the download and how to pair it.

Asking about EpicDraft from any AI app

EpicDraft's help pages are also an MCP server on the internet, at:

https://epicdraft.com/api/mcp

Add it as a custom connector in ChatGPT, Claude, or any app that takes an MCP server URL, and the assistant can look up how EpicDraft works and link you to the right page. It needs no account and no sign-in. In Claude Code:

claude mcp add --transport http epicdraft-docs https://epicdraft.com/api/mcp

It only has the help pages, in English. It can't see your scripts or reach the app.

If it says EpicDraft isn't running

On the computer EpicDraft is open on, the connection is found through a small file the app writes while the switch is on:

  • macOS ~/Library/Application Support/com.epicdraft.epicdraft/mcp.json
  • Windows %APPDATA%\com.epicdraft.epicdraft\mcp.json
  • Linux ~/.config/com.epicdraft.epicdraft/mcp.json

It holds the port to connect to and a token that changes every time the switch is turned on.

  • "EpicDraft does not appear to be running" — the file isn't there. Open EpicDraft and turn the switch on.
  • "EpicDraft is not answering on port N" — the file is stale, usually because EpicDraft was force-quit. Start it again.
  • "EpicDraft rejected the token" — EpicDraft restarted since the client connected, so the token changed. Reconnect.
  • "None of your devices has EpicDraft open with agent control on" — the paired route found nobody. Open EpicDraft on one of your devices and turn the switch on there.
  • "This build of EpicDraft may not include the MCP server" — see below.

Builds that include it

The local connection is a desktop feature: there is no equivalent on iOS or Android. The Mac App Store version can't open it either, because the App Store sandbox doesn't allow it; pair a terminal with it instead. The paired-terminal route works from any EpicDraft that is signed in, on any platform, because it rides the devices' peer-to-peer link rather than a port.

Is it private?

On the same computer, the connection is to 127.0.0.1, your own machine, and is not reachable from your network or the internet. Because any program on your computer could in principle reach a local port, every request must present the token from mcp.json, which is readable only by you and is regenerated each time the switch is turned on. A web page cannot use it either: requests from browsers are refused.

Between your devices, frames travel over the peer-to-peer link your devices use to find each other, and every one must carry the pairing key from the settings card. Nothing about your script is stored on a server. Pooled models, below, are different: they use your local network without encryption.

What you type into the other app, and whatever it reads from your script to answer, is handled by that app under its maker's terms, the same as anything else you paste into it. EpicDraft is only answering the questions it asks.

Pooled models (in Labs)

Pooled models are a separate feature from agent control. They run a model that is too big for one computer by splitting it across the memory of your own devices.

  • It is in Labs, off by default, and desktop app only. Turn on Pooled models in Settings → Labs, then find it in Settings → Devices.
  • The devices are your own, on the same network. Each one has EpicDraft open and has Lend this computer's memory turned on.
  • It is not encrypted. While a pool runs, a port is open on the lending computer's local network, and the traffic is not encrypted. EpicDraft only talks to loopback and private-network addresses. Use it at home or on a network you trust.
  • Nothing starts on its own. You turn on lending on each device, then press Run on pool. Stop pool ends it. The first time, the model is copied to the lending devices, which can take several minutes.
  • It needs an on-device model installed first, and AI turned on in Settings → AI.

Pooled models are experimental. This page makes no claim about how fast they run.

Giving the assistant extra tools

The connection also runs the other way. Under MCP servers in Settings → Devices → Connections you can connect external MCP servers, and their tools become part of what EpicDraft's own Chat Agent can do, alongside its built-in ones.

Press Add MCP server, then give it a name, its Server URL, and an API token (optional) if the server needs one. Each server can be switched on or off by itself. Test connection checks it and says how many tools the server offers ("12 tools available"). Remove server takes it away.

Everything runs client-side with your own credentials: server addresses and tokens are stored on your device only, and are never synced to collaborators.