Integrations
Provides ZIP compression and decompression functionality within Raycast through the MCP plugin, supporting file compression with customizable settings, extraction of archives, and inspection of ZIP file contents.
ZIP MCP Server
中文 | 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
- 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 fileoptions
: Compression options (optional)level
: Compression level (0-9, default is 5)password
: Password protectionencryptionStrength
: 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.
Parameters:
input
: Path of the ZIP fileoutput
: Path of the output directoryoptions
: Decompression options (optional)password
: Decompression passwordoverwrite
: Whether to overwrite existing files (boolean)createDirectories
: Whether to create non-existent directories (boolean)
Returns:
- Success: Text content containing decompression result information
- Failure: Text content containing error information
ZIP Info Tool (getZipInfo)
Get metadata information of local ZIP files.
Parameters:
input
: Path of the ZIP fileoptions
: Options (optional)password
: Decompression password
Returns:
- 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
Examples
Examples of calling tools using the MCP client:
Contact
- Email: gz7gugu@qq.com
- Blog: https://7gugu.com
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
An MCP tool that provides AI with the ability to compress and decompress local files.
Related MCP Servers
- AsecurityAlicenseAqualityEnables the generation of images using Together AI's models through an MCP server, supporting customizable parameters such as model selection, image dimensions, and output directory.Last updated -14JavaScriptMIT License
- -securityFlicense-qualityAn MCP server that allows Claude AI to perform filesystem operations including reading, writing, listing, moving files, and searching directories within specified allowed paths.Last updated -51JavaScript
- -securityAlicense-qualityAn MCP server that provides multiple file conversion tools for AI agents, supporting various document and image format conversions including DOCX to PDF, PDF to DOCX, image conversions, Excel to CSV, HTML to PDF, and Markdown to PDF.Last updated -3PythonMIT License
- -securityAlicense-qualityAn MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.Last updated -132PythonMIT License