Skip to main content
Glama

RemoteZip MCP Server

by yuriyo

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

  1. Install Python 3.10 or higher
  2. Clone the repository:
    git clone https://github.com/yourusername/remotezip-mcp.git cd remotezip-mcp
  3. Install dependencies:
    pip install -e .

From GitHub Releases

Download the latest release from the Releases page and install:

pip install remotezip_mcp-1.0.0-py3-none-any.whl

MCP Server Configuration

For VSCode

  1. Install the MCP extension:
    • Search for "MCP (Model Context Protocol)" in VSCode extensions
    • Install the extension by Anthropic
  2. 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
  3. Add the following configuration to your mcp.json:
{ "mcpServers": { "remotezip": { "command": "remotezip-mcp", "args": [], "env": { "PATH": "$PATH" } } } }
  1. Restart VSCode to load the MCP server

For Cursor

  1. Open Cursor settings:
    • Press Cmd/Ctrl + , to open settings
    • Or go to File → Preferences → Settings
  2. Navigate to MCP settings:
    • Search for "mcp" in the settings search bar
    • Look for "MCP: Servers" or "Model Context Protocol" section
  3. Add a new MCP server with these exact settings:
  • Name: RemoteZip MCP Server
  • Command: remotezip-mcp
  • Arguments: Leave this field empty
  • Environment Variables: (optional)
  1. 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:

# Start the MCP server remotezip-mcp

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 installation
  • Permission denied: Try running with sudo or check file permissions
  • Server 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:

python remotezip_server.py

Or use the installed command:

remotezip-mcp

Tools

  • list_files(url): Get list of files in the archive
  • extract_file(url, filename, local_path): Extract a file to local storage
  • get_file_info(url, filename): Get details about a specific file
  • get_zip_statistics(url): Get overall statistics of the archive

Development

Setup Development Environment

# Create virtual environment python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # Install in development mode pip install -e .

Running Tests

# Run the MCP server python remotezip_server.py

Creating Releases

Use the provided release script:

./release.sh 1.0.0

This will:

  1. Create a git tag r1.0.0
  2. Push the tag to GitHub
  3. 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 pushed
  • Triggers 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 files
  • mcp: Model Context Protocol framework
  • fastmcp: FastMCP server implementation

License

MIT License - see LICENSE file for details

Deploy Server
-
security - not tested
A
license - permissive license
-
quality - not tested

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.

  1. Features
    1. Installation
      1. From Source
      2. From GitHub Releases
    2. MCP Server Configuration
      1. For VSCode
      2. For Cursor
      3. Alternative: Manual MCP Configuration
      4. Troubleshooting
    3. Usage
      1. Tools
        1. Development
          1. Setup Development Environment
          2. Running Tests
          3. Creating Releases
        2. GitHub Actions
          1. Dependencies
            1. License

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuriyo/remotezip-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server