Insta Edits for Claude

io.github.faisalkhanzemiPublished by GitHub account faisalkhanzemiv0.1.1Updated Nov 7, 2026

Let Claude edit Instagram Reels in Edits for Mac: the full 274-tool editor, kept in sync.

The publisher's own server: Claude Platform Docs

VerifiedSTDIODesktop onlyProductivity & WorkflowMedia & Design

Overview

AI-generated overview

Bridges Claude Code to Instagram Edits for Mac, keeping the full 274-tool video editor in sync so an assistant can edit Reels.

What you can do
  • Open projects and inspect the timeline, then import clips and media into a project.
  • Edit video: cut clips on the beat, add text, captions, effects, transitions, keyframes, zooms and speed ramps.
  • Work with audio, including adding songs and adjusting the music bed.
  • Check rendered frames and export a preview or finished reel.
  • Keep the editor's tool list in sync so the full editor tools appear once a project is open, and diagnose the connection with a doctor check.
When to use it
Use it when you edit Instagram Reels in Edits for Mac and want Claude Code to drive the editor from plain-language prompts instead of clicking through the app. It is macOS-only and needs Edits running locally.
Requirements
A Mac with Apple silicon running Edits for Mac, signed in to Instagram, with the Automation Server enabled and an access token copied from Edits settings. Claude Code (or another MCP client) on the same Mac, and python3 3.9 or newer. The token is supplied via EDITS_MCP_TOKEN or a token file; EDITS_MCP_URL defaults to a local address.
Before you install
The token grants control of an editor signed in to your Instagram account; keep it out of config files and shell history. Edits' share tools can publish, so confirm before any post, share or schedule. Automation exports may drop licensed library songs, and Edits is sandboxed, so some import locations fail. The project is unofficial and Edits' automation server is undocumented and changes often.

Installation

In SourceWeft

  1. Open Insta Edits for Claude in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

Insta Edits for Claude

Let Claude Code edit in Instagram Edits for Mac, with the full editor and not just the home screen.

[CI] [PyPI] [MCP Registry] [Python 3.9+] [Dependencies: none] [License: MIT]

[A real Claude Code session making a beat-synced Dubai in 15 seconds reel inside Instagram Edits for Mac: clips cut on the beat, punch-in zooms, a speed ramp, a title and labels, frame checks, then export]

One prompt, a real Claude Code session, nothing scripted. Edits found no beats, so Claude analysed the music itself (122 BPM), cut every clip on a beat, checked its own frames and exported the reel. Watch with sound.

Edits for Mac, which Meta launched on 5 November 2026, has a built-in automation server that speaks MCP: in Meta's words, you can connect AI agents "to the desktop editor through MCP so they can help with your projects". You can point Claude Code at it directly, but you only get part of it.

Edits changes its tools with the screen. The home screen offers 32 tools: projects, imports and catalogs. Open a project and it offers 274, with text, captions, effects, transitions, keyframes, audio and export. Edits says it will announce that change (tools.listChanged: true) but never sends the notification. Claude keeps the 32 home tools for the whole session and never sees the editor.

This bridge sits between the two. After every tool call it asks Edits which tools it offers now. If the set has changed, it tells Claude, and Claude refreshes the list. It also fixes a reply format that some Claude Code builds reject, gives readable errors, and keeps your token out of config files.

Claude Code ──stdio──▶ insta-edits ──HTTP──▶ Edits for Mac (127.0.0.1:19501)             ◀── tools/list_changed ──┘  checks the tool set after each call

Works with Claude Code in the terminal and in the Code tab of the Claude desktop app. It's a standard stdio MCP server, so other MCP clients (the Claude desktop chat, Cursor, Codex) can run insta-edits serve too, though we've only tested Claude Code.

What you get

  • The full editor. Claude receives notifications/tools/list_changed as soon as Edits moves between home (32 tools) and the editor (274). Without the bridge, that notification never arrives.
  • Replies that every Claude Code build accepts. Edits marks each result "resultType": "complete" without the caching fields that newer MCP schemas pair with it. Some Claude Code builds then dropped every tool, with Invalid result for tools/list: ttlMs … cacheScope. The bridge removes the marker only when those fields are missing.
  • Your token stays private. The plugin keeps it in the macOS keychain. The CLI keeps it in a 0600 file. It never appears in ~/.claude.json, in logs or in error messages.
  • Start in any order. If Edits isn't open yet, the bridge still connects and reports no tools, then tells Claude the moment Edits answers, so the editor appears without a restart.
  • Errors you can act on. "Cannot reach Edits: open it and enable the Automation Server" replaces a stack trace. A rejected token says how to update it.
  • doctor checks every link from the app to the sign-in, and --json gives you a report to attach to a bug.
  • An edits skill that teaches Claude how the server behaves: discover before guessing, work in normalised canvas coordinates, check rendered frames, and never publish without your explicit go-ahead.
  • Python standard library only. Nothing to pip install for the plugin, and it runs on the python3 that comes with macOS.

