Skip to main content

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.

pipx install mcp-kdenlive      # NOT "kdenlive-mcp": that PyPI name is an unrelated project
kdenlive-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

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

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

Check your environment

uv run kdenlive-mcp diagnose          # human-readable, exit status 1 if something required is missing
uv 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:

Variable Program
KDENLIVE_MCP_KDENLIVE kdenlive (for example an AppImage path)
KDENLIVE_MCP_MELT melt
KDENLIVE_MCP_FFPROBE ffprobe
KDENLIVE_MCP_FFMPEG ffmpeg (optional)
KDENLIVE_MCP_PROBE_TIMEOUT Seconds 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_RENDERS Concurrent 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

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:

{
  "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:

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

Development

uv sync
uv 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:

Metadata

Release files for mcp-kdenlive 0.1.0

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

Source distribution (sdist)

Source distribution for mcp-kdenlive 0.1.0
File Size Uploaded Provenance Actions
mcp_kdenlive-0.1.0.tar.gz 431.3 kB With provenance Details for mcp_kdenlive-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-kdenlive 0.1.0
File Interpreter ABI Platform Actions
mcp_kdenlive-0.1.0-py3-none-any.whl Python 3 none any Details for mcp_kdenlive-0.1.0-py3-none-any.whl

Total release size: 508.4 kB

Release files / mcp_kdenlive-0.1.0.tar.gz

Download URL mcp_kdenlive-0.1.0.tar.gz
Size 431.3 kB
Tags Source
SHA-256 checksum
How to use checksums
49c7cd48585e06da1feeff3075114bbf0d938e0549531869150764f59e348132
BLAKE2b-256 checksum
How to use checksums
a979611da457b73cabfc86c9ef485ff0ee8d40ba3cbe9e1e6db2bf4933246268
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Release files / mcp_kdenlive-0.1.0-py3-none-any.whl

Download URL mcp_kdenlive-0.1.0-py3-none-any.whl
Size 77.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a8ae883a917d57c8304f52aa2fa64e850c131a20d580c71126dbd78b0a77950
BLAKE2b-256 checksum
How to use checksums
bac23005deacde14a53125e4d72edc516b8aaf4a52fff6cbd429ed411402e530
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Security for mcp-kdenlive 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_kdenlive-0.1.0.tar.gz

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 Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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