Skip to main content
Glama

mcp-image-compression

by InhiblabCore

mcp-图像压缩

项目概述

mcp-image-compression 是一款基于 MCP(Modal Context Protocol,模态上下文协议)架构的高性能图片压缩微服务。该服务专注于提供快速、高质量的图片压缩能力,帮助开发者优化网站和应用的图片资源,提升加载速度和用户体验。

特征

  • 多格式支持:压缩主流图像格式,包括 JPEG、PNG、WebP、AVIF
  • 离线使用:无需连接互联网即可使用
  • 智能压缩:根据图像内容自动选择最佳压缩参数
  • 批处理:支持多幅图像并行压缩,提高效率
  • 质量控制:可定制的压缩质量以平衡文件大小和视觉质量

工具

  1. image_compression
    • 图像压缩
    • 输入:
      • urls (字符串):要压缩的图像的 URL
      • quality (int):压缩质量(0-100)
      • format (字符串):压缩图像的格式(例如“jpeg”,“png”,“webp”,“avif”)
    • 返回:压缩图像的 URL

设置

NPX

{ "mcpServers": { "Image compression": { "command": "npx", "args": [ "-y", "@inhiblab-core/mcp-image-compression" ], "env": { "IMAGE_COMPRESSION_DOWNLOAD_DIR": "<YOUR_DIR>" }, "disabled": false, "autoApprove": [] } } }

建造

docker build -t mcp-image-compression .

执照

此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

用于本地压缩各种图像格式的 MCP 服务器

  1. 项目概述
    1. 特征
      1. 工具
        1. 设置
          1. NPX
        2. 建造
          1. 执照

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              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.
              Last updated -
              1
              5
              JavaScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              An MCP server that allows users to generate images using Replicate's Stable Diffusion model and save them to the local filesystem.
              Last updated -
              3
              Python
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              Image Tools MCP is a Model Context Protocol (MCP) service that retrieves image dimensions and compresses images from URLs and local files using the TinyPNG API. It supports converting images to formats like webp, jpeg/jpg, and png, providing detailed information on width, height, type, and compressi
              Last updated -
              4
              131
              3
              JavaScript
              MIT License
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/InhiblabCore/mcp-image-compression'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server