ffmpeg-llm
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ffmpeg-llmImport an MP4 file and add it to the timeline"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mnehmos.ffmpeg-llm.mcp
FFmpeg-based video editing engine exposed as an MCP (Model Context Protocol) server with OpenRouter LLM autopilot.
You don't need a video editor — you need a video editing engine with MCP tool exposure.
What is this?
An MCP server that gives AI agents structured control over FFmpeg. Instead of writing raw FFmpeg commands, agents call tools like clip_add, clip_trim, preview_segment, and render_full. The server maintains a JSON timeline as the source of truth and generates optimized FFmpeg filter graphs at render time.
47 tools across 8 categories: Project Management, Asset Management, Timeline Editing, Chapters, Preview & Render, Analysis, Chess Content Pipeline, and LLM Autopilot.
Related MCP server: ffmpeg-mcp
Features
Structured timeline editing — Tracks, clips, filters, chapters as JSON
FFmpeg filter graph generation — Timeline → optimized
-filter_complexcommandsPreview engine — Quick low-res previews before committing to full renders
Audio/scene analysis — Silence detection, scene changes, audio levels via FFmpeg
Chess content pipeline — Game boundary detection, overlays, YouTube export
LLM autopilot — OpenRouter vision models analyze video, suggest edits, identify highlights
Background rendering — Long exports run async with progress tracking
Undo/redo — Full operation history
Prerequisites
Node.js >= 18
FFmpeg >= 4.0 (in PATH)
ffprobe >= 4.0 (in PATH)
Installation
git clone https://github.com/Mnehmos/mnehmos.ffmpeg-llm.mcp.git
cd mnehmos.ffmpeg-llm.mcp
npm install
npm run buildUsage
As MCP Server
Add to your MCP client configuration:
{
"mcpServers": {
"ffmpeg-llm": {
"command": "node",
"args": ["path/to/mnehmos.ffmpeg-llm.mcp/dist/index.js"],
"env": {
"OPENROUTER_API_KEY": "your-key-here"
}
}
}
}Quick Start
1. project_create({ name: "My Video", workDir: "/path/to/project" })
2. asset_import({ projectId: "...", filePath: "/path/to/recording.mp4" })
3. clip_add({ projectId: "...", assetId: "...", trackId: "...", timelineStart: 0 })
4. clip_trim({ clipId: "...", sourceStart: 30, sourceEnd: 120 })
5. preview_segment({ projectId: "...", start: 0, end: 10 })
6. render_full({ projectId: "...", outputPath: "/path/to/output.mp4" })Development
npm run dev # Run with tsx
npm run test # Run tests
npm run test:watch # Watch mode
npm run test:coverage # With coverage
npm run preflight # typecheck + lint + testArchitecture
See DESIGN.md for full architecture documentation.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/CSS, and orchestrating complex FFmpeg renders.4
- Alicense-qualityCmaintenanceAn MCP server that exposes FFmpeg as structured tools for AI-agent-driven video editing, enabling operations like trimming, subtitling, and transcoding via natural language.2482MIT
- Alicense-qualityBmaintenanceAn MCP server for programmatic video editing using ffmpeg, enabling draft creation and refinement via natural language.5ISC
- Alicense-qualityDmaintenanceAn MCP server that enables LLMs to analyze video content by extracting frames as base64 images and retrieving video metadata using ffmpeg.12MIT
Related MCP Connectors
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
A real timeline video editor for AI agents: journaled edits, FFmpeg/MLT rendering, exports
MCP server for Hailuo (MiniMax) AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mnehmos/mnehmos.ffmpeg-llm.mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server