melt-7 MCP Server

melt-7 MCP Server

Enables agentic video editing and composition via MCP, allowing creation and manipulation of multi-track timelines with clips, transitions, filters, and text overlays, then rendering to MP4 using the melt-7 CLI.

Category
Visit Server

README

melt-7 MCP Server

An MCP server exposing melt-7 (the MLT Multimedia Framework's CLI rendering engine -- the same backend Kdenlive uses) for agentic video editing/composition: build a multi-track timeline with clips, transitions, filters, and text overlays, then render it to MP4.

Requirements

  • melt-7 and ffprobe/ffmpeg on PATH (Fedora: dnf install mlt)
  • Python 3.10+
pip install -r requirements.txt

Running

python mcp_server.py

Serves MCP over streamable HTTP on http://0.0.0.0:8001/mcp (port 8001, to avoid colliding with the wan2_2_t2v server on 8000 if both run on the same host).

Project model

Each call to create_project creates a project directory under projects/<id>/ holding project.mlt (the authoritative MLT XML, hand-rolled to a flat schema rather than Kdenlive's nested per-track-tractor convention), meta.json (display name/profile bookkeeping), and a renders/ directory for rendered output. Every tool re-reads project.mlt fresh and atomically rewrites it, so state survives server restarts -- there is no in-memory project cache.

Tools

Tool Purpose
create_project(name, profile) Start a new project at a given MLT profile (resolution/fps)
list_projects() List all projects with track/clip counts
get_project_xml(project_id) Raw MLT XML + human-readable summary
delete_project(project_id) Delete a project and its renders
probe_clip(file_path) ffprobe a media file (duration, resolution, fps, codecs)
add_track(project_id, kind, position) Add a track to the timeline
remove_track(project_id, track_id) Remove a track
add_clip(project_id, track_id, source, clip_in, clip_out, position) Place a clip (file path or color:/noise: generator)
trim_clip(project_id, track_id, clip_index, clip_in, clip_out) Change a clip's in/out points
move_clip(project_id, track_id, clip_index, new_position, new_track_id) Move a clip (leaves a blank gap behind)
remove_clip(project_id, track_id, clip_index) Remove a clip (leaves a blank gap)
add_transition(project_id, track_a, track_b, service, properties) Composite/wipe/mix between two tracks
add_filter(project_id, target, service, properties, clip_index) Attach a filter to a track, clip, or the whole project
remove_filter(project_id, filter_id) Remove a filter
add_text_overlay(project_id, track_id, text, ...) Convenience wrapper for a qtext title clip
query_services(kind, service_id) Discover available producers/filters/transitions/consumers/profiles
set_raw_xml_property / remove_raw_xml_property / inject_raw_xml Escape hatch for anything the above don't cover
render_project(project_id, output_name, vcodec, acodec, extra_args, timeout_seconds) Render the timeline to MP4 (synchronous)

Notes on reliability

melt-7's process exit code is not a reliable success signal -- it can exit 0 while logging a "failed to load producer" error and silently substituting a blank clip. render_project verifies success independently: the output file must exist, be ffprobe-readable, have a duration close to the project's expected duration, and stdout/stderr must contain no known failure markers.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured