MCP Media Processing Server
A server for media processing, offering powerful video and image manipulation using FFmpeg and ImageMagick.
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
- macOS:
-
ImageMagick: Required for image processing operations
- macOS:
brew install imagemagick - Ubuntu/Debian:
sudo apt-get install imagemagick - Windows: Download from ImageMagick official website
- macOS:
How to use
Add this to your claude_desktop_config.json:
NPX
{
"mcpServers": {
"mediaProcessor": {
"command": "npx",
"args": [
"-y",
"mcp-media-processor@latest"
]
}
}
}
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.
Related Servers
MCP-Weather
Provides weather information using the Japan Meteorological Agency API. No authentication required.
WSB Analyst
Provides real-time WallStreetBets data for analysis using the Reddit API.
MCP HUB
The Ultimate Control Plane for MCP Unlock the full power of Model Context Protocol with zero friction. One-Click GPT Integration: Bridge the gap between MCP servers and ChatGPT/LLMs instantly. No more manual config hunting. Pro-Level Orchestration: Manage, monitor, and toggle multiple MCP tools from a single, intuitive dashboard. Secure by Design: Built-in support for complex auth flows and 2FA, making enterprise-grade tool integration seamless. Streamlined Debugging: Test queries and inspect tool responses in real-time without leaving the hub. Stop wrestling with JSON configs. Start building agentic workflows that actually work.
Topolograph MCP
A MCP server that enables LLMs to interact with OSPF and IS-IS protocols and analyze network topologies, query network events, and perform path calculations for OSPF and IS-IS protocols.
Smart Home Device Control
Control smart home devices and query information by connecting large models to smart home backend APIs.
Upstox MCP Server
A Model Context Protocol (MCP) server that integrates with the Upstox Trading API, enabling AI agents like Claude to securely access Indian stock market data, perform technical analysis, and view account information in read-only mode.
Vibe Math MCP
A high-performance Model Context Protocol (MCP) server for math-ing whilst vibing with LLMs. Built with Polars, Pandas, NumPy, SciPy, and SymPy for optimal calculation speed and comprehensive mathematical capabilities from basic arithmetic to advanced calculus and linear algebra.
OpenHue MCP Server
Control Philips Hue lights using LLM interfaces via the OpenHue CLI.
Spotify
Connects your Spotify account to AI tools, allowing access to your music library, playlists, and playback controls.
Overleaf MCP server
allow Tools like copilot, claude desktop, claude code etc. perform CRUD operations on overleaf projects via git int