Kdenlive

io.github.mhbxyz由 GitHub 帳號 mhbxyz 發布v0.1.0更新於 Nov 8, 2026

Inspect, edit and render Kdenlive video projects locally on Linux.

已驗證STDIO僅桌面檔案與儲存媒體與設計

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助手在 Linux 上檢視、編輯並算圖 Kdenlive 影片專案。

可以做什麼
  • 檢視專案時間軸並對素材做媒體診斷
  • 在修改前建立安全的專案副本
  • 編輯 Kdenlive 專案中的片段與時間軸內容
  • 使用 Kdenlive 預設集算圖,支援背景算圖
  • 檢查環境中 Kdenlive、MLT 與 FFmpeg 是否可用
適用情境
適合在 Linux 上用 Kdenlive 剪輯影片、並希望助手讀取專案時間軸、修改片段或時間軸、或在不開啟圖形介面的情況下啟動算圖的情境。不適用於其他作業系統或非 Kdenlive 的剪輯工具。
執行需求
Linux 與 Python 3.11 或更新版本;安裝 PyPI 套件 mcp-kdenlive(kdenlive-mcp 這個名稱屬於無關的專案)。Kdenlive、MLT 的 melt 與 FFmpeg 的 ffprobe 需另行安裝並在 PATH 中,或透過 KDENLIVE_MCP_KDENLIVE、KDENLIVE_MCP_MELT、KDENLIVE_MCP_FFPROBE 指定路徑。Flatpak 與 Snap 版本需指向包裝腳本。
安裝前請注意
它會編輯並算圖專案檔案,可能覆寫或改動你的作品;建議設定 KDENLIVE_MCP_ALLOWED_ROOTS 限制可讀寫的目錄。算圖會佔用 CPU 與磁碟,可用 KDENLIVE_MCP_MAX_RENDERS 控制同時算圖數量。MCP 用戶端可能以精簡環境啟動它,必要時明確傳入 PATH 或 KDENLIVE_MCP_ 變數。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Kdenlive,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

kdenlive-mcp

Local-first, client-agnostic MCP server for Kdenlive on Linux.

Inspect, edit and render Kdenlive projects from an AI assistant, locally on Linux: timelines, media diagnostics, safe project copies, clip edits and rendering with Kdenlive presets.

sh
pipx install mcp-kdenlive      # NOT "kdenlive-mcp": that PyPI name is an unrelated projectkdenlive-mcp diagnose

Start here: docs/user-guide.md (install, client setup, safety, upgrade, troubleshooting). The available tools are listed in docs/tools.md, and the planned work in the roadmap.

Requirements

  • Linux
  • Python 3.11 or newer
  • Kdenlive, MLT (melt) and FFmpeg (ffprobe), installed separately from your distribution. The Python package does not install them.

Install

sh
pipx install mcp-kdenlive

The PyPI distribution is mcp-kdenlive. The PyPI name kdenlive-mcp belongs to an unrelated project, so pipx install kdenlive-mcp installs something else. See docs/packaging.md for virtual environments, upgrades and artifact checks.

From source

sh
git clone https://github.com/mhbxyz/kdenlive-mcp.gitcd kdenlive-mcpuv sync            # or: python -m venv .venv && .venv/bin/pip install -e .uv run kdenlive-mcp --version

Check your environment

sh
uv run kdenlive-mcp diagnose          # human-readable, exit status 1 if something required is missinguv run kdenlive-mcp diagnose --json   # machine-readable

The same report is available to MCP clients through the diagnose_environment tool.

Programs are looked up on PATH. Override their location with these environment variables:

VariableProgram
KDENLIVE_MCP_KDENLIVEkdenlive (for example an AppImage path)
KDENLIVE_MCP_MELTmelt
KDENLIVE_MCP_FFPROBEffprobe
KDENLIVE_MCP_FFMPEGffmpeg (optional)
KDENLIVE_MCP_PROBE_TIMEOUTSeconds allowed for each version probe (default 10)
KDENLIVE_MCP_ALLOWED_ROOTS:-separated absolute directories; every read and write must stay inside them (recommended, see docs/security.md)
KDENLIVE_MCP_MAX_RENDERSConcurrent background renders (default 1, max 4)

Flatpak and Snap builds of Kdenlive do not expose kdenlive, melt or ffprobe on PATH. Point the variables above to executables or wrapper scripts.

Start the server

sh
uv run --directory /path/to/kdenlive-mcp kdenlive-mcp     # same as: kdenlive-mcp serve

Tested clients (Claude Code, Codex CLI, OpenCode, Grok Build CLI) and copyable configurations are listed in docs/clients.md. A typical configuration:

json
{  "mcpServers": {    "kdenlive": {      "command": "uv",      "args": ["run", "--directory", "/path/to/kdenlive-mcp", "kdenlive-mcp"],      "env": { "KDENLIVE_MCP_KDENLIVE": "/usr/bin/kdenlive" }    }  }}

MCP clients often start servers with a reduced environment. If tools are reported missing from a client but not from your shell, pass PATH or the KDENLIVE_MCP_* variables explicitly.

To try the server with the official MCP Inspector:

sh
npx @modelcontextprotocol/inspector --cli uv run --directory "$PWD" kdenlive-mcp --method tools/list

Development

sh
uv syncuv run pytest            # unit + protocol tests; integration tests skip when tools are missing

Architecture: domain modules (environment.py, process.py) do not depend on MCP. server.py is the only MCP transport layer.

Documentation:

來源:README.md,提交 200265b

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Nov 8, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分