MCP image processing server based on the Model Context Protocol

MCP image processing server based on the Model Context Protocol

mcp-image-processor•byhypervapor

A high-performance image processing server implementing MCP tools for format conversion, resizing, compression, rotation, flipping, and post-processing adjustments.

License: Not specified•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Converts images between JPEG, PNG, WebP, TIFF, GIF, AVIF, and HEIF formats with adjustable quality and compression level.
  • •Crops and resizes images with multiple resize modes, aspect ratio control, rotation, and flip/mirror options.
  • •Compresses and optimizes images, optionally stripping EXIF metadata and enabling progressive rendering.
  • •Post-processes images by adjusting brightness, contrast, saturation, blur, and sharpen.

BEST FOR

  • •Users who want to describe image edits in natural language to an LLM and have it apply operations to image files by absolute path.
  • •Automating batch image format conversion and compression through an MCP client.

ABOUT MCP-IMAGE-PROCESSOR

MCP image processing server based on the Model Context Protocol is cataloged as an MCP server attributed to hypervapor. A high-performance image processing server implementing MCP tools for format conversion, resizing, compression, rotation, flipping, and post-processing adjustments. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP image processing server based on the Model Context Protocol are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What image formats can the server convert between?

It supports conversion among JPEG, PNG, WebP, TIFF, GIF, AVIF, and HEIF.

Can the server remove image metadata during compression?

Yes, the compress and optimize tool includes a stripMetadata option that is enabled by default to remove EXIF and similar metadata.

Upstream README

View this exact version on GitHub

README.md · c2158cdba068 · Fetched 2026-11-13 10:35:16 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MCP 图像处理服务器

NPM Version MIT licensed

English README

基于 Model Context Protocol (MCP) 的高性能图像处理服务器,提供格式转换、尺寸调整、压缩优化等丰富的图像处理功能。


功能概览

  • 支持多种图像格式转换:JPEG、PNG、WebP、TIFF、GIF、AVIF、HEIF
  • 灵活的图像裁剪与尺寸调整
  • 图像质量压缩与元数据移除优化
  • 多种缩放模式,支持保持或调整宽高比
  • 旋转角度及水平/垂直翻转
  • 亮度、对比度、饱和度调整及模糊、锐化后处理

系统要求

  • Node.js 18 及以上版本
  • TypeScript 5 及以上版本
  • 支持 sharp 原生模块的运行环境

安装与快速开始

1. 克隆仓库

git clone https://github.com/HYPERVAPOR/mcp-image-processor.git
cd mcp-image-processor

2. 安装依赖

npm install

3. (可选)修改代码

如果需要自定义 MCP Server 逻辑,请编辑 src/index.ts,修改完成后执行:

npm run build

4. 配置 MCP Server

以 cline 客户端为例,其他客户端(如 cursor, cherryStudio)配置类似:

{
  "mcpServers": {
    "image-processor": {
      "autoApprove": [],
      "disabled": false,
      "timeout": 60,
      "command": "C:\\Program Files\\nodejs\\node.exe",
      "args": ["C:\\projs\\mcp-image-processor\\dist\\index.js"],
      "transportType": "stdio"
    }
  }
}

注意:请将 command 和 args 替换为你本地的真实路径。

5. 启动使用

确保 MCP Server 已启用:

启用 MCP Server

只需向 LLM 描述你想对图片执行的操作,并提供一个或多个图片的绝对路径,例如:

请你将此图片转换为黑白色调,图片位于 "C:\projs\MCP-image-server\assets\test\climbing.png"

效果演示:demo


可用工具接口说明

1. image.convertFormat — 格式转换

  • 参数:

    • imagesPath: 绝对路径数组
    • outputFormat: 目标格式(jpeg、png、webp、tiff、gif、avif、heif)
    • formatParams(可选):
      • quality: 输出质量(0-100)
      • compressionLevel: 压缩级别(0-9,9 为最高)
  • 功能:将图片转换为指定格式,支持质量与压缩级别调整。


2. image.cropResize — 裁剪与尺寸调整

  • 参数:

    • imagesPath: 绝对路径数组
    • width: 目标宽度(像素,可选)
    • height: 目标高度(像素,可选)
    • resizeMode: 调整模式(contain、cover、fill、inside、outside)
    • maintainRatio: 是否保持宽高比(默认 true)
    • rotate: 旋转角度(-360 到 360 度,可选)
    • flip: 是否垂直翻转(可选)
    • mirror: 是否水平翻转(可选)
  • 功能:裁剪、缩放、旋转和翻转图片,支持多种尺寸调整策略。


3. image.compressOptimize — 压缩与优化

  • 参数:

    • imagesPath: 绝对路径数组
    • quality: 输出质量(0-100,可选)
    • stripMetadata: 是否移除 EXIF 等元数据(默认 true)
    • progressive: 是否启用渐进式渲染(JPEG/PNG,可选)
  • 功能:压缩图片,去除元数据,支持渐进式渲染。


4. image.resize — 图像缩放

  • 参数:

    • imagesPath: 绝对路径数组
    • width: 目标宽度(像素,可选)
    • height: 目标高度(像素,可选)
    • maintainRatio: 是否保持宽高比(默认 true)
    • fitMode: 缩放模式(contain、cover、fill、inside、outside,可选)
  • 功能:缩放图片,支持保持比例或指定缩放模式。若开启保持比例且目标宽高比与原图不符,将返回错误。


5. image.rotateFlip — 旋转与翻转

  • 参数:

    • imagesPath: 绝对路径数组
    • rotateAngle: 旋转角度(-360 到 360 度,可选)
    • flipHorizontal: 是否水平翻转(镜像效果,可选)
    • flipVertical: 是否垂直翻转(可选)
  • 功能:旋转及水平/垂直翻转图片。


6. image.postProcess — 图像后处理

  • 参数:

    • imagesPath: 绝对路径数组
    • brightness: 亮度调整(-1 到 1,可选)
    • contrast: 对比度调整(-1 到 1,可选)
    • saturation: 饱和度调整(-1 到 1,可选)
    • blur: 模糊半径(像素,可选)
    • sharpen: 锐化强度(0-100,可选)
  • 功能:调整亮度、对比度、饱和度,支持模糊与锐化处理。


项目结构

MCP-image-server/
├── src/                # TypeScript 源代码
│   └── index.ts        # 主入口文件
├── dist/               # 编译输出目录
│   └── index.js        # 编译后的主入口文件
├── test/               # 测试脚本目录
├── package.json        # 项目配置及依赖
└── tsconfig.json       # TypeScript 编译配置

许可证

MIT © 2025


感谢您使用 MCP 图像处理服务器,欢迎贡献与反馈!

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP image processing server based on the Model Context Protocol from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-image-processor)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design