Skip to main content
Glama

MCP 服务器:Kdenlive

一个 Python MCP 服务器,让 AI 代理能够通过自然语言指令在 Kdenlive 中执行专业视频编辑。

这并不是对少量 Kdenlive 命令的简单封装。它是一个分层系统:

AI Agent (Claude)
  -> MCP tools (project/media/timeline/motion/effects/audio/...)
  -> Video analysis layer (ffprobe, librosa)
  -> Internal timeline model (Project / Sequence / Track / Clip / Keyframe)
  -> Kdenlive adapter (translates the model to/from real .kdenlive XML)
  -> .kdenlive project file
  -> Kdenlive / FFmpeg / MLT (melt) rendering

AI 从不直接编辑 .kdenlive XML。它调用类型化的 MCP 工具来修改一个干净、可测试的内部时间线模型;一个专用适配器在保存时将模型转换为真实的 Kdenlive 项目。

状态

正在积极开发中,按阶段构建(见下文 PHASES)。核心时间线模型、Kdenlive XML 适配器、效果/转场目录以及音频/节拍同步引擎均已实现,并已针对真实的 Kdenlive 26.04.3 + MLT 安装进行测试。面向 MCP 工具的、向 AI 代理暴露所有功能的层正在下一步构建中。

Related MCP server: opencut-mcp

为什么基于真实文件格式

适配器(src/kdenlive_mcp/kdenlive/adapter/)所使用的 Kdenlive 项目 XML 结构,是从真实的 .kdenlive 项目中逆向工程而来,并与本地安装的 Kdenlive 26.04.3 + MLT 7.38(melt)交叉验证,而非凭空猜测。效果和转场目录直接解析自 Kdenlive 自带的官方效果/转场 XML 定义,因此 AI 永远不会引用到已安装 Kdenlive 中实际不存在的效果。

项目布局

src/kdenlive_mcp/
  core/           # internal model: timeline, keyframes, effects, transitions, audio, assets
  kdenlive/       # the adapter: XML read/write, effect & transition catalogs, capability detection
  media/          # ffmpeg/ffprobe subprocess wrappers, thumbnail generation
  storage/        # workspace path safety, caching, snapshots
  validation/     # project validation
  mcp_tools/      # MCP-facing tool definitions (in progress)
tests/

开发

python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest

需要 ffmpeg/ffprobe 位于 PATH 中。kdenlive/melt 为可选,但启用后可以解锁效果/转场目录,并针对真实安装进行结构验证。

F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server that enables LLM agents to control the OpenCut classic video editor's timeline through a Playwright-controlled browser, allowing automated video editing tasks like adding media, inserting clips, splitting, trimming, and exporting.
    2
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that exposes FFmpeg as a structured tool set for AI agents, enabling timeline-based video editing, preview, rendering, and analysis with an optional LLM autopilot.

View all related MCP servers

Related MCP Connectors

  • MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.

  • A real timeline video editor for AI agents: journaled edits, FFmpeg/MLT rendering, exports

  • MCP server for Google Veo AI video generation

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/12bijaya/MCP_Server_Kdenlive'

If you have feedback or need assistance with the MCP directory API, please join our Discord server