ZIP MCP Server
Provides tools for AI assistants to compress, decompress, and manage ZIP archives including metadata retrieval. It supports directory compression, password protection, and configurable extraction options.
README
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)
Installation
npm install
npm run build
Usage
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.js
Dependencies
- @modelcontextprotocol/sdk - MCP SDK for building servers
- adm-zip - ZIP file manipulation library
License
ISC
Author
danicolms
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.