Developers
AI agent video editing with MCP: the complete control loop
How an agent can explore footage, commission a cut, inspect the plan, request revisions and render - without removing human approval from consequential decisions.

MCP server
Connect Claude, ChatGPT or another compatible MCP client to your Anjin workspace. Ask it to find moments in your footage. You review the source timecodes and approve the render.
Connect the MCP serverRead the docs
Nothing is generated. Every segment is lifted from your own footage and named in a plan the agent can read before any render.
55 tools · OAuth or Bearer key · streamable HTTP
ONE TASK, COMPLETEDanjin-media · MCP
YOU The clearest answer we gave on data residency, 45 seconds, vertical. Show me the plan first. list_source_groups → "Town hall · 12 Aug" · ready create_cut → c7d2… · "planning" get_cut_plan → v1 · 3 segments · 46.2 s revise_cut_plan "Lead with the answer itself." → v2 · 3 segments · 44.8 s ──────── plan approved · the next call spends ──────── render_cut → 9:16 · queued
render.completed44.8 s · qc_passed · srt · edl · qc
The plan arrives as a document with source timecodes. render_cut is the step that produces the file. Source minutes are counted at ingest; each rendered aspect uses export minutes.
Why MCP
Agents already research, write and file. Video has stayed a handoff: the workflow produces a request for an editor, then stops. These tools carry the task through to the finished file.
Your agent holds the context: the campaign, the audience, the argument it is making. create_cut takes that context as a prompt of up to 2,000 characters and plans an edit from the footage to match it.
Planning returns a document: ordered segments, each naming its source and timecodes, with an estimated duration against the target. An agent can check the result against the brief and correct it before anything renders.
Composition tools share their service contracts with the REST API. The wider catalogue also includes Explore, thumbnails and review tools using the app's product services.
The toolset
Find recordings and read their transcripts. Ask Anjin to propose an edit, check its source timecodes and revise the plan. When you approve the export quote, your agent can render the video and retrieve its files.
Schemas, worked sessions and connection detail are in the MCP tool reference
The loop
Planning is asynchronous: create_cut returns at once and the plan follows as a document the agent reads like any other structured result. Rendering is a separate, explicit call.
create_cutget_cut_planrevise_cut_planrender_cut
If the plan misses the brief, the agent has two correction paths. update_cut_plan applies structural edits synchronously at no cost: remove a segment, reorder, pin the ones that must survive. revise_cut_plan sends the whole plan back with an instruction, and a new version comes out of planning.
Every version is kept, and the loop can run as many passes as the brief needs before the render is requested. Source footage counts once per camera. AI is included; exports use export minutes. Launch plans start at £99 + VAT (£118.80 incl. 20% UK VAT) a month. See pricing →
The honesty is in the schema
render_cut · “THIS SPENDS MONEY”
That warning is in the tool description itself, in capitals, where an agent reads it before every call. Use quote_render_cut to check export minutes, then keep the render call behind your review. Other write tools can also start planning or media preparation; choose which actions your agent may run.
Prompts
Name the recording, describe the moment you want and tell your assistant how long the cut should run.
Example brief
“Use my webinar in Anjin. Turn the first audience question and its answer into a 45-second vertical clip. Show me the source timecodes before you render.”
Review the proposed cut and ask for changes. When the plan is right, check the export quote and approve the render to get your video and captions.
You, to your agent
“Search all four customer interviews for the moments where someone describes their first week, and compose a 90-second landscape reel in their own words.”
create_cut · target_duration_s: 90 · aspects: ["16:9"] · 4 groups
You, to your agent
“Make a 30-second square teaser from the keynote. Keep the running order chronological and apply our brand kit.”
create_cut · target_duration_s: 30 · aspects: ["1:1"] · chronology: "strict" · brand_kit_id: "b1a4…"
Connection
Open Connect your AI in Anjin’s account menu, choose your AI app and follow its setup steps.
Approve the connection when prompted, then ask: “List my footage in Anjin.” Choose a recording and describe the edit you need. Ask to review the plan before rendering.
The setup page guides compatible clients through OAuth. If your client needs a key, choose “Use an API key instead”. The manual example below is for API-key clients.
https://anjin-media-api.fly.dev/mcpAuthorization: Bearer mk_live_… on every call for API-key clients. The same keys as REST are minted in the dashboard and shown once. Compatible connected clients can also use OAuth..mcp.json
{ "mcpServers": { "anjin-media": { "type": "http", "url": "https://anjin-media-api.fly.dev/mcp", "headers": { "Authorization": "Bearer mk_live_…" } } } }
Manage keys through the account menu → Developers → API & MCP. Keys carry the scopes you choose. The connection guide walks through the first session.
Guardrails
An agent with tools is an agent with your allowance and your footage. The server is arranged so the risky step is explicit and everything before it is inspectable.
Developers
How an agent can explore footage, commission a cut, inspect the plan, request revisions and render - without removing human approval from consequential decisions.
Developers
A layer-by-layer architecture and decision framework for teams deciding what to own, what to integrate and where the hidden operational cost lives.
Connect the MCP serverRead the docs
55 tools · the same engine as the app and the API