Requirements

  • A Mac with Apple silicon (M1 or later) and Edits for Mac, free and signed in to Instagram
  • Claude Code
  • python3 3.9 or newer. Run xcode-select --install if macOS asks for the command line tools.

Install

Before you start: Edits for Mac is open and signed in, and Claude Code is installed. Setup takes about two minutes.

1. Turn on the automation server in Edits

Go to Edits › Settings › Automation, switch on Enable Automation Server, and copy the Access token. Keep Edits open while Claude works.

2a. As a Claude Code plugin (recommended)

Start claude in a terminal and run these two commands, one at a time:

/plugin marketplace add faisalkhanzemi/insta-edits-for-claude
/plugin install insta-edits@insta-edits

Claude Code asks for the access token with a masked prompt and stores it in your keychain. Restart Claude Code, then run /mcp: edits should show as connected. The plugin also installs the edits skill.

Rather just ask? Paste this into Claude Code as a normal message:

Install the Insta Edits plugin from github.com/faisalkhanzemi/insta-edits-for-claude

Claude runs the same two install steps from its terminal. That route can't show the masked token prompt, so finish with /plugin configure insta-edits@insta-edits and paste the token there, never into the chat.

Installing from a shell script, or using the Claude desktop app

The shell commands do the same thing but don't prompt for the token, so set it afterwards with /plugin configure insta-edits@insta-edits inside Claude Code:

bash
claude plugin marketplace add faisalkhanzemi/insta-edits-for-claude
bash
claude plugin install insta-edits@insta-edits

A plugin installed this way, at user scope, also shows up in the Code tab of the Claude desktop app, which reads the same settings.

2b. As a standalone MCP server

bash
pipx install insta-edits
bash
insta-edits set-token
bash
claude mcp add --scope user edits -- insta-edits serve

set-token asks for the token with a hidden prompt and saves it to ~/.config/insta-edits/token with 0600 permissions. Never put the token itself on the claude mcp add line: it would end up in plain text in ~/.claude.json and in your shell history.

Check the connection

bash
insta-edits doctor
insta-edits 0.1.1 doctor
  ✓ macOS                      27.0.1  ✓ Edits app installed        /Applications/Edits.app  ✓ Automation server          answering at http://127.0.0.1:19501/mcp (HTTP 403 without a token, as expected)  ✓ Access token               from ~/.config/insta-edits/token  ✓ Sign-in                    metapilot-native 1.0.0, protocol 2025-06-18  ✓ Tools                      32 on the current screen (home screen; Edits offers more once a project is open)  ✓ Reply format               normalised for older Claude Code builds (resultType without caching fields)  ✓ Edits automation schema    2026.10.19-1  ✓ Tool-change notifications  Edits announces them but never sends any; the bridge checks after each call and tells Claude
All good. Claude can drive Edits.

Each ✗ line names its fix. Plugin users who want doctor can install the CLI as in 2b. The plugin token lives in the keychain, so without set-token the doctor checks stop at the sign-in step.

Update or uninstall

Plugin:

bash
claude plugin marketplace update insta-edits && claude plugin update insta-edits@insta-edits
bash
claude plugin uninstall insta-edits@insta-edits && claude plugin marketplace remove insta-edits

Standalone server: pipx upgrade insta-edits to update; claude mcp remove edits, pipx uninstall insta-edits and rm -r ~/.config/insta-edits to remove it. You can also switch off the automation server in Edits at any time, which cuts the connection.

Using it

Ask for edits in plain words:

Open my latest Edits project and tell me what's on the timeline.

Import ~/Movies/broll/ into a new project, cut it to the beat of the voice-over, and add word-by-word captions in a clean sans.

Add a soft zoom on every product close-up and a whoosh on each cut, then render a preview so I can check the frames.

Claude opens the project, the editor tools appear, and it works from them. It doesn't post. Publishing stays in the Edits window unless you explicitly tell Claude to share a specific video.

How it works

