shotcut-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@shotcut-mcp Create a project called promo from clip1.mp4 and clip2.mp4, crossfade them, and render it."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
shotcut-mcp
MCP server that edits video through Shotcut's engine, MLT, with no GUI. An agent can create a project, add and trim clips, split, move and remove them, apply filters, add titles and crossfades, read the timeline back and render it with melt.
The output is a native Shotcut .mlt project, not a locked video file. Open the agent's cut in Shotcut and keep editing it by hand.
Requirements
Python 3.11+
MLT
meltonPATH, or setMELT_BINto its full path. Installing Shotcut includesmelt.Linux:
sudo apt install meltmacOS: install Shotcut, then set
MELT_BIN=/Applications/Shotcut.app/Contents/MacOS/meltWindows: install Shotcut, then set
MELT_BINtomelt.exeinside the Shotcut folder. Windows rendering is not yet covered by CI.
ffprobe(from FFmpeg) onPATHfor reading clip durations and checking renders. Override withFFPROBE_BIN.
Related MCP server: mcpCut
Install
Run it with no install step using uv:
uvx shotcut-mcpOr install it with pip:
pip install shotcut-mcp
shotcut-mcpThe server talks MCP over stdio.
Use it with goose
goose Desktop or CLI
Run
goose configure, choose Add Extension, then Command-line Extension.Name:
shotcutCommand:
uvx shotcut-mcpTimeout:
600seconds or more. Renders take longer than goose's default.Add the environment variables
SHOTCUT_MCP_WORKDIRand, ifmeltis not on yourPATH,MELT_BIN.
config.yaml
Add this to ~/.config/goose/config.yaml:
extensions:
shotcut:
enabled: true
type: stdio
name: shotcut
cmd: uvx
args:
- shotcut-mcp
envs:
SHOTCUT_MCP_WORKDIR: /path/to/your/projects
timeout: 600Then ask goose something like: "Make a project called promo from clip1.mp4 and clip2.mp4, keep the first 5 seconds of each, crossfade them, add the title 'Launch day' and render it."
Use it with other MCP clients
Any MCP client that runs stdio servers works. For example, Claude Desktop's claude_desktop_config.json:
{
"mcpServers": {
"shotcut": {
"command": "uvx",
"args": ["shotcut-mcp"],
"env": { "SHOTCUT_MCP_WORKDIR": "/path/to/your/projects" }
}
}
}Configuration
Variable | Default | What it does |
|
| Where |
|
| Path to the |
|
| Path to |
Tools
Tool | What it does |
| Create a new project with a frame size and frame rate |
| Append a span of a source video to the end of the timeline. Returns the clip's id |
| Change a clip's source in and out points |
| Ripple-delete one clip |
| Move a clip to a new position on the timeline |
| Split a clip into two at a point inside it |
| Ripple-delete a span of the timeline |
| Burn a text title onto the timeline between two times |
| Apply |
| Crossfade video and audio between two adjacent clips |
| Return the whole edit: clips, source in and out, timeline positions, filters, transitions and titles |
| Return summary metadata for a project |
| Render a project to a video file with |
| List the projects in the work directory |
Clip ids stay stable across calls. The edit state is kept in a .state.json file next to each .mlt, and the .mlt is regenerated from it after every change.
Current limits
One video track. Multitrack video and audio is planned.
Edits made by hand in the Shotcut GUI are overwritten by the next tool call. Safe round trips are planned.
The
styleoption onset_transitionis accepted but only a dissolve is rendered today.
Development
pip install -e ".[dev]"
pytestThe render tests are skipped when melt is not installed.
License
MIT
Available Tools
14 toolsadd_clipA
Append a span of a source video to the end of the timeline. in_s/out_s are seconds in the SOURCE file. Returns the clip's producer_id.
Inputs: clip_path (required), project_name (required), in_s, out_s.
append_text_overlayC
Burn a text title onto the timeline between start_s and end_s (timeline seconds).
Inputs: text (required), end_s (required), start_s (required), project_name (required), +5 more.
apply_filterB
Apply a filter to a clip. Allowed: ['brightness', 'crop', 'fadeInAudio', 'fadeInBrightness', 'fadeOutAudio', 'fadeOutBrightness', 'volume']. Fades take params {"duration_s": n}; brightness takes {"level": 0-2}; volume takes {"level": dB}; crop takes {"left","right","top","bottom"} in pixels.
Inputs: filter_name (required), producer_id (required), project_name (required), params.
create_projectB
Create a new empty MLT/Shotcut project. Choose width/height to match the delivery (e.g. 1080x1920 for vertical).
Inputs: name (required), fps, width, height.
get_timelineC
Return the whole edit: every clip with producer_id, source in/out, timeline start/end, filters, transitions and titles.
Inputs: project_name (required).
list_projectsB
List all .mlt project files in the work directory.
Inputs: no named parameters.
move_clipC
Move a clip to a new 1-based position on the timeline.
Inputs: producer_id (required), to_position (required), project_name (required).
project_infoC
Return summary metadata about an existing project.
Inputs: project_name (required).
remove_clipC
Ripple-delete one clip from the timeline.
Inputs: producer_id (required), project_name (required).
remove_segmentC
Ripple-delete the timeline span between start_s and end_s.
Inputs: end_s (required), start_s (required), project_name (required).
renderB
Render a project to a video file with melt. 'mp4-project' keeps the project's own frame size.
Inputs: output_path (required), project_name (required), preset.
set_transitionB
Crossfade (video dissolve + audio mix) between two ADJACENT clips. Shortens the timeline by duration_s.
Inputs: duration_s (required), project_name (required), to_producer_id (required), from_producer_id (required), +1 more.
split_clipC
Split a clip at_s seconds after its own in point.
Inputs: at_s (required), producer_id (required), project_name (required).
trim_clipC
Change the source in/out points of a clip already on the timeline.
Inputs: producer_id (required), project_name (required), in_s, out_s.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools target clearly different actions on the timeline (add, trim, move, split, filter, transition, render). A few pairs could still be confused: remove_clip vs remove_segment, and project_info vs get_timeline both return overlapping project/timeline data.
Almost all tools follow a verb_noun pattern (create_project, add_clip, trim_clip, apply_filter, get_timeline). The exceptions are project_info (noun phrase) and render (bare verb), which are minor deviations but readable.
14 tools is well within the ideal 3-15 range for a focused video-editing server. Each tool represents a meaningful editing operation, and there are no redundant or trivial tools.
Core clip editing, filters, transitions, timeline inspection, and rendering are covered. However, there is no explicit open_project/load_project tool to continue editing an existing .mlt file, no delete_project, and no way to update project-level settings, creating a notable lifecycle gap.
Maintenance
Related MCP Connectors
AI video editor your agent can drive: plan scenes, edit a multi-track timeline, and render MP4s.
Orccut: a real timeline video editor for AI agents - journaled edits, FFmpeg/MLT rendering
AI video editor for agents and humans: timeline, captions, color, audio and generation as MCP tools.
Open-source AI video editor: cut, caption, clip and animate real Revline projects from your agent.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to create, edit, validate, preview, and render Shotcut projects (saved as MLT XML) without operating the GUI, using structured timeline editing tools and local safety mechanisms.29MIT
- AlicenseNot gradedqualityCmaintenanceA real video editor for AI agents, served over MCP, enabling journaled timeline editing, rendering via FFmpeg/MLT, and deterministic CLI operation.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents and MCP clients to programmatically edit video projects on a local desktop editor, with 119 tools for multitrack editing, effects, captions, audio, and batch auto-editing, producing reviewable and reversible real timeline edits.AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables agents to create, inspect and edit Kdenlive project files, import and relink media, query installed MLT effects/transitions, author subtitles, and run asynchronous MLT renders, plus drive the live Kdenlive editor UI. Edits always write new files, and rendering is job-based with verification of the output.3MIT