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 集成