Feedback

FFmpeg Helper MCP Server

@sworddut Claim

Basic information

Runtime
TypeScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
sworddut
Submitted by
Community
Stars
26

About FFmpeg Helper MCP Server

FFmpeg Helper — fast, simple video tools: convert formats, extract audio/frames, trim, watermark, and get media info with single tool calls.

FFmpeg Helper is a MCP server in the Other category listed in the AddMCP.net directory, published by sworddut. It exposes 8 tools, including get_video_info, convert_video, extract_audio, create_video_from_images and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 26 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools, other.

Setup

{
    "mcpServers": {
        "mcp-ffmpeg-helper": {
            "command": "npx",
            "args": [
                "-y",
                "@sworddut/mcp-ffmpeg-helper"
            ]
        }
    }
}

FFmpeg Helper MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-ffmpeg-helper": {
            "command": "npx",
            "args": [
                "-y",
                "@sworddut/mcp-ffmpeg-helper"
            ]
        }
    }
}

FFmpeg Helper MCP Server tools

  • get_video_info — Get detailed information about a video file
  • convert_video — Convert a video file to a different format
  • extract_audio — Extract audio from a video file
  • create_video_from_images — Create a video from a sequence of images
  • trim_video — Trim a video to a specific duration
  • add_watermark — Add a watermark to a video
  • trim_audio — Trim an audio file to a specific duration
  • extract_frames — Extract frames from a video as sequential image files

Overview

What is FFmpeg Helper?

Mcp Ffmpeg Helper is a lightweight Model Context Protocol (MCP) server that exposes FFmpeg’s video processing capabilities to AI assistants. It provides tools for common FFmpeg operations such as format conversion, audio extraction, trimming, watermarking, and frame extraction. It is intended for users who want to control FFmpeg through natural language commands in MCP‑compatible applications like Windsurf.

How to use FFmpeg Helper?

Install Node.js (v14+) and FFmpeg (must be in system PATH). Clone the repository, run npm install and npm run build, then add the server configuration to the MCP config file (e.g., mcp_config.json for Windsurf). Alternatively, use the npm package @sworddut/mcp-ffmpeg-helper with npx without cloning. Once configured, users issue natural language commands such as “请帮我查看…视频信息” to invoke tools.

Key features of FFmpeg Helper

  • Get detailed video file information (format, codec, resolution, framerate).
  • Convert videos between formats with optional encoding options.
  • Extract audio tracks from video files.
  • Create videos from image sequences.
  • Trim videos and audio to specified time ranges.
  • Add image watermarks with position and opacity control.
  • Extract video frames as image sequences (PNG, JPG).

Use cases of FFmpeg Helper

  • Automate batch video format conversion via an AI chatbot.
  • Extract a segment from a long video or audio file for quick editing.
  • Create a time‑lapse video from a series of still images.
  • Add a logo watermark to a video before publishing.
  • Quickly inspect video metadata without running FFmpeg manually.

Frequently asked questions

1 What are the runtime requirements?

Node.js v14+ and FFmpeg installed and accessible from the command line (verify with ffmpeg -version).

2 How do I configure the server for Windsurf on Windows?

Add to %APPDATA%/.codeium/windsurf/mcp_config.json: either a local node script path or npx @sworddut/mcp-ffmpeg-helper with command cmd and args ["/c", "npx", "@sworddut/mcp-ffmpeg-helper"].

3 Where does data processing happen?

All file paths refer to the local filesystem. The server runs locally and uses the system‑installed FFmpeg. Video/audio files are accessed directly by their file paths.

4 Are there any known limitations?

FFmpeg must be correctly installed and added to PATH. Windows paths require backslashes. Permission issues may occur if the application cannot read/write the specified directories.

5 What transport/auth does the server use?

The server communicates via standard input/output (stdin/stdout), as is standard for MCP servers. No authentication is mentioned.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