ffmpeg-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Binding address (default: 127.0.0.1) | 127.0.0.1 |
| port | No | Port number (default: 3100) | 3100 |
| transport | No | Transport mode: stdio, sse, or http (default: stdio) | stdio |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| probeA | Get detailed media file information (format, streams, duration, codecs, resolution, bitrate, etc.) |
| convertB | Convert media between formats (e.g., MP4→MKV, AVI→MP4, WAV→MP3, MOV→MP4). Supports custom codecs. |
| compressB | Compress video to reduce file size using CRF-based H.264/H.265 encoding. Control quality vs size trade-off. |
| extract_audioC | Extract audio track from video file. Supports MP3, AAC, WAV, FLAC, OGG output formats. |
| thumbnailB | Generate thumbnail image(s) from video at a specific time or evenly spaced throughout. |
| trimA | Cut/trim a segment from media file by specifying start time and end time or duration. Uses stream copy (fast, no re-encoding). |
| mergeA | Concatenate multiple media files into one. Supports same-codec fast concat or cross-codec re-encoding. |
| watermarkB | Add image or text watermark to video. Supports position control (corners/center) and opacity. |
| gifB | Convert video segment to high-quality GIF with two-pass palette optimization. Control size, FPS, and duration. |
| resizeC | Change video resolution/scale. Specify width and height (-1 for auto aspect ratio). |
| speedC | Change playback speed of video and audio (0.25x slow-mo to 4x fast forward). |
| rotateB | Rotate video (90°/180°/270°) or flip (horizontal/vertical mirror). |
| add_audioA | Add or replace audio track in video. Mix with original audio or replace entirely. |
| subtitleA | Add subtitles to video - burn into video (hardcode) or add as selectable soft track. Supports SRT, ASS, VTT. |
| volumeC | Adjust audio volume level or normalize audio loudness (EBU R128 standard). |
| cropB | Crop video to a specific region. Specify width, height, and position offset. |
| framesC | Extract frames from video as image sequence (JPG/PNG/BMP). Control extraction rate with FPS parameter. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 17 tools
Each tool maps to a distinct FFmpeg operation: resize vs crop, thumbnail vs frames, extract_audio vs add_audio, and trim vs merge are clearly separated. convert and compress have some conceptual overlap, but their descriptions clarify format conversion versus size/quality compression.
Most names are short action words, but the set mixes bare verbs (resize, trim, merge), noun-like names used as actions (thumbnail, watermark, subtitle, volume, frames), and snake_case compounds (extract_audio, add_audio). The convention is readable but not predictable.
17 tools is slightly above the typical well-scoped range, but each corresponds to a meaningful media-editing operation. For an FFmpeg wrapper, this breadth is reasonable rather than excessive.
The surface covers core video/audio workflows: inspect, convert, compress, trim, merge, resize, crop, rotate, watermark, subtitle, audio extraction/addition, volume, thumbnails, frames, and GIF export. Some advanced operations like fades, stabilization, or metadata editing are absent, but the common lifecycle is well covered.