Enables direct file compression and decompression operations using ZIP format through fastMCP and zip.js utilities for e...
Created byApr 23, 2025
ZIP MCP Server
[ ](README_CN.md) | 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
Project Structure
Installation
You can install ZIP MCP Server globally using npm:
MCP Configuration
After installation, you can configure ZIP MCP in your MCP JSON configuration:
Configure the MCP JSON in the AI Client
Claude Client: [https://modelcontextprotocol.io/quickstart/user](https://modelcontextprotocol.io/quickstart/user)
Success: Text content containing detailed information of the ZIP file, including:
- Total number of files
- Total size
- Compressed size
- Compression ratio
- Detailed information of each file
Failure: Text content containing error information
Test Tool (echo)
Returns the input message to test if the service is running normally.
**Parameters:**
`message`: Message to be returned
**Returns:**
Text content containing the input message and current timestamp