SetupTurn on Edits automation

Turn on Edits automation

Switch on the Automation Server in Edits' Settings, copy the access token, and connect in one command.

Edits for Mac has a secret it only shares with people it trusts: a local Automation Server that lets tools on your Mac drive the editor (add media, trim, add transitions, export) over MCP. It only listens on your own Mac (127.0.0.1), and only answers requests that carry your access token. Think of the token as a key to your Mac: don't hand out copies.

Get Edits

No Edits yet? Install Edits for Mac from Meta, drag it to Applications and open it once. python3 bae/doctor.py shows Edits app ... ok with its version when it's in place.

Open Edits and sign in

Open Edits from Applications. Sign in if it asks. Leave it open: the automation server only runs while Edits is open.

Open Settings → Automation

Press ⌘ , (Command + comma), or choose Edits → Settings… from the menu bar. Click the Automation tab.

Turn on Enable Automation Server

Switch on Enable Automation Server. Edits explains it right there: it lets external MCP clients control Edits on this Mac over a local connection.

Leave the port at 19501 unless something else on your Mac already uses it.

Watch out: Keep the access token private. Anyone with it can edit your projects while the server is on. Never paste it into a chat, a doc or a repo.

Copy the Access token

Under Access token, click copy. If you ever think it leaked, click regenerate: every client using the old token stops working until you connect again.

Connect Bad Ass Edits

Back in Terminal, in the badassedits folder:

sh setup/connect-edits.sh

Paste the token when it asks (it stays hidden). The script saves it to ~/.config/metapilot/token, readable only by you and never inside the repo, then tests the connection.

Say hello to Edits

python3 bae/edits_mcp.py appState
python3 bae/edits_mcp.py --list trim

The first tells you which screen Edits is on. The second lists every tool with "trim" in it. There are about 270 tools: everything you can do with the mouse, and some you can't.

BaeWatch: Run python3 bae/doctor.py again. The Edits lines are green now; warn on the optional extras (Codex, Chrome, the whisper model) is fine.

If it doesn't connect

You seeFix
can't reach http://127.0.0.1:19501/mcpEdits isn't open, or the server switch is off
HTTP 401the token changed: copy it again, run sh setup/connect-edits.sh --new
connection refused after it workedEdits quit. Open it again; your projects are safe