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 分