Mega

io.github.ExpertVagabond由 GitHub 账号 ExpertVagabond 发布v1.0.1更新于 Oct 24, 2026

MEGA cloud storage CLI MCP server

概览

AI 生成的概览

通过 MEGAcmd 让助手管理 MEGA 加密云存储的 MCP 服务器:浏览、上传、下载、分享与同步文件。

可以做什么
  • 查看账户信息、存储用量并切换远程目录
  • 列出、创建、删除、移动、复制、读取和搜索文件与文件夹
  • 上传和下载文件,并查看传输进度
  • 创建带有效期和密码的公开链接、与其他 MEGA 用户共享文件夹、导入公开链接
  • 设置双向文件夹同步
适用场景
适合让助手直接处理已存放在 MEGA 账户中的文件,例如整理目录、在本机与云端之间搬运文件,或生成分享链接,而无需切换到 MEGA 客户端。
运行要求
以本地 stdio 进程运行,需 Node.js 启动 npm 包;必须另行安装 MEGAcmd,并事先登录 MEGA 账户。未声明任何 API 密钥或环境变量。
安装前请注意
工具可删除、移动、覆盖和上传文件,也能创建公开链接或与他人共享文件夹,操作会直接影响真实云端数据;分享与链接会把文件暴露到账户之外。登录凭据由 MEGAcmd 处理,而非本服务器。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mega,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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:

bash
brew install --cask megacmd

Log in to your MEGA account:

bash
mega-login [email protected] password

Install

bash
npm installnpm run build

Configuration

json
{  "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

来源:README.md,提交 359df1d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分