SafeResize

com.saferesize由 saferesize.com 发布官方发布者v0.1.17更新于 Oct 25, 2026

Passport and visa photo rules for 110 documents in 60 countries, and upload limits as exact numbers.

已验证Streamable HTTP可网页运行效率与工作流文件与存储

概览

AI 生成的概览

SafeResize 提供 60 个国家 110 种证件的官方护照和签证照片要求,并帮助把网站上传规则解读为确切的文件、像素和大小限制。

可以做什么
按国家、证件或表格名称搜索并查询护照、签证和身份证件的官方照片要求,包括尺寸、像素、KB 限制、背景和来源日期。
适用场景
当有人需要护照、签证或证件申请的官方照片规格,或在提交照片前需要理解网站的文件上传限制时使用。
运行要求
位于 saferesize.com 的远程端点;未声明身份验证、环境变量或请求头。
安装前请注意
回答会引用官方来源,但规则可能变化;提交前请对照官方来源核实。check_file_numbers 工具只比对您提供的数字,不会发送文件。免费照片工具的链接会在用户浏览器中打开。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "saferesize": {
      "type": "http",
      "url": "https://saferesize.com/mcp"
    }
  }
}

工具

4

find_photo_requirements

Find a passport or visa photo document

Search SafeResize's verified list of 110 passport and visa photo documents (60 countries and regions) by country, document or form name, e.g. "US visa", "DS-160", "Schengen", "India OCI", "Dubai". Returns matching documents with their document_id.

输入参数limitquery必填

get_photo_requirements

Get the official photo rules for a document

Official photo rules for one document: printed size, pixel rule, file size in KB, file type, background, head size, other rules, whether a self-made photo is accepted, the official source URL and the date SafeResize checked it, plus a link to make the photo free at saferesize.com.

输入参数document_id必填

interpret_upload_rules

Read a website's upload rules

Turn the upload rules a website shows (e.g. "JPG only, 10 KB to 50 KB, 200 x 230 pixels" or "PDF not more than 1 MB") into exact numbers: KB limits, a byte range that passes whether the site counts 1 KB as 1,000 or 1,024 bytes, pixels, file type, and the SafeResize tool that fixes the file.

输入参数text必填

check_file_numbers

Check file numbers against upload rules

Check a file's size in bytes, pixels and type against a website's upload rules, without sending the file. Use when you already know the numbers (e.g. from the file's properties).

输入参数widthformatheightrules_text必填file_size_bytes

版本历史

3
  1. v0.1.17最新Oct 25, 2026
  2. v0.1.7Oct 9, 2026
  3. v0.1.0Sep 29, 2026

评分

已满足适用检查项的 83%

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

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

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

  • 许可证不适用

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