mcpField
M
mega

mega

Local
github.com/ExpertVagabondFiles & Storage0Updated 32w ago

About mega

mega is an MCP server for managing MEGA encrypted cloud storage through MEGAcmd. It covers file operations, transfers, search, synchronization, and sharing.

Key features

  1. 01Browse and manage files and folders
  2. 02Upload and download files
  3. 03Search with wildcard patterns
  4. 04Set up bidirectional folder sync
  5. 05Create links and share folders

Use cases

  1. 01Organize files in a MEGA account
  2. 02Transfer files between local storage and MEGA
  3. 03Find files or share folders and public links

MCP support

Exposes MEGAcmd-based MEGA account, file, transfer, synchronization, search, and sharing operations as tools for MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"expertvagabond-mega": {
"command": "npx",
"args": [
"-y",
"mega-mcp-server"
]
}
}
}
Run commandnpx -y mega-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmega-mcp-server1.0.1

Tools

20

Saved tool list · updated 2w ago

This tool takes no parameters.

Details

From the project README

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
ToolDescription
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
File Operations
ToolDescription
mega_lsList files and folders (supports -l and -R)
mega_mkdirCreate a directory (supports -p)
mega_rmRemove files or folders
mega_mvMove or rename files and folders
mega_cpCopy files and folders
mega_catDisplay contents of a remote file
mega_treeShow directory tree structure
mega_findSearch for files with wildcard patterns
Transfer
ToolDescription
mega_getDownload files to local filesystem
mega_putUpload files to MEGA cloud
mega_transfersShow current upload/download progress
mega_syncSet up bidirectional folder sync
Sharing
ToolDescription
mega_exportCreate a public link (with optional expiry and password)
mega_shareShare a folder with another MEGA user (r/rw/full)
mega_importImport a public MEGA link to your account

Prerequisites

Install MEGAcmd:

brew install --cask megacmd

Log in to your MEGA account:

mega-login [email protected] password

Install

npm install
npm run build

Configuration

{
  "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 SDK
  • MEGAcmd -- MEGA command-line client (must be installed separately)

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.