StepWhat happens
SessionThe bridge forwards initialize, keeps Edits' Mcp-Session-Id, and sends MCP-Protocol-Version on every request.
RepliesIt accepts both JSON and text/event-stream replies and batch requests, and normalises resultType only when the caching fields are missing.
Tool syncAfter each tools/call it sends its own tools/list to Edits, using an id Claude never sees, and compares the tool names. If they changed, it writes notifications/tools/list_changed to Claude. Turn this off with serve --no-sync.
NotificationsIf a future Edits build opens a server-to-client stream, the bridge listens on it and forwards what arrives. Edits doesn't offer one today, so the bridge stops trying after the first refusal. Turn it off with serve --no-stream.
Edits closedThe bridge answers initialize itself, reports no tools and retries Edits every 5 seconds (INSTA_EDITS_OFFLINE_POLL). When Edits answers, it opens the session and sends notifications/tools/list_changed.
ErrorsA tool call while Edits is closed returns JSON-RPC -32001. An HTTP error from Edits returns -32002. Both carry a one-line fix.

Settings come from the environment: EDITS_MCP_URL (default http://127.0.0.1:19501/mcp), EDITS_MCP_TOKEN, and EDITS_MCP_TOKEN_FILE. Logs go to stderr.

Tested with

Version
Edits for Mac454.0.0 (server metapilot-native 1.0.0, automation schema 2026.10.19-1)
Claude Code2.1.296
macOS27.0.1
Python3.9.6 (system), 3.11, 3.13 in CI

Edits updates often and its automation server is undocumented. If a new build breaks something, run insta-edits doctor --json and open an issue with the output. It contains no token.

Troubleshooting

SymptomFix
Cannot reach EditsOpen Edits and switch on Settings › Automation › Enable Automation Server.
HTTP 401 or 403The token changed in Edits. Update it in /plugin, or run insta-edits set-token.
Only home tools, even with a project openCheck that edits in /mcp points to the bridge and not straight at 127.0.0.1:19501, and that you didn't start it with --no-sync.
Import fails with file not found: ~/…Edits doesn't expand ~. Pass the full path, such as /Users/you/Movies/clip.mp4.
Import fails with Sandbox bookmark unavailableEdits is sandboxed. In our tests it imported from ~/Movies and refused ~/Downloads, ~/Desktop, temp folders and project folders. Move the footage into ~/Movies and import it from there.
Exported video is silent where the song should beSongs from Edits' music library come in as licensed tracks, and exports started through automation leave them out: the music bed was silent in every test, while our own audio files exported fine. Export or post from the Edits window when a library song matters.
addSongToComposition adds a different songPassing a track id sometimes added another track. Passing the exact title added the right song in our test.

Security

  • The bridge only connects to the URL you configure, which defaults to 127.0.0.1. It sends nothing anywhere else and has no telemetry.
  • The token is redacted in every log line, error message and repr. doctor --json reports where the token came from, never its value.
  • Edits is signed in to your Instagram account. The bundled skill tells Claude never to publish, share or schedule without your explicit go-ahead for that specific post.
  • Report vulnerabilities privately as described in SECURITY.md.

FAQ

How do I connect Claude to Instagram Edits? Install Edits for Mac, switch on Settings › Automation › Enable Automation Server, then add this plugin with the two /plugin lines under Install. Claude can then open your projects and edit them.

Can Claude edit Instagram Reels? Yes, inside Edits for Mac. It can import clips, cut them on the beat, add captions, text, transitions, zooms and speed ramps, check rendered frames and export. You post the reel from Edits yourself.

Does it work with claude.ai in the browser? No. Edits runs on your Mac and only listens locally, so it needs Claude Code (or another MCP client) running on the same Mac.

Is this official? No. It's an independent open-source project, not affiliated with or endorsed by Meta, Instagram or Anthropic. "Instagram" and "Edits" are trademarks of Meta Platforms, Inc.

Does it work on Windows or with the Edits phone app? No. Edits on desktop is only available on macOS, and the automation server only exists there.

Do I still need this if my Claude Code build accepts Edits' replies? Yes, for the editor tools. Edits never announces that its tools changed, and no client can find that out without asking.

Can Claude post to Instagram for me? The bridge won't stop Claude from calling Edits' share tools, but the bundled skill tells it to wait for your explicit go-ahead. Posting from the Edits window is the safer default.

Development

bash
git clone https://github.com/faisalkhanzemi/insta-edits-for-claude && cd insta-edits-for-claudepython3 -m venv .venv && . .venv/bin/activatepip install -e . pytest ruffpytest && ruff check . && ruff format --check .

The tests run against tests/fake_edits.py, a stand-in that behaves like the real server: it sends no notifications, changes its tool set when a project opens, and replies with resultType. You don't need a Mac or Edits to run them. See CONTRIBUTING.md.

Credits

Demo footage: stock clips from Pexels (Pexels License). Music: "Tech House vibes" by Alejandro Magaña, Mixkit (Mixkit License).

License

MIT © Faisal Khan

Source: README.md at commit 8adfaa9

Tools

0
SourceWeft read this server and it lists no tools.

Version history

1
  1. v0.1.1LatestNov 7, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts
  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listedRequired15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Claude integrations