MCP Media Processing Server

MCP Media Processing Server

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.

maoxiaoke

Image & Video Processing
Visit Server

Tools

execute-ffmpeg

Execute any FFmpeg command with custom options

convert-video

Convert video to different format

compress-video

Compress video file

trim-video

Trim video to specified duration

compress-image

Compress PNG image using ImageMagick

convert-image

Convert image to different format

resize-image

Resize image to specified dimensions

rotate-image

Rotate image by specified degrees

add-watermark

Add watermark to image

apply-effect

Apply visual effect to image

README

MCP Media Processing Server

smithery badge

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

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 file
      • options (string[]): Array of FFmpeg command options
      • outputPath (string, optional): Absolute path for output file
      • outputFilename (string, optional): Output filename
  • convert-video

    • Convert video to different format
    • Inputs:
      • inputPath (string): Absolute path to input video file
      • outputFormat (string): Desired output format (e.g., mp4, mkv, avi)
      • outputPath (string, optional): Custom output path
      • outputFilename (string, optional): Custom output filename
  • compress-video

    • Compress video file
    • Inputs:
      • inputPath (string): Absolute path to input video file
      • quality (number, optional): Compression quality (1-51, lower is better quality)
      • outputPath (string, optional): Custom output path
      • outputFilename (string, optional): Custom output filename
  • trim-video

    • Trim video to specified duration
    • Inputs:
      • inputPath (string): Absolute path to input video file
      • startTime (string): Start time in format HH:MM:SS
      • duration (string): Duration in format HH:MM:SS
      • outputPath (string, optional): Custom output path
      • outputFilename (string, optional): Custom output filename

Image Operations

  • compress-image

    • Compress PNG image using ImageMagick
    • Inputs:
      • inputPath (string): Absolute path to input PNG image
      • quality (number, optional): Compression quality (1-100)
      • outputPath (string, optional): Custom output path
      • outputFilename (string, optional): Custom output filename
  • convert-image

    • Convert image to different format
    • Inputs:
      • inputPath (string): Absolute path to input image file
      • outputFormat (string): Desired output format (e.g., jpg, png, webp, gif)
      • outputPath (string, optional): Custom output path
      • outputFilename (string, optional): Custom output filename
  • resize-image

    • Resize image to specified dimensions
    • Inputs:
      • inputPath (string): Absolute path to input image file
      • width (number, optional): Target width in pixels
      • height (number, optional): Target height in pixels
      • maintainAspectRatio (boolean, optional): Whether to maintain aspect ratio
      • outputPath (string, optional): Custom output path
      • outputFilename (string, optional): Custom output filename
  • rotate-image

    • Rotate image by specified degrees
    • Inputs:
      • inputPath (string): Absolute path to input image file
      • degrees (number): Rotation angle in degrees
      • outputPath (string, optional): Custom output path
      • outputFilename (string, optional): Custom output filename
  • add-watermark

    • Add watermark to image
    • Inputs:
      • inputPath (string): Absolute path to input image file
      • watermarkPath (string): Absolute path to watermark image file
      • position (string, optional): Position of watermark (default: "southeast")
      • opacity (number, optional): Watermark opacity (0-100)
      • outputPath (string, optional): Custom output path
      • outputFilename (string, optional): Custom output filename
  • apply-effect

    • Apply visual effect to image
    • Inputs:
      • inputPath (string): Absolute path to input image file
      • effect (string): Effect to apply (blur, sharpen, edge, emboss, grayscale, sepia, negate)
      • intensity (number, optional): Effect intensity (0-100)
      • outputPath (string, optional): Custom output path
      • outputFilename (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.

Recommended Servers

Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
@kazuph/mcp-fetch

@kazuph/mcp-fetch

Model Context Protocol server for fetching web content and processing images. This allows Claude Desktop (or any MCP client) to fetch web content and handle images appropriately.

Featured
Local
JavaScript
mermaid-mcp-server

mermaid-mcp-server

A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.

Featured
JavaScript
mcp-pinterest

mcp-pinterest

A Pinterest Model Context Protocol (MCP) server for image search and information retrieval

Featured
TypeScript
DeepSRT MCP Server

DeepSRT MCP Server

An MCP server that enables users to generate summaries of YouTube videos in multiple languages and formats through integration with DeepSRT's API.

Official
JavaScript
ScreenshotOne MCP Server

ScreenshotOne MCP Server

An official MCP server implementation that allows AI assistants to capture website screenshots through the ScreenshotOne API, enabling visual context from web pages during conversations.

Official
TypeScript
Glif

Glif

Run AI workflows hosted on Glif.app via MCP, including ComfyUI-based image generators, meme generators, selfies, chained LLM calls, and more

Official
TypeScript
WebPerfect MCP Server

WebPerfect MCP Server

An intelligent MCP server with a fully automated batch pipeline for web-ready images. Features include noise reduction, auto levels/curves, JPEG artifact removal, 4K resizing, smart sharpening with shadow/highlight enhancement, and advanced WebP conversion.

Local
JavaScript
Stealth Browser MCP Server

Stealth Browser MCP Server

Provides stealth browser capabilities using Playwright with anti-detection techniques, allowing MCP clients to navigate websites and take screenshots while evading common bot detection systems.

Local
TypeScript
MCP-LOGO-GEN

MCP-LOGO-GEN

MCP Tool Server for Logo Generation. This server provides logo generation capabilities using FAL AI, with tools for image generation, background removal, and image scaling.

Local
Python