mega-mcp-server
Provides file management for MEGA encrypted cloud storage, including uploads, downloads, sharing, folder sync, and search via MEGAcmd.
Click on "Install 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-serverupload 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 |
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
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ExpertVagabond/mega-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server