Filetourl

org.filetourl由 filetourl.org 发布官方发布者v1.0.0更新于 Oct 25, 2026

Upload a file and get a public shareable URL via API or MCP.

已验证Streamable HTTP可网页运行云端与基础设施文件与存储

概览

AI 生成的概览

一个远程 MCP 服务器,让助手在 filetourl.org 上托管文件并获得公开可分享的链接。

可以做什么
预留一个短期有效的上传 URL,用一次 HTTP PUT 自行发送文件字节,之后可选地确认上传并取回最终大小和链接。以 base64 内联方式托管小文件。对大文件进行分块上传:开始上传、按顺序发送分块,然后完成并取得可分享链接。查询此前创建的链接是否仍然有效、处于待上传或已过期状态。
适用场景
当助手需要把文件变成可分享的公开链接时使用,尤其适合只允许访问受信任域名的沙箱环境。普通文件优先使用预留上传 URL,较大文件使用分块上传。
运行要求
远程端点 filetourl.org,使用 streamable HTTP;未声明本地运行时、环境变量或请求头。内联 base64 上传工具需要 FileToUrl Developer API key。需要能访问 filetourl.org 的网络出口。
安装前请注意
上传的文件会通过可分享链接公开可访问,请勿发送机密或个人数据。内联 base64 工具需要 Developer API key,且超过约 100KB 时速度慢、成本高。链接会过期,预留的上传在字节到达前显示为待上传。内联工具仅用于用户自己的文件。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/org.filetourl%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "filetourl": {
      "type": "http",
      "url": "https://filetourl.org/api/mcp"
    }
  }
}

工具

7

create_upload_url

Preferred way to host a file. Reserves a link and returns a short-lived upload_url on filetourl.org itself, safe for AI agent sandboxes that only allow egress to trusted domains, since the upload never has to leave filetourl.org. Send the raw file bytes yourself with a single HTTP PUT to that URL (do not read the file into this conversation, and do not base64-encode it). The public_url returned works as soon as the PUT succeeds. Needs a FileToUrl Developer API key.

输入参数file_name必填content_type

confirm_upload

Optional. Confirm that the PUT to a create_upload_url upload_url finished, and get the final size and link back. The link also activates without this call, this just verifies it.

输入参数id必填

upload_file

Host a small file by sending its bytes inline as base64. Prefer create_upload_url instead: inline base64 is slow and costly above roughly 100KB. For a user's own files only. Needs a FileToUrl Developer API key.

输入参数file_name必填file_content必填

get_file_status

Look up whether a link created earlier is still active. Reports 'pending' for a reserved upload whose bytes have not arrived yet, and 'expired' once its upload window has passed.

输入参数id必填

start_upload

Begin a chunked upload for larger files. Returns an upload_id and recommended chunk size. Use this instead of upload_file for files over ~2MB.

输入参数file_name必填

upload_chunk

Send one chunk of a file started with start_upload. Call repeatedly with increasing chunk_index (starting at 0) until the whole file is sent, then call finish_upload.

输入参数upload_id必填chunk_index必填chunk_content必填

finish_upload

Complete a chunked upload after all chunks have been sent via upload_chunk. Assembles the file, uploads it, and returns the shareable URL.

输入参数upload_id必填

版本历史

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

评分

已满足适用检查项的 83%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。