Serveur MCP

SafeResize

com.saferesize/saferesize
Juridique et conformité Public et accessible MCP 2026-07-28

Ce que fait ce MCP

Provides sourced passport and visa photo requirements and interprets website upload limits for file size, dimensions, and formats.

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).
Lecture seule
Schéma d’entrée
{'type': 'object', 'required': ['rules_text'], 'properties': {'width': {'type': 'integer'}, 'format': {'type': 'string', 'description': 'jpg, png, webp or pdf'}, 'height': {'type': 'integer'}, 'rules_text': {'type': 'string', 'description': "The website's rules as written"}, 'file_size_bytes': {'type': 'integer', 'description': 'Exact size in bytes'}}}
find_photo_requirements
Find a passport or visa photo document
Search SafeResize's verified list of 83 passport and visa photo documents (49 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.
Lecture seule
Schéma d’entrée
{'type': 'object', 'required': ['query'], 'properties': {'limit': {'type': 'integer', 'maximum': 25, 'minimum': 1, 'description': 'Maximum results (default 8)'}, 'query': {'type': 'string', 'description': 'Country, document or form, e.g. "UK passport" or "DS-160"'}}}
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. Always tell the user to confirm on the official source before applying.
Lecture seule
Schéma d’entrée
{'type': 'object', 'required': ['document_id'], 'properties': {'document_id': {'type': 'string', 'description': 'From find_photo_requirements, e.g. "us-visa", "uk-passport", "schengen-visa", "in-oci"'}}}
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.
Lecture seule
Schéma d’entrée
{'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string', 'description': 'The rules exactly as the website writes them'}}}
Ajouté
check_file_numbers
1 October 2026 02:40
Ajouté
interpret_upload_rules
1 October 2026 02:40
Ajouté
get_photo_requirements
1 October 2026 02:40
Ajouté
find_photo_requirements
1 October 2026 02:40