7
7gugu/zip-mcp
Compress and decompress local files
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
取自该仓库的安装命令
npm install -g zip-mcp
解析自我们于 2026-11-06 抓取的该仓库 README;我们未执行过。
这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
- 来源明细
- 收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
- 评分构成
- 综合分 1,003 · 10 个来源 · mcp
- 安装
npm install -g zip-mcp
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
npm install -g zip-mcp。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
# ZIP MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
中文 | English
## Project Introduction
ZIP MCP Server is a compression server based on fastMCP and zip.js, implementing the Model Context Protocol (MCP). This project provides fully parameter-controlled ZIP compression, decompression, and query compression package information functions.
## Features
Supports compression and decompression of files and data
Supports multi-file packaging compression
Provides compression level control (0-9)
Supports password protection and encryption strength settings
Provides query function for compressed package metadata
Validates ZIP entry paths on decompression to prevent path traversal writes
## Security
Versions 1.0.6 and later fix an arbitrary file write issue in the decompress tool: malicious ZIP entry names (for example ../outside.txt) could previously be joined with the output directory and written outside the intended extraction root. Extraction now resolves the output root once, validates each entry path, and rejects absolute paths, drive-letter paths, .. segments, and any path that would escape the output directory.
Thanks to Ryan (vonbrubeck@gmail.com) for responsibly reporting this issue.
## Project Structure
bash
zip-mcp
├── src
│ ├── index.ts # Application entry point
│ ├── utils
│ │ ├── compression.ts # Compression and decompression implementation
│ │ └── safePath.ts # Safe ZIP entry path validation
├── tsconfig.json # TypeScript configuration file
├── package.json # npm configuration file
└── README.md # Project documentation
## Installation
You can install ZIP MCP Server globally using npm:
bash
npm install -g zip-mcp
## MCP Configuration
After installation, you can configure ZIP MCP in your MCP JSON configuration:
json
"mcpServers": {
"zip-mcp": {
"command": "zip-mcp",
"args": []
## Configure the MCP JSON in the AI Client
Claude Client: https://modelcontextprotocol.io/quickstart/user
Raycast: requires installing the MCP plugin
Cursor: https://docs.cursor.com/context/model-context-protocol#configuring-mcp-servers
## MCP Tool Description
ZIP MCP Server provides the following tools, which can be called through the MCP protocol:
### Compression Tool (compress)
Compress local files or directories into a ZIP file.
Parameters:
input: Path of the file or directory to be compressed (string or string array)
output: Path of the output ZIP file
options: Compression options (optional)
level: Compression level (0-9, default is 5)
password: Password protection
encryptionStrength: Encryption strength (1-3)
overwrite: Whether to overwrite existing files (boolean)
Returns:
Success: Text content containing success information
Failure: Text content containing error information
### Decompression Tool (decompress)
Decompress local ZIP files to the specified directory. Entry paths are validated before writing so files cannot be extracted outside output via .. or absolute paths.
Parameters:
input: Path of the ZIP file
output: Path of the output directory
options: Decompression options (optional)
password: Decompression password
## Project Introduction
ZIP MCP Server is a compression server based on fastMCP and zip.js, implementing the Model Context Protocol (MCP). This project provides fully parameter-controlled ZIP compression, decompression, and query compression package information functions.
## Features
Supports compression and decompression of files and data
Supports multi-file packaging compression
Provides compression level control (0-9)
Supports password protection and encryption strength settings
Provides query function for compressed package metadata
Validates ZIP entry paths on decompression to prevent path traversal writes
## Security
Versions 1.0.6 and later fix an arbitrary file write issue in the decompress tool: malicious ZIP entry names (for example ../outside.txt) could previously be joined with the output directory and written outside the intended extraction root. Extraction now resolves the output root once, validates each entry path, and rejects absolute paths, drive-letter paths, .. segments, and any path that would escape the output directory.
Thanks to Ryan (vonbrubeck@gmail.com) for responsibly reporting this issue.
## Project Structure
bash
zip-mcp
├── src
│ ├── index.ts # Application entry point
│ ├── utils
│ │ ├── compression.ts # Compression and decompression implementation
│ │ └── safePath.ts # Safe ZIP entry path validation
├── tsconfig.json # TypeScript configuration file
├── package.json # npm configuration file
└── README.md # Project documentation
## Installation
You can install ZIP MCP Server globally using npm:
bash
npm install -g zip-mcp
## MCP Configuration
After installation, you can configure ZIP MCP in your MCP JSON configuration:
json
"mcpServers": {
"zip-mcp": {
"command": "zip-mcp",
"args": []
## Configure the MCP JSON in the AI Client
Claude Client: https://modelcontextprotocol.io/quickstart/user
Raycast: requires installing the MCP plugin
Cursor: https://docs.cursor.com/context/model-context-protocol#configuring-mcp-servers
## MCP Tool Description
ZIP MCP Server provides the following tools, which can be called through the MCP protocol:
### Compression Tool (compress)
Compress local files or directories into a ZIP file.
Parameters:
input: Path of the file or directory to be compressed (string or string array)
output: Path of the output ZIP file
options: Compression options (optional)
level: Compression level (0-9, default is 5)
password: Password protection
encryptionStrength: Encryption strength (1-3)
overwrite: Whether to overwrite existing files (boolean)
Returns:
Success: Text content containing success information
Failure: Text content containing error information
### Decompression Tool (decompress)
Decompress local ZIP files to the specified directory. Entry paths are validated before writing so files cannot be extracted outside output via .. or absolute paths.
Parameters:
input: Path of the ZIP file
output: Path of the output directory
options: Decompression options (optional)
password: Decompression password
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/7gugu-zip-mcp/)
- 来源
- awesome · https://github.com/7gugu/zip-mcp
- 按领域浏览
- MCP 服务
- 收录来源
- 10 个独立来源
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。