Skip to main content

DCC-MCP Kdenlive

Agent tools for Kdenlive project files, installed effects and transitions, media, subtitles, and MLT rendering. Uses the DCC-MCP Core gateway, skill discovery, async jobs and shared DCC-CUA editor control.

An experimental native C++ bridge adds live timeline readback and undoable edits for a separately built, pinned Kdenlive host. The source overlay and protocol tests are included; stock installations do not expose this endpoint, and a full host binary has not yet been validated.

See a product video take shape

AI-generated Kdenlive interface illustration with headphone clips, an editing timeline, narration and music tracks, and a portrait product preview

ImageGen interface reconstruction · workflow illustration. A headphone video connects source clips, timeline edits, narration and the finished preview in one recognisable workspace. DCC-MCP provides project-file editing, media and subtitle tools, and MLT rendering; Skills package reusable methods for those tools. The image is a generated illustration, not a live recording or export evidence. Image sources, attribution and the original Kdenlive screenshot.

Install and run

Follow the authoritative installation and lifecycle runbook for acquisition, integrity checks, setup, verification, upgrades and removal.

Install the wheel from GitHub Releases (or pip install . from a checkout):

python -m pip install ./dcc_mcp_kdenlive-0.1.0-py3-none-any.whl
dcc-mcp-kdenlive doctor
dcc-mcp-kdenlive serve

The default service is standalone and chooses an available loopback port. It can edit files independently of the editor. For the existing editor's UI, supply both its exact PID and native window handle:

dcc-mcp-kdenlive serve --pid 1234 --hwnd 5678 --host-version 26.08.1
dcc-mcp-cli list
dcc-mcp-cli load-skill kdenlive-project --instance-id INSTANCE_ID

GUI binding uses the exact PID and window handle without assuming a window title; Kdenlive's title changes with the active project and profile.

Discover the instance through the gateway and use search/describe/call with its returned tool slugs. The CLI prints its direct MCP URL as an alternative. Configure an MCP client with that HTTP URL or the machine's DCC-MCP gateway URL.

Configuration:

Environment variable Meaning
DCC_MCP_KDENLIVE_EXECUTABLE Installed Kdenlive executable; also locates sibling MLT/FFmpeg programs
DCC_MCP_KDENLIVE_MELT Explicit MLT melt executable
DCC_MCP_KDENLIVE_FFPROBE Explicit FFprobe executable
DCC_MCP_KDENLIVE_FFMPEG Explicit FFmpeg executable
DCC_MCP_KDENLIVE_DATA Installed Kdenlive data directory
DCC_MCP_KDENLIVE_PORT Optional fixed instance port

No editor, plugins or model weights are downloaded implicitly. doctor reports missing programs; install Kdenlive from its official distribution when needed.

Agent capabilities

Eight progressively loaded skill packages ship in the wheel:

Skill Tools
kdenlive-project Create, inspect, validate and set guides
kdenlive-media Import file/color/title producers and relink media
kdenlive-timeline Append with gaps, split, remove and ripple
kdenlive-effects Add/remove effects, keyframe parameters, compositions
kdenlive-catalog Query installed MLT services and native asset definitions
kdenlive-export Async MP4, WebM, ProRes MOV and WAV rendering
kdenlive-interchange FFprobe inspection and SRT subtitle authoring
kdenlive-setup Host and executable readiness

The catalog is dynamic: it exposes the effects/producers/transitions installed with the host, including their native parameter metadata. It does not assume all optional MLT plugins are available. Native MLT parameter values, including keyframe expressions, remain strings; discover each service before configuring it.

Editor-only capabilities (multi-sequence editing, grouped/mixed clips, slip/slide, multicam, title designer, speech recognition, tracking/rotoscoping, proxies, recording, layouts and settings) use the existing ui-control skill. These are UI routes, not claimed native APIs. They depend on available controls and host features. See coverage and live acceptance.

Every document edit creates a new file. Existing outputs are never replaced. Use the inspection result's sha256 as expected_sha256 to fence edits against stale input. Source files remain unchanged; opening the new artifact and checking the editor is a separate operation. Grouped and nested timeline mutations reject with an editor-route instruction. File operations do not participate in editor Undo.

Render and recover

Load kdenlive-export, describe render_project, then supply a new output path, preset, and explicit inclusive start / end frames. The core returns an async job ID. Poll jobs_get_status until terminal; jobs_cancel cooperatively stops and reaps the render child. The final file is published only after FFprobe finds streams. The four encoding presets are portable defaults; other native export configurations remain available through the editor.

Development and releases

python -m pip install -e '.[test]' ruff build twine
python -m ruff check src tests tools
python -m ruff format --check src tests tools
python -m pytest -q
python -m build
python -m twine check dist/*
python tools/build_artifacts.py

CI validates Linux and Windows, Python 3.7 native compatibility and current Python, wheel installation, MCP HTTP calls, and real Linux MLT rendering. Release Please manages versions and changelogs. Release artifacts include wheel, sdist, an agent skill ZIP, an install manifest and SHA-256 checksums with provenance attestation. See release operations for publishing and catalog onboarding.

Kdenlive is a KDE project. This adapter is independently maintained and is not endorsed by KDE. It does not bundle Kdenlive or MLT binaries.

Release files for dcc-mcp-kdenlive 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dcc-mcp-kdenlive 0.1.1
File Size Uploaded
dcc_mcp_kdenlive-0.1.1.tar.gz 3.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dcc-mcp-kdenlive 0.1.1
File Interpreter ABI Platform
dcc_mcp_kdenlive-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.2 MB

Release files / dcc_mcp_kdenlive-0.1.1.tar.gz

Download URL dcc_mcp_kdenlive-0.1.1.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
429d503a01867a0355bbd2b6bd27ce81c9e138340ee205a5ce6b75cbe02f9395
BLAKE2b-256 checksum
How to use checksums
63251d70e911674b126efd03d4038b7c4b41377b41cf0c11513e5cf3d01eacf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release files / dcc_mcp_kdenlive-0.1.1-py3-none-any.whl

Download URL dcc_mcp_kdenlive-0.1.1-py3-none-any.whl
Size 47.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eda75be422e10f4e2c424a396122f6566d718f094138826700928ecad678a628
BLAKE2b-256 checksum
How to use checksums
1fb374dd5ec3cebca9e9f1795c0d8c719190a0dac342c77844478c5ec38516c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page