MCP Photo

fr.custom-digital-services由 custom-digital-services.fr 發布v1.0.0更新於 Oct 26, 2026

List ID photo presets, plan print layouts, and render printable HTML photo sheets.

發布方自己的服務:Parsedoc

已驗證Streamable HTTP可網頁執行效率與工作流媒體與設計

概覽

AI 產生的概覽

列出證件照規格預設、規劃列印排版,並渲染以實際尺寸平鋪照片的可列印 HTML 頁面。

可以做什麼
  • 列出法國與加拿大的證件照預設,包含精確公釐尺寸、頭部高度區間、背景規則與官方來源,以及紙張格式與格線版面
  • 在不渲染的情況下規劃列印頁:依預設或自訂公釐決定照片尺寸、計算照片數量並檢查格線是否符合可列印區域
  • 渲染自包含的可列印 HTML 頁面,將一張照片以實際實體尺寸依欄列格線平鋪,可選裁切輔助線與縮放/位移取景
適用情境
適合需要依官方尺寸準備證件照列印、確認所選紙張與格線是否放得下,或依提供的圖片產生可列印排版頁的情況。
執行需求
遠端 streamable HTTP 端點;未宣告驗證、環境變數或標頭。渲染工具需要以 base64 data URL(JPEG 或 PNG)內嵌傳入照片。
安裝前請注意
照片會以 base64 內嵌資料傳送給第三方服務,請避免使用敏感圖片。預設僅涵蓋法國與加拿大,列印前請對照官方來源確認尺寸。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/fr.custom-digital-services%2Fmcp-photo/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "photo": {
      "type": "http",
      "url": "https://mcp-photo.custom-digital-services.com/mcp"
    }
  }
}

工具

3

list_photo_presets

List the supported ID-photo document presets (France and Canada, with exact millimetre sizes, head-height bands, background rules and official sources), the printable paper formats, the standard grid layouts and usage notes. Takes no parameters.

無需輸入參數。

plan_photo_sheet

Compute the layout of an ID-photo print sheet without rendering it: resolves the photo size from the preset (or custom millimetres), counts the photos, and checks whether the grid fits the printable area of the chosen paper. Returns a JSON plan with ok, photo/needed/usable dimensions and a message; ok is false (never an error) when the grid does not fit.

輸入參數colsrowsgapMmpaperpresetmarginMmcustomWidthMmcustomHeightMm

render_photo_sheet_html

Render a self-contained, printable HTML sheet tiling one ID photo at real physical size across a cols x rows grid on the chosen paper, with optional cut guides and image framing (zoom/offset). Pass the photo as an inline base64 data URL (image/jpeg or image/png); without one, the sheet prints sized placeholders. If the grid does not fit the paper, the tool returns a structured error with the exact needed and usable dimensions and renders nothing. WARNING: a base64 image payload is large and is echoed back inside the returned HTML, so it consumes a lot of the calling LLM client's context window; resize/compress the image (small JPEG, 3 MB decoded max) before calling, and prefer plan_photo_sheet when you only need the geometry.

輸入參數colsrowszoomgapMmpaperpresetmarginMmcutGuidesoffsetXPctoffsetYPctimageDataUrlcustomWidthMm另有 1 個

版本歷史

1
  1. v1.0.0最新Oct 23, 2026

評分

已滿足適用檢查項的 72%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分

    請在註冊中心條目中發布圖示。

  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

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

其他 Custom-Digital-Services 整合