The RemoteZip MCP Server allows you to interact with remote zip files over HTTP, HTTPS, and FTP without downloading the entire archive.
List Files: Retrieve a complete list of all files contained within a remote zip archive
Extract Files: Extract specific files from remote zip archives to local storage with optional path specification
Get File Information: Obtain detailed information about individual files within zip archives
Get Zip Statistics: Access overall statistics about remote zip archives (size, file count, etc.)
Partial Reading: Only downloads necessary portions of zip files for efficient bandwidth usage
Includes automated release workflows that build and release Python packages when version tags are pushed to GitHub repositories
Provides tools for accessing remote zip files over HTTP, HTTPS, and FTP protocols, allowing file listing, extraction, and statistics without downloading entire archives
RemoteZip MCP Server
An MCP server that provides tools for accessing remote zip files over HTTP, HTTPS, and FTP protocols without downloading the entire archive.
Features
List files in remote zip archives
Extract individual files from remote zip archives
Get file information and statistics
Support for HTTP, HTTPS, and FTP protocols
Partial reading - only downloads necessary parts of the zip file
Installation
From Source
Install Python 3.10 or higher
Clone the repository:
git clone https://github.com/yourusername/remotezip-mcp.git cd remotezip-mcpInstall dependencies:
pip install -e .
From GitHub Releases
Download the latest release from the Releases page and install:
MCP Server Configuration
For VSCode
Install the MCP extension:
Search for "MCP (Model Context Protocol)" in VSCode extensions
Install the extension by Anthropic
Create MCP configuration file:
Create the file
~/.vscode/mcp.json
(on macOS/Linux) or%APPDATA%\Code\User\mcp.json
(on Windows)Or use the global config:
~/.config/mcp/mcp.json
Add the following configuration to your mcp.json:
Restart VSCode to load the MCP server
For Cursor
Open Cursor settings:
Press
Cmd/Ctrl + ,
to open settingsOr go to File → Preferences → Settings
Navigate to MCP settings:
Search for "mcp" in the settings search bar
Look for "MCP: Servers" or "Model Context Protocol" section
Add a new MCP server with these exact settings:
Name:
RemoteZip MCP Server
Command:
remotezip-mcp
Arguments: Leave this field empty
Environment Variables: (optional)
Save and restart Cursor to activate the MCP server
Alternative: Manual MCP Configuration
If your editor doesn't have built-in MCP support, you can also run the server manually:
Then connect to it using your MCP client with the server running on the default port.
Troubleshooting
Command not found: Make sure
remotezip-mcp
is in your PATH after installationPermission denied: Try running with
sudo
or check file permissionsServer won't start: Verify the installation with
remotezip-mcp --help
Configuration not loading: Check the JSON syntax in your mcp.json file
Usage
Run the server:
Or use the installed command:
Tools
list_files(url)
: Get list of files in the archiveextract_file(url, filename, local_path)
: Extract a file to local storageget_file_info(url, filename)
: Get details about a specific fileget_zip_statistics(url)
: Get overall statistics of the archive
Development
Setup Development Environment
Running Tests
Creating Releases
Use the provided release script:
This will:
Create a git tag
r1.0.0
Push the tag to GitHub
Trigger GitHub Actions to build and release
GitHub Actions
The repository includes automated release workflows:
Release Workflow (
.github/workflows/release.yml
): Automatically builds and releases when version tags are pushedTriggers on tags matching pattern
r*
Builds Python wheel and source distribution
Creates GitHub release with generated release notes
Dependencies
remotezip
: For partial reading of remote zip filesmcp
: Model Context Protocol frameworkfastmcp
: FastMCP server implementation
License
MIT License - see LICENSE file for details
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables accessing and extracting files from remote zip archives over HTTP, HTTPS, and FTP without downloading the entire archive. Supports listing files, extracting individual files, and getting file information using partial reading techniques.