FFmpeg-MCP
Using ffmpeg command line to achieve an mcp server, can be very convenient, through the dialogue to achieve the local video search, tailoring, stitching, playback and other functions
Support Tools
The server implements the following tools:
find_video_path
The parameters are directory and file name, file name can be complete, or is not suffixed, recursive search in the directory, return the full pathget_video_info
The parameters are video path, return the video info, linkes duration/fps/codec/width/height.clip_video
The parameter is the file path, start time, end time or duration, and returns the trimmed file pathconcat_videos
The parameters are the list of files, the output path, and if the video elements in the list of files, such as width, height, frame rate, etc., are consistent, quick mode synthesis is automatically usedplay_video
Play video/audio with ffplay, support many format, like mov/mp4/avi/mkv/3gp, video_path: video path speed: play rate loop: play countoverlay_video
Two video overlay.
background_video: backgroud video path
overlay_video: front video path
output_path: output video path
position: relative location
dx: x offset
dy: y offsetscale_video
Video scale.
video_path: in video path
width: out video width, -2 keep aspect
height: out video height, -2 keep aspect
output_path: output video path
More features are coming
Installation procedure
- Download project
git clone https://github.com/video-creator/ffmpeg-mcp.git
cd ffmpeg-mcp
uv sync
- Configuration in Cline
{
"mcpServers": {
"ffmpeg-mcp": {
"autoApprove": [],
"disabled": false,
"timeout": 60,
"command": "uv",
"args": [
"--directory",
"/Users/xxx/Downloads/ffmpeg-mcp",
"run",
"ffmpeg-mcp"
],
"transportType": "stdio"
}
}
}
Note: the value:/Users/XXX/Downloads/ffmpeg
in args need to replace the actual download ffmpeg-mcp directory
Supported platforms
Currently, only macos platforms are supported, including ARM64 or x86_64
FFmpeg-MCP Server
Project Details
- video-creator/ffmpeg-mcp
- Last Updated: 4/22/2025
Categories
Recomended MCP Servers
A Model Context Protocol server for retrieving and analyzing issues from Sentry.io
MCP server for aiding with literature reviews
MCP server for Linear (https://linear.app), forked from ibraheem4/linear-mcp (https://github.com/ibraheem4/linear-mcp)
A Model Context Protocol (MCP) server implementation for DuckDB, providing database interaction capabilities
Chain of Draft (CoD) MCP Server: An MCP server implementation of the Chain of Draft reasoning approach for...
MCP Server for MySQL databases
A Model Context Protocol server for 3D Slicer integration
Google Sheets MCP Server
Model Context Protocol server for managing Amazon DynamoDB resources
MCP server that provides tools and resources for interacting with n8n API