IDPhoto.ai Passport & Visa Photos
Turn a portrait into a compliant passport, visa or ID photo. 300+ official specs, 3 free a day.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"mcp": {
"url": "https://mcp.idphoto.ai/mcp"
}
}
}远程端点
https://mcp.idphoto.ai/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢make_id_photo(specCode, imageBase64)
Turn a portrait photo into a compliant passport / visa / ID photo for a given document spec (cropping, resizing, background replacement, quality checks). Returns a temporary download URL for the finished JPEG, its pixel/physical size, and any detected quality issues (e.g. ISSUE_EYEGLASSES_NOT_ALLOWED) that may require a retake. Use list_photo_specs or get_photo_spec first if you are unsure of the specCode. The input image must be base64 (data URI prefix allowed), at most ~4 MB decoded, showing one person facing the camera. Without API credentials this is limited to 3 photos per day.
输入模式
{
"type": "object",
"properties": {
"specCode": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Document spec code, e.g. 'us-passport', 'uk-passport', 'schengen-visa'. Specs starting with 'ai-' use AI generation and may be slow."
},
"imageBase64": {
"type": "string",
"minLength": 1,
"description": "Source portrait as base64 (JPEG/PNG). A 'data:image/jpeg;base64,' prefix is optional."
}
},
"required": [
"specCode",
"imageBase64"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_photo_specs
List all supported passport / visa / ID photo specifications as specCode + human-readable name (e.g. 'us-passport' = 'US Passport'). Use this to find the specCode for make_id_photo.
输入模式
{
"type": "object",
"properties": {}
}🟢get_photo_spec(specCode)
Get the detailed requirements of one photo spec: physical size, pixel size, DPI, background color, head height / eye position guidance, glasses and expression rules.
输入模式
{
"type": "object",
"properties": {
"specCode": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Spec code from list_photo_specs, e.g. 'us-passport'."
}
},
"required": [
"specCode"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_usage
Show remaining quota. With API credentials: the idphoto.ai account status and remaining make-photo quota. Without credentials: how many free make_id_photo calls are left today.
输入模式
{
"type": "object",
"properties": {}
}社区
证据