
Shotcut MCP
io.github.NoBanks由 GitHub 账号 NoBanks 发布v0.2.1更新于 Oct 29, 2026
Edit video through Shotcut's MLT engine: timelines, cuts, filters, titles, crossfades and renders.
概览
本地 MCP 服务器,让助手通过 Shotcut 的 MLT 引擎剪辑并渲染视频,输出可继续编辑的 .mlt 工程。
- 可以做什么
- 创建和列出工程,读取工程摘要与完整时间线
- 在单条视频轨上添加、裁剪、分割、移动片段,以及波纹删除片段
- 应用亮度、音量、裁剪、淡入淡出等滤镜
- 添加文字标题,并在相邻片段之间设置交叉淡化
- 用 melt 将工程渲染为视频文件
- 适用场景
- 适合让助手在不打开图形界面的情况下,用已有视频素材拼出粗剪,并交回原生 Shotcut 工程以便手动继续编辑。也适合裁剪、加标题、交叉淡化和渲染等可重复的脚本化剪辑。
- 运行要求
- 以本地 Python 包形式通过 stdio 运行,需要 Python 3.11 及以上,可用 uvx 或 pip 启动。需要 MLT 的 melt 在 PATH 中或通过 MELT_BIN 指定,以及 FFmpeg 的 ffprobe 在 PATH 中或通过 FFPROBE_BIN 指定。SHOTCUT_MCP_WORKDIR 决定工程存放位置。渲染较慢,客户端可能需要调大超时。
安装
在 SourceWeft 中
- 打开 控制台中的 Shotcut MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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 melt - macOS: install Shotcut, then set
MELT_BIN=/Applications/Shotcut.app/Contents/MacOS/melt - Windows: install Shotcut, then set
MELT_BINtomelt.exeinside the Shotcut folder. Windows rendering is not yet covered by CI.
- Linux:
ffprobe(from FFmpeg) onPATHfor reading clip durations and checking renders. Override withFFPROBE_BIN.
Install
Run it with no install step using uv:
Or install it with pip:
The server talks MCP over stdio.
Use it with goose
goose Desktop or CLI
- Run
goose configure, choose Add Extension, then Command-line Extension. - Name:
shotcut - Command:
uvx shotcut-mcp - Timeout:
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:
Then 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:
Configuration
Tools
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
The render tests are skipped when melt is not installed.
License
MIT
来源:README.md,提交 4f012fa
工具
0版本历史
1- v0.2.1最新Oct 29, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分