zip
An MCP tool that provides AI with the ability to compress and decompress local files.
claude mcp add --transport stdio 7gugu-zip-mcp zip-mcp
How to use
ZIP MCP Server implements the MCP (Model Context Protocol) to provide controllable ZIP compression, decompression, and metadata querying for ZIP archives. It exposes tools through the MCP interface: compress to create ZIP packages from files or folders with configurable level, password protection, and encryption; decompress to extract ZIP contents with optional password and overwrite controls; getZipInfo to retrieve detailed metadata about a ZIP file; and an echo tool for health checks. You can query these tools via the MCP client to perform batch or remote ZIP operations, making it suitable for automated workflows and integrations across editors, tooling, or scripted contexts.
How to install
Prerequisites:
- Node.js (recommended LTS) and npm installed on your system.
- Access to install global npm packages.
Install globally:
npm install -g zip-mcp
Verify installation:
zip-mcp --version
Configure MCP client to include the server:
- In your MCP JSON configuration, add:
{
"mcpServers": {
"zip-mcp": {
"command": "zip-mcp",
"args": []
}
}
}
Usage snippets:
- Compress: use the MCP client to invoke the compress tool with input, output, and options (level, password, encryptionStrength, overwrite).
- Decompress: specify input ZIP, output directory, and options (password, overwrite, createDirectories).
- Get ZIP info: provide input ZIP and optional password to retrieve metadata.
- Echo: test the service with a message.
Additional notes
Notes:
- Compression level ranges from 0-9 (default 5). Adjust for speed vs. size.
- If password protection is enabled, supply a password in both compress and corresponding decompress/getZipInfo calls.
- Overwrite controls determine whether existing files are replaced; enable with caution in automated workflows.
- Ensure paths provided to input/output are accessible by the server process. When using multi-file packaging, ensure all sources are included in the provided input array.
- If you encounter encoding or encryption issues, verify the environment supports the required crypto libraries and that the Node process has necessary permissions.
Related MCP Servers
mcp
Browser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Mantic.sh
A structural code search engine for Al agents.
mcp -azure-devops
An MCP server for Azure DevOps
MCP -Starter
A Model Context Protocol server starter template
token-optimizer
Intelligent token optimization for Claude Code - achieving 95%+ token reduction through caching, compression, and smart tool intelligence
mcp -templates
A flexible platform that provides Docker & Kubernetes backends, a lightweight CLI (mcpt), and client utilities for seamless MCP integration. Spin up servers from templates, route requests through a single endpoint with load balancing, and support both deployed (HTTP) and local (stdio) transports — all with sensible defaults and YAML-based configs.