mega

v1.0.1
io.github.ExpertVagabond/mega Checked 2 days ago Published 9 months ago

MEGA 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

ParameterTypeDescription
longbooleanShow detailed listing with sizes and dates
pathstringRemote path to list (default: current directory)
recursivebooleanList recursively

mega_cd

Change current working directory in MEGA cloud

ParameterTypeDescription
path *stringRemote path to change to

mega_pwd

Print current working directory in MEGA cloud

mega_mkdir

Create a directory in MEGA cloud storage

ParameterTypeDescription
path *stringRemote path for new directory
parentsbooleanCreate parent directories as needed

mega_rm

Remove files or folders from MEGA cloud storage

ParameterTypeDescription
path *stringRemote path to remove
forcebooleanForce removal without confirmation
recursivebooleanRemove directories recursively

mega_mv

Move or rename files/folders in MEGA cloud storage

ParameterTypeDescription
destination *stringDestination remote path
source *stringSource remote path

mega_cp

Copy files/folders within MEGA cloud storage

ParameterTypeDescription
destination *stringDestination remote path
source *stringSource remote path

mega_get

Download files from MEGA cloud to local filesystem

ParameterTypeDescription
remote_path *stringRemote path in MEGA to download
local_pathstringLocal destination path (default: current directory)

mega_put

Upload files from local filesystem to MEGA cloud

ParameterTypeDescription
local_path *stringLocal file/folder path to upload
remote_pathstringRemote destination path in MEGA

mega_df

Show MEGA cloud storage space usage

ParameterTypeDescription
humanbooleanShow sizes in human-readable format

mega_du

Show disk usage of remote path

ParameterTypeDescription
humanbooleanShow sizes in human-readable format
pathstringRemote path to check

mega_find

Search for files/folders in MEGA cloud storage

ParameterTypeDescription
pattern *stringSearch pattern (supports wildcards)
pathstringPath to search in (default: /)

mega_export

Create a public link for a file/folder

ParameterTypeDescription
path *stringRemote path to export
expirestringExpiration time (e.g., '1d', '1w', '1m')
passwordstringPassword protect the link

mega_share

Share a folder with another MEGA user

ParameterTypeDescription
email *stringEmail of user to share with
path *stringRemote folder path to share
access_levelstringAccess level: 'r' (read), 'rw' (read-write), 'full' (full access)

mega_transfers

Show current transfers (uploads/downloads)

ParameterTypeDescription
show_completedbooleanInclude completed transfers

mega_sync

Set up sync between local and remote folders

ParameterTypeDescription
list_onlybooleanJust list current syncs instead of creating new one
local_pathstringLocal folder path
remote_pathstringRemote MEGA folder path

mega_tree

Show directory tree structure

ParameterTypeDescription
pathstringRemote path to show tree for

mega_cat

Display contents of a remote file

ParameterTypeDescription
path *stringRemote file path to display

mega_import

Import a public MEGA link to your account

ParameterTypeDescription
link *stringMEGA public link to import
remote_pathstringDestination path in your MEGA