
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 分