Feedback

Image Processor Mcp

@pansuriyadhvanil Claim

Basic information

Category
License
MIT
Transports
stdio
Author
pansuriyadhvanil
Submitted by
Community
Quality
25

About Image Processor Mcp Server

An MCP server that provides tools for downloading, compressing, optimizing images, and extracting text via OCR. Built using the Model Context Protocol (MCP), this server enables AI assistants to download images from URLs or search, compress and convert images with various format

Image Processor Mcp is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by pansuriyadhvanil. It exposes 6 tools, including download_image, compress_image, compress_directory, sync_filenames and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "image-processor-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "image-processor-mcp"
            ],
            "env": {
                "IMAGE_SEARCH_API_KEY": "<YOUR_API_KEY>"
            }
        }
    }
}

Image Processor Mcp config

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

{
    "mcpServers": {
        "image-processor-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "image-processor-mcp"
            ],
            "env": {
                "IMAGE_SEARCH_API_KEY": "<YOUR_API_KEY>"
            }
        }
    }
}

Image Processor Mcp tools

  • download_image — Download an image from a URL or search by keyword. Optionally compress/convert the image. Provide "url" for direct download, or "query" to search for an image.
    url:string, query:string, outputPath:string, outputFormat:string, quality:number, lossless:boolean, effort:number, width:number, height:number, maxDimension:number, recursiveCompress:boolean, expectedSizeKB:number, …
  • compress_image — Compress or convert a single image with format conversion, quality adjustment, resizing, and optional recursive compression
    inputPath:string*, outputPath:string*, outputFormat:string, quality:number, lossless:boolean, effort:number, width:number, height:number, maxDimension:number, recursiveCompress:boolean, expectedSizeKB:number, qualityStepDown:number, …
  • compress_directory — Batch compress all images in a directory recursively, preserving folder structure, with an auto-generated report
    inputDir:string*, outputDir:string*, outputFormat:string, quality:number, lossless:boolean, effort:number, maxDimension:number, normalizeFilename:boolean, filenameReplaceChars:string, filenameCase:string, normalizeDirname:boolean, dirnameReplaceChars:string, …
  • sync_filenames — Scan project files and replace all references to old filenames with new filenames after compression
    scanDir:string*, mappingFilePath:string, mappings:array, includeExtensions:array, excludeDirectories:array, dryRun:boolean
  • extract_text — Extract visible printed text from images using OCR. Supports 100+ languages, region-specific extraction, and multiple output formats (text, blocks, hocr, tsv). Runs entirely locally with no API key required.
    imagePath:string*, language:string, rectangle:object, outputFormat:string, preprocess:boolean
  • get_acknowledgement — Get all configuration defaults, supported formats, and detailed tool descriptions with parameter explanations
    (no parameters)

Overview

What is Image Processor Mcp?

Image Processor Mcp is a Model Context Protocol server that provides tools for downloading, compressing, optimizing images, and extracting printed text via OCR. It enables AI assistants to perform these tasks programmatically, supporting operations like batch processing, format conversion, and filename synchronization.

How to use Image Processor Mcp?

Install Node.js 18 or higher, then configure the server with an MCP host. Use the provided tools—download_image, compress_image, compress_directory, sync_filenames, extract_text, and get_acknowledgement—by passing required parameters. An optional IMAGE_SEARCH_API_KEY environment variable enables keyword-based image search via Pexels.

Key features of Image Processor Mcp

  • Download images from URLs or search by keyword (Pexels integration)
  • Compress/convert single images to 10 output formats (WebP, AVIF, JPEG, etc.)
  • Recursive compression to target file size with configurable quality and effort
  • Batch process entire directories preserving folder structure with auto-generated reports
  • Sync filename references across project files after compression
  • Extract printed text via local OCR (100+ languages, no cloud calls)

Use cases of Image Processor Mcp

  • Compress and convert images for web performance optimization
  • Batch convert an entire image directory to WebP with automatic report generation
  • Update all filenames in source code (HTML, CSS, JS) after converting PNG to WebP
  • Extract printed text from scanned documents or screenshots
  • Download high-quality images from Pexels and immediately resize and compress them

Frequently asked questions

1 What output formats are supported for image compression?

The server supports 10 formats: WebP, AVIF, JPEG, PNG, TIFF, GIF, HEIF, JPEG 2000, JPEG XL, and PDF.

2 Can OCR extract handwritten text?

No—Tesseract OCR is designed for printed text only. Handwritten text is not supported.

3 Where are auto-generated reports saved?

All reports and mapping files are stored in a .image-processor-mcp/ directory at the project root, organized into reports/, mappings/, and syncs/ subdirectories.

4 What are the system requirements?

Node.js version 18 or higher and an NPM-compatible package manager. No external APIs are needed except for image search (optional Pexels key).

5 How does filename synchronization ensure safety?

sync_filenames validates that the mapping JSON file is timestamp-paired with a compression report before applying any replacements. It also supports dry-run mode to preview changes.

Comments

No comments yet

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

Sign In

Feedback 💬