Labsco
MCP SERVER

Ffmpeg MCP

by yubraaj11

FFmpeg's clipping, cropping, scaling, overlaying and GIF-making, driven by describing the edit instead of writing the flags.

Video Generation & Editing
Summary
The edit you can describe but not spell in flags.

FFmpeg's power was never the problem; remembering its syntax is. Breaking it into named steps lets the assistant chain trim, scale, overlay and export without you touching a command line.

What it is

An MCP server that puts FFmpeg behind a set of small, single-purpose tools. Each one is a validated Python function, so the model composes an edit out of steps rather than assembling one long command line.

What you get
  • A file probed for streams, codecs and duration
  • Sub-clips cut by start time and duration
  • Crops to a region, and scaling to the usual HD, 2k and 4k targets with aspect preserved
  • Frames saved as images, evenly, by interval or one per second
  • Audio pulled out to a .wav file
  • An image overlaid on video, clips concatenated with or without a transition, and a segment turned into an optimised GIF
Requirements

Python 3.12 or newer, and FFmpeg available on the machine since every tool is a wrapper around it. Paths are checked for existence, emptiness and validity before FFmpeg runs.