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 分