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。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。