py-image-compress-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Compress local images and inspect image metadata. Use compress_universal for file or directory workflows. Use get_image_info when you need dimensions, transparency, EXIF, ICC, or complexity details.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| compress_universalB | 压缩图片或批量处理目录。 支持单文件压缩、单文件多格式输出、格式转换和目录批量压缩。 返回统一的结构化结果,包含输出路径、压缩比例、节省空间和错误信息。 |
| get_image_infoB | 读取图片元数据和分析信息。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools have clearly distinct roles: one performs compression/format conversion (including batch directory runs), the other only reads metadata and analysis. There is no realistic scenario where an agent would confuse which to call, and the mode parameter on get_image_info is additive rather than overlapping with compression.
Both names follow the same snake_case verb_noun convention (compress_*, get_*), which is predictable and readable. The only weak spot is the vague modifier 'universal' in compress_universal, which hints at behavior rather than a resource but does not break the pattern.
Two tools is thin for a server, even a narrowly scoped one; the compression surface is compressed into a single multi-mode tool rather than exposing distinct operations. It is defensible given the single-purpose scope, but sits at the borderline of under-scoped sets.
The core lifecycle is covered: inspect an image, then compress/convert it, with batch directory processing and structured error/ratio reporting. Minor gaps remain (e.g. no output verification/cleanup or preview/quality-estimation step before a long batch run), but agents can work around these.