MEGA Cloud Storage

Provides MEGA cloud storage integration with Claude Code, enabling file management, transfer, sharing, and sync via an MCP server.
  • javascript

0

GitHub Stars

javascript

Language

2 months ago

First Indexed

3 weeks ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "expertvagabond-mega-mcp-server": {
      "command": "node",
      "args": [
        "/Users/matthewkarsten/mcp-servers/mega-mcp/dist/index.js"
      ]
    }
  }
}

You can connect to MEGA cloud storage through this MCP server to manage files, transfer data, share links, and synchronize folders directly from Claude Code. This enables seamless cloud interactions within your workflows, with secure client-side encryption and convenient commands.

How to use

You use an MCP client to talk to the MEGA MCP Server. The server acts as a bridge to MEGAcmd, letting you list, upload, download, share, and synchronize files on MEGA from Claude Code.

How to install

Prerequisites and setup steps ensure you can run the MEGA MCP Server locally and connect it to Claude Code.

1) Install MEGAcmd from https://mega.io/cmd

On macOS:

bash brew install --cask megacmd


2) Login to your MEGA account:

mega-login your@email.com password


3) Install MCP server dependencies and build:

cd ~/mcp-servers/mega-mcp npm install npm run build


4) Prepare Claude Code client configuration (example shown below). Replace paths as needed.

{"mcpServers": { "mega": { "type": "stdio", "command": "node", "args": ["/Users/matthewkarsten/mcp-servers/mega-mcp/dist/index.js"] } }}


5) Ensure your Claude Code environment picks up the MCP by placing the config in your user profile, such as `~/.claude.json`.

Additional steps

The MEGA MCP Server is designed to work with Claude Code via a local process. After starting, you can issue commands through your MCP client to manage files on MEGA through the provided tools.

Notes on usage patterns

  • Use file listing to explore folders, create directories, and inspect remote content.
  • Use upload/download to transfer between local and MEGA cloud.
  • Create public links or share folders with other users.
  • Set up folder synchronization to keep local and cloud content aligned.

Available tools

mega_login

Authenticate with MEGA and establish a session for subsequent operations.

mega_ls

List files and folders in a remote MEGA path.

mega_get

Download files from MEGA to the local filesystem.

mega_put

Upload files from the local system to MEGA.

mega_mkdir

Create a new directory on MEGA.

mega_rm

Remove files or folders on MEGA.

mega_cp

Copy files or folders within MEGA.

mega_mv

Move or rename files or folders on MEGA.

mega_export

Create a public link for a MEGA item.

mega_share

Share a MEGA folder with another user.

mega_import

Import a public MEGA link into your account.

mega_sync

Set up and manage synchronization between local and MEGA folders.

mega_df

Show storage space usage for MEGA.

mega_du

Show disk usage of a remote MEGA path.

mega_cat

Display contents of a remote file on MEGA.

mega_tree

Show the directory tree structure on MEGA.

mega_find

Search for files or folders on MEGA.

mega_whoami

Get current logged-in account information.

mega_pwd

Print the current working directory.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational