ZIP MCP Server logo

ZIP MCP Server

by 7gugu

ZIP MCP Server is a compression server based on fastMCP and zip.js, implementing the Model Context Protocol (MCP). It provides fully parameter-controlled ZIP compression, decompression, and query compression package information functions.

View on GitHub

Last updated: N/A

What is ZIP MCP Server?

ZIP MCP Server is a server that provides ZIP compression and decompression functionalities within the Model Context Protocol (MCP) framework. It leverages fastMCP and zip.js to offer parameter-controlled compression, decompression, and metadata querying for ZIP archives.

How to use ZIP MCP Server?

First, install the server globally using npm: npm install -g zip-mcp. Then, configure it in your MCP JSON configuration file by specifying the command and arguments. Finally, you can call the available tools (compress, decompress, getZipInfo, echo) through the MCP protocol from your AI client (e.g., Claude, Raycast, Cursor) by providing the necessary parameters.

Key features of ZIP MCP Server

  • 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

Use cases of ZIP MCP Server

  • Compressing large files or directories for efficient storage or transfer

  • Securing sensitive data within password-protected ZIP archives

  • Extracting specific files from a ZIP archive without full decompression

  • Querying ZIP archive metadata to understand its contents and compression ratio

  • Testing MCP server functionality with the echo tool

FAQ from ZIP MCP Server

How do I install ZIP MCP Server?

Install it globally using npm: npm install -g zip-mcp.

How do I configure ZIP MCP Server in my MCP JSON?

Add a configuration block under mcpServers with the command set to zip-mcp and any necessary arguments.

What compression levels are supported?

Compression levels range from 0 (no compression) to 9 (maximum compression).

How do I password protect a ZIP archive?

Use the password option in the compress tool and optionally specify the encryptionStrength.

How do I get information about a ZIP archive?

Use the getZipInfo tool, providing the path to the ZIP file and optionally a password if it's protected.