Docs · 05
Agent tools
A reference for the 74 tools, the prompts and the resources that Wrap's MCP server gives your agent, plus the wrap-tool command line helper.
Two ways to connect
Wrap's MCP server runs two ways:
- Over HTTP at
http://127.0.0.1:7771/mcp, while the app is open. - Over stdio, through the helper inside the app:
/Applications/Wrap.app/Contents/MacOS/wrap-tool mcp. Agents start it themselves, so it works with Wrap closed.
The recording tools need the app open. Everything else works both ways. How to set up each agent is in Working with an agent.
The tools, in eleven layers
The server tells agents to work through the layers in order: read the context, propose a plan, then structure, audio, camera, visuals and captions, then review and export. Each tool's description starts with its layer.
| Layer | Tools | What they cover |
|---|---|---|
| 0 Record | start_recording, stop_recording, recording_status, get_recording_health |
Start and stop a take, and read how a take is going. Recording only works when you allow it. |
| 1 Context | list_projects, create_project, update_project, rename_take, get_project, get_transcript, get_events, get_flags, list_photos, list_media, import_media, get_edit |
Projects, takes, the transcript with word times, the event log, flags, stills, media and the edit so far. |
| 2 Structure | run_first_pass, cut_range, cut_words, remove_pauses, remove_retakes, set_speed, speed_up_waiting, reorder_takes, exclude_take, add_chapter |
Rough cut, cuts, pauses, retakes, speed-ups, the order of takes and chapters. |
| 3 Audio | remove_fillers, normalize_loudness, add_music |
Filler words, loudness and a music bed. |
| 4 Camera | set_camera_segment, hide_camera, list_layouts, apply_layout, set_look, get_camera_color, set_camera_color, enable_dodge |
Where the camera sits and how big, layouts, the look, camera color and Dodge my code. |
| 5 Visuals | add_zoom, remove_zoom, add_lower_third, add_link_card, add_title_card, add_text, add_overlay, remove_item, list_links, list_brands, get_brand, list_installed_fonts, create_brand, update_brand, set_project_brand, preview_brand |
Zooms, lower thirds, link cards, title cards, text, overlays, the Links library and brand kits. |
| 6 Captions | suggest_term_fixes, fix_terms, set_caption_style, generate_captions |
Term fixes, the caption style and a caption preview. |
| Remix | list_remixes, create_remix, update_remix, remove_remix, export_remixes |
Shorts and X clips from the same project, and their export. |
| 7 Review | propose_plan, get_plan_status, propose_edits, withdraw_proposal, get_proposal_status, render_frame, render_preview |
Plans, proposals, and a rendered frame or clip to check the work. |
| 8 Export | export, export_captions, export_xml |
Every format, SRT and VTT captions with YouTube chapters, and FCPXML. |
| Privacy | get_redactions, add_redaction |
Read the blurs and add one. No tool removes a blur. |
Read tools and write tools
Read tools answer at once. Write tools make a proposal you review in Wrap, unless you marked that agent as trusted. Every write tool also takes:
dry_run: returns the new length and the changes, without proposing anything.title: a short name for the change, shown to you in Review and History.plan_id: the approved plan the change belongs to.
A few tools change files without a proposal: create_project, rename_take, import_media, and renaming a project with update_project. A new format or camera shape from update_project is a proposal, like any other edit. New brand kits and changes to a kit wait on the Brands screen.
Plans and proposals
propose_planrestates the request as numbered steps, with the new length. You answer with Go ahead or Not this.get_plan_statustells the agent your answer and your note.propose_editssends many edits as one proposal.get_proposal_statustells the agent what you accepted.- To fix a proposal you haven't reviewed, the agent sends a new one that replaces the old, or calls
withdraw_proposal.
render_frame and render_preview let the agent check its own work before it reports back.
Time
An agent can give a time four ways:
- Take seconds, with
startandend. - Word ids, with
from_wordandto_word. - Event ids, with
from_eventandto_event. - Finished-video seconds, with
output_startandoutput_end.
Prompts
The server serves five prompts, so an agent can run a whole job from one name. Each takes an optional project name.
| Prompt | What it does |
|---|---|
first-pass |
Wrap's on-device rough cut, then the judgment calls: unflagged retakes, tangents, chapters, layouts and zooms. |
tighten-for-youtube |
Cut retakes and pauses, speed up waiting, zoom on code, add chapters. |
remix |
Find 3 to 5 moments that stand alone and propose them as Shorts, X clips or both. |
clean-audio |
Fillers, pauses and loudness. Nothing else. |
chapters-and-captions |
Chapters from what happened, fixed terms and captions. |
The Wrap plugin turns the same prompts into skills, plus edit-video for the full edit.
Resources
Four resources for each project:
| Resource | What it holds |
|---|---|
wrap://project/{project}/manifest |
The project's takes, as JSON. |
wrap://project/{project}/transcript |
The transcript with the events, as Markdown. |
wrap://project/{project}/events |
The event log, as JSON. |
wrap://project/{project}/edit |
The current edit, as JSON. |
Secrets and your personal info are masked in all four, as in the tools.
The wrap-tool command line
The helper inside the app is also a command line tool for scripts:
/Applications/Wrap.app/Contents/MacOS/wrap-tool help
Some of its commands:
| Command | What it does |
|---|---|
list |
Lists your projects. |
edit-video |
Makes a project from a video you already have. |
process |
Transcribes a project, scans it for secrets and finds the typing. |
first-pass |
Proposes the rough cut and lists it. |
export |
Exports a project with a preset: youtube, youtube4K, shorts, linkedin or preview. Add --format hevc or --format prores for another file type. |
export-remixes |
Exports every Short and X clip. |
frame |
Saves one frame of the finished video as an image. |
fcpxml |
Writes the FCPXML hand-off. |
accept |
Accepts waiting proposals, as you. |
undo |
Undoes the latest change. |
mask |
Shows what the secret masker hides in some text. |
recover |
Brings back takes that were cut short, as Wrap does when it opens. |
mcp, mcp-http |
Runs the MCP server over stdio or HTTP. |
Projects live in ~/Movies/Wrap.