npm mega-mcp-serverstdioMITupdated 5mo ago
MCP server for MEGA encrypted cloud storage. Provides file management, uploads, downloads, sharing, folder sync, and search via MEGAcmd.
¿Qué puedes hacer con mega?
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 |
|---|---|
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 |
File Operations
| 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 |
Transfer
| 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 |
Sharing
| 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 |
Prerequisites
Install MEGAcmd:
brew install --cask megacmd
Log in to your MEGA account:
mega-login your@email.com 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
Instalación
Añade mega a tu cliente. Elige el que uses.
claude mcp add mega-mcp-server -- npx -y mega-mcp-servercodex mcp add mega-mcp-server -- npx -y mega-mcp-serveramp mcp add mega-mcp-server -- npx -y mega-mcp-server{
"mcpServers": {
"mega-mcp-server": {
"command": "npx",
"args": [
"-y",
"mega-mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mega-mcp-server": {
"command": "npx",
"args": [
"-y",
"mega-mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mega-mcp-server","command":"npx","args":["-y","mega-mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mega-mcp-server": {
"command": "npx",
"args": [
"-y",
"mega-mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mega-mcp-server": {
"command": "npx",
"args": [
"-y",
"mega-mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mega-mcp-server": {
"command": "npx",
"args": [
"-y",
"mega-mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mega-mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"mega-mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mega-mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"mega-mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y mega-mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Puntuación
39 / 100
Incompleta
- Documentación18/25
- Mantenimiento13/25
- Confianza13/20
- Capacidad0/15
- Instalación12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 168 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Historial de versiones
| Versiones | Publicada |
|---|---|
| 1.0.1Última | 14 feb 2026 |