Model Context Protocol Server

MEGA MCP
Server

MEGA.nz encrypted cloud storage integration with Claude. Upload, download, manage, and share files through end-to-end encrypted cloud storage.

npm version GitHub stars License MCP Compatible
🔒

E2E Encrypted

Zero-knowledge encryption. Your files are encrypted before leaving your device.

Cloud Storage

Upload, download, and manage files directly in your MEGA cloud storage.

🔗

Share Links

Generate and manage encrypted share links with optional passwords and expiry.

Fast Transfers

Parallel chunked uploads and downloads for maximum throughput.

Quick Setup

Add to your Claude Desktop configuration file to get started.

claude_desktop_config.json
{
  "mcpServers": {
    "mega": {
      "command": "npx",
      "args": ["-y", "mega-mcp-server"],
      "env": {
        "MEGA_EMAIL": "your-email@example.com",
        "MEGA_PASSWORD": "your-password"
      }
    }
  }
}

Capabilities

📁

File Management

Create, rename, move, copy, and delete files and folders across your MEGA drive hierarchy.

Upload & Download

Stream large files with progress tracking. Supports resumable transfers and batch operations.

🔍

Search & Browse

Search files by name, type, or date. Navigate your cloud storage with familiar path semantics.

📊

Storage Quota

Monitor storage usage, check quota limits, and manage space allocation across your account.

👥

Sharing Controls

Create public and private share links. Set passwords, expiry dates, and access permissions.

🗑

Trash Management

Move items to trash, restore deleted files, or permanently purge to reclaim storage space.

Install

npm install -g mega-mcp-server