Docs · 04

Working with an agent

Connect Claude Code, Codex and Cursor, and Xcode's assistant through Claude Code. Your own agent edits your takes, and you approve every change it makes.

How it works

Wrap runs a small server on your Mac that AI coding agents can talk to (an MCP server). You bring the agent and pay for it yourself. Wrap has no AI service of its own, and your agent connects over 127.0.0.1, so nothing goes over the internet to reach it.

Most AI editors only see the transcript. Your agent also sees the event log: the files you opened, the tests that failed, the commands you ran and the moments you flagged. So it can tell a real mistake from a pause while a build runs.

Connect in one click

Click Agent in the toolbar, or open Wrap ▸ Settings ▸ Agents. Then pick yours:

  • Claude Code and Xcode installs the Wrap plugin for Claude Code. Xcode's coding assistant uses the plugins you add to Claude Code, so it gets Wrap too.
  • Codex installs the Wrap plugin for Codex.
  • Skills for Cursor copies Wrap's skills to ~/.cursor/skills. Then add the Cursor connection by hand, below.

The plugin brings Wrap's tools and six skills:

  • edit-video: the full edit, with a plan first.
  • rough-cut: Wrap's rough cut, then the judgment calls.
  • tighten-for-youtube: retakes, pauses, speed-ups, zooms on code and chapters.
  • remix: Shorts and X clips.
  • clean-audio: fillers, pauses and loudness, nothing else.
  • chapters-and-captions: chapters from what happened on screen, and captions.

The plugin works even when Wrap is closed. After installing for Claude Code, start a new Claude Code or Xcode chat and type /wrap to see the skills. After you update Wrap, click the same button again to update the plugin.

Added Wrap to Claude Code by hand before? Remove that connection, so the tools aren't listed twice:

claude mcp remove wrap

Connect by hand

Or connect by hand, on the same screen, has these settings with Copy buttons. The top of the screen shows whether Wrap's server is listening.

Claude Code

The app serves MCP at http://127.0.0.1:7771/mcp while it's open. Add to Claude Code runs this for you:

claude mcp add --scope user --transport http wrap http://127.0.0.1:7771/mcp

To edit with the app closed, point Claude Code at the helper inside Wrap instead:

claude mcp add wrap -- "/Applications/Wrap.app/Contents/MacOS/wrap-tool" mcp

Codex

Add this to ~/.codex/config.toml:

[mcp_servers.wrap]
command = "/Applications/Wrap.app/Contents/MacOS/wrap-tool"
args = ["mcp"]

Cursor

Add this to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "wrap": { "url": "http://127.0.0.1:7771/mcp" }
  }
}

Ask for an edit

Talk to your agent the way you would talk to an editor:

Tighten my latest Wrap project for YouTube. Show me a plan first.

You stay in charge

By default, your agent never changes a video on its own.

  1. A plan first. For bigger jobs, your agent sends a plan. Wrap shows the steps and how much time they save. Click Go ahead, or Not this with a note.
  2. A proposal. Its edits arrive as a proposal, named in the bar over the preview. Cuts it proposes show in blue in the transcript.
  3. Your review. Preview the proposal, play each change, and accept or reject it like any other. See Review a proposal.
  4. Undo by name. Every change shows in History with who made it, and you can undo it.

If your agent spots a mistake in a proposal you haven't reviewed yet, it sends a corrected one that replaces it. The old one leaves Review on its own, so you never accept both by accident.

What applies right away

A few things don't wait for review:

  • Renaming a project or a take, and making a new project.
  • Bringing a file into a media bin. It changes nothing in the video by itself.
  • Exporting. It writes files, but never changes your edit.
  • Remixes you ask for from New Remixes… with Claude Code. They're added when it's done, and one Undo takes them all back.

Trusted agents

Agents that connected, in Wrap ▸ Settings ▸ Agents, lists every agent that has talked to Wrap, and when it was last seen. Wrap's own Rough cut shows there too, and always waits for your review.

Turn on Apply edits without review for an agent you trust, and its edits apply straight away. They still show in History, so each one stays undoable. It's off by default. Leave it off unless you're sure.

The × next to an agent forgets it. It shows up again, untrusted, if it connects again.

An agent can't pass itself off as you or as Wrap. One that names itself that way gets the plain name "agent", and its edits wait for review.

Let an agent record

An agent can start and stop a take, to record its own work as proof, like a test that fails and then passes. It can only do this after you turn on Let agents start recordings in Wrap ▸ Settings ▸ Agents, and only while the app is open. The recording panel always shows when a take is running.

What agents can never do

  • Remove a blur. An agent can add one. Only you can remove one.
  • See what's under a blur. Blurred and secret content is masked before an agent sees it, and so is your personal info. See Privacy.
  • Delete a project, a take, a still, a media file or a brand kit. No tool exists for it. An agent can propose removing an edit or a remix, which you review.
  • Change a brand kit without you. A new kit or a change waits on the Brands screen until you accept it.
  • Record, unless you turn it on.

Things to say to your agent

  • "Do a first pass on take 3. Keep the part where the test fails."
  • "Speed up every build over ten seconds. Don't cut them."
  • "Add a link card the first time I say Spring AI."
  • "Find anything that looks like an API key on screen and blur it."
  • "Make my Work kit from spring.io and show me stills."
  • "Make three Shorts from the demo."

The full list of tools is in Agent tools.