mega
v1.0.1MEGA cloud storage CLI MCP server
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mega_whoami
Get current logged-in MEGA account information
mega_ls
List files and folders in MEGA cloud storage
| Parameter | Type | Description |
|---|---|---|
long | boolean | Show detailed listing with sizes and dates |
path | string | Remote path to list (default: current directory) |
recursive | boolean | List recursively |
mega_cd
Change current working directory in MEGA cloud
| Parameter | Type | Description |
|---|---|---|
path * | string | Remote path to change to |
mega_pwd
Print current working directory in MEGA cloud
mega_mkdir
Create a directory in MEGA cloud storage
| Parameter | Type | Description |
|---|---|---|
path * | string | Remote path for new directory |
parents | boolean | Create parent directories as needed |
mega_rm
Remove files or folders from MEGA cloud storage
| Parameter | Type | Description |
|---|---|---|
path * | string | Remote path to remove |
force | boolean | Force removal without confirmation |
recursive | boolean | Remove directories recursively |
mega_mv
Move or rename files/folders in MEGA cloud storage
| Parameter | Type | Description |
|---|---|---|
destination * | string | Destination remote path |
source * | string | Source remote path |
mega_cp
Copy files/folders within MEGA cloud storage
| Parameter | Type | Description |
|---|---|---|
destination * | string | Destination remote path |
source * | string | Source remote path |
mega_get
Download files from MEGA cloud to local filesystem
| Parameter | Type | Description |
|---|---|---|
remote_path * | string | Remote path in MEGA to download |
local_path | string | Local destination path (default: current directory) |
mega_put
Upload files from local filesystem to MEGA cloud
| Parameter | Type | Description |
|---|---|---|
local_path * | string | Local file/folder path to upload |
remote_path | string | Remote destination path in MEGA |
mega_df
Show MEGA cloud storage space usage
| Parameter | Type | Description |
|---|---|---|
human | boolean | Show sizes in human-readable format |
mega_du
Show disk usage of remote path
| Parameter | Type | Description |
|---|---|---|
human | boolean | Show sizes in human-readable format |
path | string | Remote path to check |
mega_find
Search for files/folders in MEGA cloud storage
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Search pattern (supports wildcards) |
path | string | Path to search in (default: /) |
mega_export
Create a public link for a file/folder
| Parameter | Type | Description |
|---|---|---|
path * | string | Remote path to export |
expire | string | Expiration time (e.g., '1d', '1w', '1m') |
password | string | Password protect the link |
mega_transfers
Show current transfers (uploads/downloads)
| Parameter | Type | Description |
|---|---|---|
show_completed | boolean | Include completed transfers |
mega_sync
Set up sync between local and remote folders
| Parameter | Type | Description |
|---|---|---|
list_only | boolean | Just list current syncs instead of creating new one |
local_path | string | Local folder path |
remote_path | string | Remote MEGA folder path |
mega_tree
Show directory tree structure
| Parameter | Type | Description |
|---|---|---|
path | string | Remote path to show tree for |
mega_cat
Display contents of a remote file
| Parameter | Type | Description |
|---|---|---|
path * | string | Remote file path to display |
mega_import
Import a public MEGA link to your account
| Parameter | Type | Description |
|---|---|---|
link * | string | MEGA public link to import |
remote_path | string | Destination path in your MEGA |