The MCP Media Processing Server is a Node.js server for video and image processing with powerful manipulation capabilities.
Video Processing:
Convert videos to different formats (mp4, mkv, avi)
Compress video files
Trim videos to specified start time and duration
Execute custom FFmpeg commands
Image Processing:
Convert images to different formats (jpg, png, webp, gif)
Compress images, including PNG optimization
Resize images with optional aspect ratio preservation
Rotate images by specified degrees
Add watermarks with customizable position and opacity
Apply visual effects (blur, sharpen, edge, emboss, grayscale, sepia, negate) with adjustable intensity
Customization:
Specify output paths and filenames
Customize quality, dimensions, and effects
Supported Tools: Utilizes FFmpeg for video operations and ImageMagick for image manipulation.
MCP Media Processing Server
A Node.js server implementing Model Context Protocol (MCP) for media processing operations, providing powerful video and image manipulation capabilities.
Features
Video processing and conversion
Image processing and manipulation
Media compression
Video trimming and editing
Image effects and watermarking
Prerequisites
Before using this server, make sure you have the following dependencies installed on your system:
FFmpeg: Required for video processing operations
macOS:
brew install ffmpeg
Ubuntu/Debian:
sudo apt-get install ffmpeg
Windows: Download from FFmpeg official website
ImageMagick: Required for image processing operations
macOS:
brew install imagemagick
Ubuntu/Debian:
sudo apt-get install imagemagick
Windows: Download from ImageMagick official website
How to use
Add this to your claude_desktop_config.json
:
NPX
API
Tools
Video Operations
execute-ffmpeg
Execute any FFmpeg command with custom options
Inputs:
inputPath
(string): Absolute path to input video fileoptions
(string[]): Array of FFmpeg command optionsoutputPath
(string, optional): Absolute path for output fileoutputFilename
(string, optional): Output filename
convert-video
Convert video to different format
Inputs:
inputPath
(string): Absolute path to input video fileoutputFormat
(string): Desired output format (e.g., mp4, mkv, avi)outputPath
(string, optional): Custom output pathoutputFilename
(string, optional): Custom output filename
compress-video
Compress video file
Inputs:
inputPath
(string): Absolute path to input video filequality
(number, optional): Compression quality (1-51, lower is better quality)outputPath
(string, optional): Custom output pathoutputFilename
(string, optional): Custom output filename
trim-video
Trim video to specified duration
Inputs:
inputPath
(string): Absolute path to input video filestartTime
(string): Start time in format HH:MM:SSduration
(string): Duration in format HH:MM:SSoutputPath
(string, optional): Custom output pathoutputFilename
(string, optional): Custom output filename
Image Operations
compress-image
Compress PNG image using ImageMagick
Inputs:
inputPath
(string): Absolute path to input PNG imagequality
(number, optional): Compression quality (1-100)outputPath
(string, optional): Custom output pathoutputFilename
(string, optional): Custom output filename
convert-image
Convert image to different format
Inputs:
inputPath
(string): Absolute path to input image fileoutputFormat
(string): Desired output format (e.g., jpg, png, webp, gif)outputPath
(string, optional): Custom output pathoutputFilename
(string, optional): Custom output filename
resize-image
Resize image to specified dimensions
Inputs:
inputPath
(string): Absolute path to input image filewidth
(number, optional): Target width in pixelsheight
(number, optional): Target height in pixelsmaintainAspectRatio
(boolean, optional): Whether to maintain aspect ratiooutputPath
(string, optional): Custom output pathoutputFilename
(string, optional): Custom output filename
rotate-image
Rotate image by specified degrees
Inputs:
inputPath
(string): Absolute path to input image filedegrees
(number): Rotation angle in degreesoutputPath
(string, optional): Custom output pathoutputFilename
(string, optional): Custom output filename
add-watermark
Add watermark to image
Inputs:
inputPath
(string): Absolute path to input image filewatermarkPath
(string): Absolute path to watermark image fileposition
(string, optional): Position of watermark (default: "southeast")opacity
(number, optional): Watermark opacity (0-100)outputPath
(string, optional): Custom output pathoutputFilename
(string, optional): Custom output filename
apply-effect
Apply visual effect to image
Inputs:
inputPath
(string): Absolute path to input image fileeffect
(string): Effect to apply (blur, sharpen, edge, emboss, grayscale, sepia, negate)intensity
(number, optional): Effect intensity (0-100)outputPath
(string, optional): Custom output pathoutputFilename
(string, optional): Custom output filename
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
A Node.js server that provides advanced video and image processing capabilities through the Model Context Protocol, enabling operations like conversion, compression, editing, and effects application.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA comprehensive Model Context Protocol server that provides advanced Node.js development tooling for automating project creation, component generation, package management, and documentation with AI-powered assistance.Last updated -75MIT License
- -securityFlicense-qualityNode.js server implementing Model Context Protocol for filesystem operations, allowing Claude to read, write, and manipulate files and directories in specified locations.
- AsecurityFlicenseAqualityA Node.js server that enables video manipulation through natural language requests, including resizing videos to different resolutions (360p to 1080p) and extracting audio in various formats (MP3, AAC, WAV, OGG).Last updated -47135
- -securityFlicense-qualityWeb-based video editing platform that provides direct editing functionality through a Model Context Protocol server, supporting media file management, timeline editing, and advanced transformation effects.Last updated -6