MEGA cloud storage CLI MCP server
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Inspect callable tools, capabilities, and parameters exposed to AI agents by Mega.
mega_whoamiGet current logged-in account info
mega_pwdPrint current working directory
mega_cdChange current directory
mega_dfShow storage space usage
mega_duShow disk usage of a remote path
mega_lsList files and folders (supports -l and -R)
[!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.
| Tool | Description |
|---|---|
mega_whoami | Get current logged-in account info |
mega_pwd | Print current working directory |
mega_cd | Change current directory |
mega_df | Show storage space usage |
mega_du | Show disk usage of a remote path |
| Tool | Description |
|---|---|
mega_ls | List files and folders (supports -l and -R) |
mega_mkdir | Create a directory (supports -p) |
mega_rm | Remove files or folders |
mega_mv | Move or rename files and folders |
mega_cp | Copy files and folders |
mega_cat | Display contents of a remote file |
mega_tree | Show directory tree structure |
mega_find | Search for files with wildcard patterns |
| Tool | Description |
|---|---|
mega_get | Download files to local filesystem |
mega_put | Upload files to MEGA cloud |
mega_transfers | Show current upload/download progress |
mega_sync | Set up bidirectional folder sync |
| Tool | Description |
|---|---|
mega_export | Create a public link (with optional expiry and password) |
mega_share | Share a folder with another MEGA user (r/rw/full) |
mega_import | Import a public MEGA link to your account |
Install MEGAcmd:
Log in to your MEGA account:
@modelcontextprotocol/sdk -- MCP protocol SDKShowcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mega)<a href="https://allmcps.com/mcp/mega"><img src="https://allmcps.com/api/badge/mega?style=directory" alt="Mega on AllMCPs" /></a>