mega-mcp-server
Provides file management for MEGA encrypted cloud storage, including uploads, downloads, sharing, folder sync, and search via MEGAcmd.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mega-mcp-server upload my report.pdf to the cloud"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mega-mcp-server
[!License: MIT](https://opensource.org/licenses/MIT) [!MCP](https://modelcontextprotocol.io) [!TypeScript](https://www.typescriptlang.org)
MCP server for MEGA encrypted cloud storage. Provides file management, uploads, downloads, sharing, folder sync, and search via MEGAcmd.
Tools (18 total)
Account and Navigation
Tool | Description |
| Get current logged-in account info |
| Print current working directory |
| Change current directory |
| Show storage space usage |
| Show disk usage of a remote path |
File Operations
Tool | Description |
| List files and folders (supports -l and -R) |
| Create a directory (supports -p) |
| Remove files or folders |
| Move or rename files and folders |
| Copy files and folders |
| Display contents of a remote file |
| Show directory tree structure |
| Search for files with wildcard patterns |
Transfer
Tool | Description |
| Download files to local filesystem |
| Upload files to MEGA cloud |
| Show current upload/download progress |
| Set up bidirectional folder sync |
Sharing
Tool | Description |
| Create a public link (with optional expiry and password) |
| Share a folder with another MEGA user (r/rw/full) |
| Import a public MEGA link to your account |
Related MCP server: google-drive-mcp
Prerequisites
Install MEGAcmd:
brew install --cask megacmdLog in to your MEGA account:
mega-login your@email.com passwordInstall
npm install
npm run buildConfiguration
{
"mcpServers": {
"mega": {
"type": "stdio",
"command": "node",
"args": ["/path/to/mega-mcp/dist/index.js"]
}
}
}MEGA Features
End-to-end encryption -- all files encrypted client-side with zero-knowledge architecture
20 GB free storage -- included with every account
File versioning -- automatic version history
Cross-platform sync -- desktop and mobile clients
Dependencies
@modelcontextprotocol/sdk-- MCP protocol SDKMEGAcmd -- MEGA command-line client (must be installed separately)
License
Available Tools
20 toolsmega_catC
Display contents of a remote file
Inputs: path (required).
mega_cdB
Change current working directory in MEGA cloud
Inputs: path (required).
mega_cpB
Copy files/folders within MEGA cloud storage
Inputs: source (required), destination (required).
mega_dfB
Show MEGA cloud storage space usage
Inputs: human.
mega_duC
Show disk usage of remote path
Inputs: path, human.
mega_exportC
Create a public link for a file/folder
Inputs: path (required), expire, password.
mega_findB
Search for files/folders in MEGA cloud storage
Inputs: pattern (required), path.
mega_getB
Download files from MEGA cloud to local filesystem
Inputs: remote_path (required), local_path.
mega_importB
Import a public MEGA link to your account
Inputs: link (required), remote_path.
mega_lsC
List files and folders in MEGA cloud storage
Inputs: path, long, recursive.
mega_mkdirB
Create a directory in MEGA cloud storage
Inputs: path (required), parents.
mega_mvC
Move or rename files/folders in MEGA cloud storage
Inputs: source (required), destination (required).
mega_putB
Upload files from local filesystem to MEGA cloud
Inputs: local_path (required), remote_path.
mega_pwdA
Print current working directory in MEGA cloud
Inputs: no named parameters.
mega_rmB
Remove files or folders from MEGA cloud storage
Inputs: path (required), recursive, force.
mega_syncC
Set up sync between local and remote folders
Inputs: local_path, remote_path, list_only.
mega_transfersB
Show current transfers (uploads/downloads)
Inputs: show_completed.
mega_treeB
Show directory tree structure
Inputs: path.
mega_whoamiA
Get current logged-in MEGA account information
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Each tool has a distinct purpose: navigation (cd, ls, pwd, tree), file operations (cp, mv, rm, mkdir), transfer actions (get, put), space info (df, du), search, sharing (export, import, share), sync, transfers, account info (whoami). No overlapping functionality detected.
All tools follow the consistent prefix 'mega_' followed by a lowercase verb or short phrase (e.g., mega_cat, mega_ls, mega_export). The naming mirrors a typical CLI tool, ensuring predictability and ease of use for both humans and agents.
20 tools is well-scoped for a cloud storage MCP server. It covers essential operations without redundancy, providing a comprehensive set for file management, navigation, sharing, and account info. The count feels neither sparse nor bloated.
The tool set covers core CRUD operations (create directories, upload, download, copy, move, delete), navigation, search, space usage, sharing, sync, and transfers. Minor gaps exist (e.g., no trash or version management), but the surface is largely complete for typical cloud storage tasks.
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
MCP server for ScanMalware.com URL scanning, malware detection, and analysis.
MCP server for Appcircle mobile CI/CD platform.
MCP server with quote and live cryptocurrency price tools, local and cloud-deployed transports.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server for Google Drive integration with file management, search, sharing, and full CRUD operations.151,352 npm2MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for Google Drive that enables listing, searching, uploading, downloading, and managing files and folders, as well as handling comments and permissions.171 npm7MIT
- AlicenseAqualityBmaintenanceMCP server that provides full access to Proton Drive via Claude Desktop or CLI, enabling file operations, sharing, and trash management with end-to-end encryption.58777 npm3MIT
- AlicenseAqualityCmaintenanceMCP server enabling file operations (list, search, read, rename, move) on Google Drive and OneDrive.21MIT