FileSeal Secure Send

io.github.fileseal由 GitHub 帳號 fileseal 發布v0.1.3更新於 Oct 24, 2026

Send a file to a person as a one-time, encrypted, auto-deleting download link.

已驗證STDIO僅桌面檔案與儲存安全與監控

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理在使用者端加密檔案,並透過 FileSeal 產生一次性、會過期的下載連結,還能查詢或撤銷這些傳送。

可以做什麼
在使用者端加密一個或多個檔案並建立分享連結,可選擇把金鑰放在連結片段中的連結模式,或寄送郵件連結給收件人,並可設定有效期限、留言和寄件人名稱。查詢某次傳送的狀態、到期時間、下載次數和稽核事件。撤銷某次傳送,讓連結立即失效,並由 FileSeal 嘗試刪除已儲存的檔案。
適用情境
適合讓助理以加密、自動失效的下載連結把文件或圖片交給他人,而不是用郵件附件,並在之後管理或撤銷這些連結。
執行需求
以 stdio 方式在本機執行,通常由 MCP 用戶端透過 npx 啟動 npm 套件 @fileseal/send(需要 Node.js)。需要在 FileSeal 設定中建立 API 金鑰並放入 FILESEAL_API_KEY,未設定時伺服器啟動即結束。選用的 FILESEAL_API_BASE_URL 預設指向 FileSeal 服務。需要能連線到 FileSeal 的網路。
安裝前請注意
API 金鑰是每次呼叫都會送出的 bearer 憑證,不要寫進共用的設定檔。傳送紀錄與金鑰綁定,只能看到用同一把金鑰建立的傳送。檔案名稱、寄件人名稱和留言以明文儲存,任何拿到連結的人都看得到,留言中不要放機密。郵件模式會把解密金鑰保存在伺服器端。撤銷會刪除檔案且無法復原。上傳上限為 10 個檔案、總計 3 MB。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 FileSeal Secure Send,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

fileseal-send (MCP server)

A standalone Model Context Protocol stdio server that wraps the FileSeal Secure Send API (/v1/sends). It encrypts files client-side (AES-GCM-256) before they ever reach FileSeal and exposes three tools to an MCP client (e.g. Claude).

This package is self-contained: it does not import from the FileSeal Next app. Its crypto (crypto.mjs) mirrors FileSeal's server-side attachment format byte-for-byte (a 12-byte IV followed by AES-GCM ciphertext, with the key base64url-encoded in the link fragment), so that ciphertext it produces decrypts on the FileSeal /receive/[id] page. That page fixes the format: a changed crypto.mjs produces links that will not open.

Tools

  • secure_send: encrypt one or more files and create a send.
    • Inputs: filePath, or filePaths (up to 10 files under one link), or (fileBase64 + filename + mimeType), recipientEmail?, deliveryMode ('link' default | 'email'), expiryHours? (1-168, default 48), message?, senderName?.
    • link mode (default, zero-knowledge for the file): the AES key is never sent to FileSeal; the tool returns the full share link with the key in its #k= fragment.
    • email mode: FileSeal emails the recipient a working link and stores the key server-side. Requires recipientEmail. Pass senderName too: without it the email says the files are from "Someone".
    • Not encrypted, in either mode: the file name, senderName and message. FileSeal stores them as plain text and anyone with the link can read them, so keep secrets out of message.
    • Several files: pass them together as filePaths to send them under one link. Calling once per file makes a separate link for each.
    • Limits: up to 10 files per call, 3 MB in total. The files travel inline as base64 in the request body, which is what caps it; FileSeal's own 10 MB per file is not reachable through this tool. Types: PDF, DOC, DOCX, TXT, JPG, PNG.
  • send_status: { id } → status, expiry, download count, audit events. Only sends created with the same API key are visible.
  • revoke_send: { id } → the link stops working immediately, and FileSeal attempts to delete the encrypted files from its servers.

Environment variables

VariableRequiredDefaultPurpose
FILESEAL_API_KEYyesnoneBearer token sent as Authorization: Bearer <key> on every call. The server exits at startup if unset.
FILESEAL_API_BASE_URLnohttps://fileseal.ukAPI origin. Change it only to point at another FileSeal instance, such as http://localhost:3000 when developing FileSeal itself. Routes are <base>/v1/sends. Versions before 0.1.3 defaulted to http://localhost:3000, so set it explicitly if you pin an older version.

Running

No install needed: npx fetches and runs the latest published version:

bash
FILESEAL_API_KEY=fsk_... \FILESEAL_API_BASE_URL=https://fileseal.uk \npx -y @fileseal/send

The server speaks MCP over stdio, so it's normally launched by an MCP client rather than run by hand.

Run from source
bash
# from this package's directorynpm installFILESEAL_API_KEY=fsk_... \FILESEAL_API_BASE_URL=https://fileseal.uk \node index.mjs

Wiring into Claude (.mcp.json)

json
{  "mcpServers": {    "fileseal-send": {      "command": "npx",      "args": ["-y", "@fileseal/send"],      "env": {        "FILESEAL_API_KEY": "fsk_your_api_key_here",        "FILESEAL_API_BASE_URL": "https://fileseal.uk"      }    }  }}

The "fileseal-send" key is just the local server label; the npm package is @fileseal/send. To run a local checkout instead, point command/args at your copy of index.mjs.

As a Claude Code plugin

The claude-plugin/ folder packages this server as a Claude Code plugin, with a skill that tells Claude how to use it. The plugin asks for your API key when you enable it and keeps it in secure storage rather than in your settings files. To install it from this repository:

text
/plugin marketplace add fileseal/mcp-send/plugin install fileseal@fileseal

It works in Claude Code only. The plugin's README explains why, and lists what it runs and sends.

來源:README.md,提交 f5f1dab

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.1.3最新Sep 26, 2026
  2. v0.1.1Sep 24, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分