Adityaaery20/media-mcp

πŸ’» Developer Tools
0 Views
0 Installs

🐍 🏠 🍎 πŸͺŸ 🐧 - Local image and video processing MCP server with 13 tools for resize, convert, compress, crop, thumbnail, metadata extraction, rotate, flip, filters, and ffmpeg-based video operations. No API keys required.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "adityaaery20-media-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "adityaaery20-media-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

🎨 media-mcp-server

MCP server for image & video processing. No API keys. No config. Just tools.

Give your AI assistant the power to resize, convert, compress, crop, filter, and analyze images and videos β€” all through Model Context Protocol.

Works with Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, and any MCP-compatible client.


⚑ Quick Start

Claude Code

claude mcp add media-mcp -- uvx media-mcp-server

Claude Desktop / Cursor / VS Code

Add to your MCP config:

{
  "mcpServers": {
    "media-mcp": {
      "command": "uvx",
      "args": ["media-mcp-server"]
    }
  }
}

That's it. No API keys, no accounts, no environment variables.


πŸ› οΈ Tools

Image Tools

ToolDescription
get_image_infoGet dimensions, format, color mode, file size, EXIF data
resize_imageResize by dimensions or scale factor with aspect ratio control
convert_imageConvert between PNG, JPEG, WebP, GIF, BMP, TIFF, ICO, AVIF
compress_imageOptimize file size with quality and max dimension controls
crop_imageCrop to specific pixel coordinates
create_thumbnailGenerate thumbnails with size control
strip_metadataRemove all EXIF/metadata for privacy
rotate_imageRotate by any angle with optional expansion
flip_imageMirror horizontally or vertically
apply_filterApply blur, sharpen, grayscale, emboss, contour, and more

Video Tools (requires ffmpeg)

ToolDescription
get_video_infoGet duration, resolution, codec, bitrate, FPS, audio info
extract_framesPull frames at regular intervals
convert_videoConvert between MP4, WebM, MOV, AVI, GIF, MKV

πŸ’¬ Example Usage

Once connected, just ask your AI:

"Resize screenshot.png to 800px wide"

"Convert all the PNGs in this folder to WebP"

"Strip the EXIF data from photo.jpg for privacy"

"Compress this image to under 500KB"

"Extract a frame every 5 seconds from demo.mp4"

"What are the dimensions of banner.png?"

"Make a grayscale version of logo.png"

"Create a 128x128 thumbnail of product-photo.jpg"


πŸ“¦ Installation

Using uvx (recommended β€” zero install)

uvx media-mcp-server

Using pip

pip install media-mcp-server

With video support

pip install media-mcp-server[video]

Note: Video tools require ffmpeg to be installed on your system. Install it from ffmpeg.org or via your package manager:

# macOS
brew install ffmpeg

# Ubuntu/Debian
sudo apt install ffmpeg

# Windows (with Chocolatey)
choco install ffmpeg

πŸ”§ Configuration

Config file locations

Claude Desktop
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "media-mcp": {
      "command": "uvx",
      "args": ["media-mcp-server"]
    }
  }
}
Claude Code ```bash claude mcp add media-mcp -- uvx media-mcp-server ```
Cursor

Settings β†’ MCP Servers β†’ Add:

{
  "media-mcp": {
    "command": "uvx",
    "args": ["media-mcp-server"]
  }
}
VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "media-mcp": {
      "command": "uvx",
      "args": ["media-mcp-server"]
    }
  }
}

πŸ§ͺ Development

git clone https://github.com/Adityaaery20/media-mcp.git
cd media-mcp
pip install -e ".[dev]"
pytest

Test with MCP Inspector

npx @modelcontextprotocol/inspector uvx media-mcp-server

πŸ“‹ Supported Formats

Images: PNG, JPEG, WebP, GIF, BMP, TIFF, ICO, AVIF

Videos: MP4, WebM, MOV, AVI, GIF, MKV (requires ffmpeg)


πŸ—ΊοΈ Roadmap

  • Batch operations (process entire directories)
  • Image watermarking
  • PDF to image conversion
  • OCR (text extraction from images)
  • Audio extraction from video
  • Image collage/montage creation
  • Smart crop (content-aware)
  • SVG rasterization

πŸ“„ License

MIT β€” do whatever you want with it.


🀝 Contributing

Contributions welcome! Please open an issue first to discuss what you'd like to add.


Built with FastMCP and Pillow

Related MCP Servers

Moxie-Docs-MCPβ˜… Featured

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

πŸ’» Developer Tools2 views
3KniGHtcZ/codebeamer-mcp

πŸ“‡ ☁️ 🍎 πŸͺŸ 🐧 - Codebeamer ALM integration for managing work items, trackers, and projects. Provides 17 tools for reading and writing items, associations, references, comments, and risk management data via Codebeamer REST API v3.

πŸ’» Developer Tools1 views
21st-dev/Magic-MCP

Create crafted UI components inspired by the best 21st.dev design engineers.

πŸ’» Developer Tools0 views
a-25/ios-mcp-code-quality-server

πŸ“‡ 🏠 🍎 - iOS code quality analysis and test automation server. Provides comprehensive Xcode test execution, SwiftLint integration, and detailed failure analysis. Operates in both CLI and MCP server modes for direct developer usage and AI assistant integration.

πŸ’» Developer Tools0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

Last checked: 7/28/2026, 5:30:32 AM

Unclaimed listing (imported or pending owner verification). Claim it β†’
β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.