Agent MCP for ffmpeg
This monorepo contains an MCP server for agentic video editing. It also powers a front-end human user editor. It’s built and maintained by HYE Partners.
You’ll need Node.js, npm (or pnpm/yarn), and Python 3.12+ (with pip
).
These instructions assume a Unix-like OS (Mac/Linux), but should be adaptable for Windows.
Docker instructions below.
The project includes three main servers:
Suggested Models (must have function calling/tools):
If you want everything to "just work" via Docker:
Build and run both back-end servers with Docker Compose (from repo root):
docker-compose up --build
The following ports will be available:
Frontend (Vite): http://localhost:8080/ Node API server: http://localhost:8300/ Python FFmpeg backend: http://localhost:8200/
You can still use npm run dev/python main.py for local dev if you prefer. Note: The Docker setup mounts local source code, so edits will live-reload in most setups.
June 3rd 2025
Open use. Attribution requested, not required.
For issues, improvements, or collaboration, visit www.hyepartners.com.
These files are present in the repo under ffmpeg-backend/ and ffmpeg-frontend/.
If you don’t see them, make sure you’ve done a fresh git pull or git clone from the latest branch.
If issues persist, check your local .gitignore or .git/info/exclude for accidental blocks.
If pip install -r requirements.txt fails with missing modules (like Flask), open requirements.txt and manually add any missing packages.
Run pip install -r requirements.txt again.
If you get SyntaxError: Unexpected identifier 'assert', you need "type": "module" in your package.json, and Node.js >= 17.5+.
For maximum compatibility, use require() instead of import for JSON in server files, or convert the file to CommonJS if needed.
Python Backend (main.py) — must be running before the Node.js server.
Node.js Frontend/Backend (npm run dev) — launches both client and API server.
Python Agent (ollamarun.py) — optional, for natural language commands.
Docker Compose — launches all together.
No configuration available
Related projects feature coming soon
Will recommend related projects based on sub-categories