FFmpeg MCP Server
MCP server by Ashutos1997 Community
FFmpeg MCP Server gives AI assistants 19 typed tools for FFmpeg and FFprobe. It processes video and audio locally, aimed at creators making social clips and developers automating media jobs.
Install FFmpeg MCP Server
Built from the published package, never by AI.
claude mcp add ffmpeg-mcp-server -- npx -y @ash_j1997/ffmpeg-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"ffmpeg-mcp-server": {
"args": [
"-y",
"@ash_j1997/ffmpeg-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"ffmpeg-mcp-server": {
"args": [
"-y",
"@ash_j1997/ffmpeg-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"ffmpeg-mcp-server": {
"args": [
"-y",
"@ash_j1997/ffmpeg-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add ffmpeg-mcp-server -- npx -y @ash_j1997/ffmpeg-mcp-server{
"mcpServers": {
"ffmpeg-mcp-server": {
"args": [
"-y",
"@ash_j1997/ffmpeg-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add ffmpeg-mcp-server npx -y @ash_j1997/ffmpeg-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ffmpeg-mcp-server block.
About
FFmpeg MCP Server is a Model Context Protocol server that gives AI tools access to FFmpeg and FFprobe. It runs media processing locally and offers 19 typed tools built with Zod schemas, so the assistant passes parameters instead of writing raw FFmpeg flags. The server reports live progress through MCP progress tokens and stops child processes when a request is cancelled.
Tools cover probing metadata, converting formats, trimming, extracting audio and thumbnails, compressing video, reformatting to 9:16 or square ratios, subtitles, loudness normalization and scene detection. The README says GPU encoders such as VideoToolbox, NVENC, QuickSync and AMF are used where available. It suits creators preparing social clips and developers who want AI agents to run media jobs on their own machine.
Written from the project's README and checked against it.
Tools it gives your assistant
media_probeInspects media files with ffprobe and returns metadata, streams, codecs, resolution and duration as JSON.media_convertConverts video and audio formats, with presets for web MP4, WebM and animated GIF.trim_mediaCuts a segment from a video or audio file using stream copy or re-encoding.extract_audioRips audio tracks from video, including a 16kHz mono WAV preset for Whisper.extract_thumbnailCaptures a still image at a timestamp or midpoint and can return base64 image data.compress_videoCompresses video to fit target sizes such as GitHub PRs under 10MB or Discord under 25MB.reformat_aspect_ratioChanges video to 9:16 vertical, 1:1 square or 4:5 portrait with blurred borders or center crop.burn_subtitlesHardcodes subtitles onto video frames with customizable font size, colors and margins.normalize_audioNormalizes loudness using EBU R128 with an optional speech clarity high-pass filter.detect_scenesDetects cut points and scene transitions with adjustable sensitivity and returns timestamps.
What you need
- Node.js 18.0.0 or later
- FFmpeg and FFprobe installed locally
- macOS, Linux or Windows
Try asking
- Compress this video under 10MB for a GitHub pull request.
- Reformat my landscape clip to 9:16 with blurred backgrounds.
- Extract a 16kHz mono WAV from this video for Whisper.
Good to know
- Requires FFmpeg and FFprobe installed on the local machine.
- Hardware acceleration covers only the encoders the source lists: VideoToolbox, NVENC, QuickSync, AMF and VA-API.
Security check
C- Asks for administrator rights (sudo)In
README.md:`sudo
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to FFmpeg MCP Server
All alternatives →HyperFrames is HeyGen's open-source AI video editor for people and agents. It turns HTML, CSS, JavaScript and seekable animations into MP4 videos, and can be used from a desktop app, coding agents or chat.
Remocn is a hosted MCP server that helps AI assistants make Remotion videos from 935 MIT-licensed components. It searches components, reads their docs, plans a storyboard and previews results. It is for developers building videos with Remotion.
Agent-Native Assets is the Assets agent from the Agent-Native framework, which creates and organizes on-brand media. It is for developers building agents that pair autonomous work with a purpose-built UI.
Runs an open source engine for a news site that finds hot AI events and writes daily, weekly and monthly briefs. Built for people who want an industry hot-news site in their own field, with MCP access for AI agents.
Turns long videos into captioned 9:16 shorts and can publish them to TikTok, Instagram, YouTube and other networks. It suits creators, marketing agencies and developers who want a self-hosted or hosted option.
Remove AI Watermarks removes AI provenance marks from images, video, audio, and text that you generated yourself. It is aimed at developers and researchers working on AI provenance signals.
Compare with HyperFrames by HeyGen, Remocn: Remotion MCP server or Agent-Native Assets
FFmpeg MCP Server: common questions
What does the FFmpeg MCP Server do?
It gives AI assistants 19 typed tools that run FFmpeg and FFprobe locally to probe, convert, trim, compress and edit media.
Does it support GPU acceleration?
Yes. The README says it detects and uses hardware encoders on macOS, Linux and Windows, including NVIDIA NVENC, Intel QuickSync, AMD AMF and VA-API.
Can the assistant see the output of media tasks?
Some tools inline base64 image data for thumbnails, waveforms and contact sheets so vision models can view the media content.
How do I install FFmpeg MCP Server?
In Claude Code run claude mcp add ffmpeg-mcp-server -- npx -y @ash_j1997/ffmpeg-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is FFmpeg MCP Server the official server?
FFmpeg MCP Server is a community project by Ashutos1997, not verified by a company domain.
Is FFmpeg MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is FFmpeg MCP Server safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to FFmpeg MCP Server?
Similar MCP servers: HyperFrames by HeyGen, Remocn: Remotion MCP server, Agent-Native Assets, AIHOT.
Does FFmpeg MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
