ZIP MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ZIP MCP Server compress the ./src directory into backup.zip"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ZIP MCP Server
View @loscolmebrothers/zip-mcp on npm
An MCP (Model Context Protocol) server that provides ZIP file compression and decompression capabilities for AI assistants like Claude.
Features
Compress files and directories into ZIP archives
Decompress ZIP files to specified directories
Get ZIP metadata including file listings and compression info
Support for multiple input files/directories
Configurable compression options
Password protection support (via adm-zip)
Related MCP server: ZIP MCP
Installation
npm install
npm run buildUsage
As an MCP Server
Add to your Claude Desktop configuration file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"zip": {
"command": "npx",
"args": ["-y", "@loscolmebrothers/zip-mcp"]
}
}
}Available Tools
compress
Compress local files or directories into a ZIP file.
Parameters:
input(string | string[]): File path(s) or directory to compressoutput(string): Output ZIP file pathoptions(optional):overwrite(boolean): Overwrite if output file existslevel(number): Compression level (0-9)password(string): Password to encrypt ZIP filecomment(string): ZIP file commentencryptionStrength(number): Encryption strength (1=AES-128, 2=AES-192, 3=AES-256)
Example:
{
"input": ["./docs", "./src/index.ts"],
"output": "./archive.zip",
"options": {
"overwrite": true,
"comment": "Project backup"
}
}decompress
Decompress a local ZIP file to a specified directory.
Parameters:
input(string): ZIP file path to decompressoutput(string): Output directory pathoptions(optional):overwrite(boolean): Overwrite existing filespassword(string): Password for encrypted ZIPcreateDirectories(boolean): Create output directory if it doesn't exist
Example:
{
"input": "./archive.zip",
"output": "./extracted",
"options": {
"overwrite": true,
"createDirectories": true
}
}getZipInfo
Get metadata information about a ZIP file.
Parameters:
input(string): ZIP file pathoptions(optional):password(string): Password for encrypted ZIP
Returns: JSON with file size, entry count, file listings, and compression details.
echo
Simple echo tool for testing the MCP connection.
Parameters:
message(string): Message to echo back
Development
# Install dependencies
npm install
# Build the project
npm run build
# The build output will be in ./build/index.jsDependencies
@modelcontextprotocol/sdk - MCP SDK for building servers
adm-zip - ZIP file manipulation library
License
ISC
Author
danicolms
Available Tools
4 toolscompressB
Compress local files or directories into a ZIP file
Inputs: input (required), output (required), options.
decompressC
Decompress local ZIP file to specified directory
Inputs: input (required), output (required), options.
echoB
Return the input message (for testing)
Inputs: message (required).
getZipInfoC
Get metadata information of a local ZIP file
Inputs: input (required), options.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Most tools have distinct purposes: compress, decompress, and getZipInfo are clearly differentiated for ZIP file operations. However, the 'echo' tool is unrelated to the ZIP domain and could cause confusion about the server's primary function, though it's marked for testing.
Three tools follow a consistent verb-based naming pattern (compress, decompress, echo), but 'getZipInfo' deviates with a camelCase style and includes a noun, creating a minor inconsistency. The naming is readable but mixed in convention.
With 4 tools, the count is reasonable for a ZIP-focused server, covering core operations like compression, decompression, and metadata retrieval. The inclusion of 'echo' slightly dilutes the scope but doesn't make the set feel overly heavy or thin.
The tool set covers essential ZIP file operations: create, extract, and inspect. There are no major gaps for basic functionality, though advanced features like password protection or batch processing are not included, which is acceptable for a simple server.
Maintenance
Related MCP Connectors
Create zip archives, list their contents with safety flags, and extract without unsafe entries.
Convert RAR archives to ZIP, 7Z and TAR through MCP-compatible AI clients.
PDF and image tools for AI agents: compress, merge, split, OCR, sign. Runs locally, never uploads.
PDF tools for agents: compress to a size, Arabic + English OCR, Office conversion, JSON extraction.
Related MCP Servers
- AlicenseBqualityCmaintenanceAn MCP tool that provides AI with the ability to compress and decompress local files.453 npm16MIT
- AlicenseNot gradedqualityDmaintenanceA powerful ZIP file processing tool that enables creating, extracting, listing, adding, deleting, viewing, and verifying ZIP files through MCP protocol integration with AI development environments.53 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with .zim archives by providing tools for article search, content retrieval, and metadata discovery. It features a TF-IDF based RAG engine for semantic retrieval over extracted article chunks from compressed ZIM files.GPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables file operations such as counting, listing, compressing images, creating/extracting archives, copying/moving files, and merging/splitting PDFs via natural language.5MIT