Serveur MCP

docraptor

io.usefulapi/docraptor
Outils développeur Productivité Public et accessible MCP 2026-07-28

Ce que fait ce MCP

Converts HTML or web URLs into hosted or downloadable PDF and Excel documents, with asynchronous jobs, status checks, and document metadata.

docraptor_create_document
Create a document (PDF/XLS/XLSX)
Generate a PDF or Excel document from HTML (document_content) or a URL (document_url). Exactly one of document_content / document_url is required. By default the document is HOSTED and the tool returns a { download_url } you can fetch — ideal for agents (no large binary in the response). Set hosted:false to get the raw document back as base64, or async:true to enqueue a job and poll docraptor_get_document_status. IMPORTANT: real documents consume account credits (billed). Set test:true to generate a FREE, watermarked document while developing. DocRaptor API: POST /docs.
Destructif
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'tag': {'type': 'string', 'description': 'An arbitrary tag string for your own reporting/grouping.'}, 'name': {'type': 'string', 'maxLength': 200, 'description': 'A name for the document (<=200 chars), shown in the DocRaptor dashboard/listing.'}, 'test': {'type': 'boolean', 'description': 'If true, generate a FREE watermarked test document (does not consume credits). Default false = a real, BILLED document.'}, 'type': {'enum': ['pdf', 'xls', 'xlsx'], 'type': 'string', 'description': 'Output format: pdf (default), xls, or xlsx.'}, 'async': {'type': 'boolean', 'description': 'If true, enqueue the job and return a status_id (poll with docraptor_get_document_status). Best for large/slow documents. Default false.'}, 'hosted': {'type': 'boolean', 'description': 'If true (default), DocRaptor hosts the file and returns a download_url. If false, the raw document is returned as base64.'}, 'pipeline': {'type': 'string', 'description': "Rendering pipeline/engine version, e.g. '10'. Omit to use DocRaptor's default."}, 'document_url': {'type': 'string', 'description': 'A URL DocRaptor will fetch and render. Use this OR document_content.'}, 'prince_options': {'type': 'object', 'properties': {'media': {'enum': ['print', 'screen'], 'type': 'string', 'description': 'CSS media type. "print" (default) vs "screen".'}, 'baseurl': {'type': 'string', 'description': 'Base URL for resolving relative asset paths in document_content.'}, 'pdf_title': {'type': 'string', 'description': 'Title metadata embedded in the PDF.'}, 'javascript': {'type': 'boolean', 'description': 'Run JavaScript in the document before rendering. Default false.'}, 'max_passes': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Max Prince layout passes (for JS-driven layouts).', 'exclusiveMinimum': 0}}, 'description': 'PDF engine (Prince) options. PDF only.'}, 'document_content': {'type': 'string', 'description': 'The HTML/XML source to render. Use this OR document_url.'}, 'hosted_expires_at': {'type': 'string', 'description': 'For hosted docs: ISO 8601 datetime when the hosted link expires.'}, 'hosted_download_limit': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'For hosted docs: max number of downloads before the link expires.', 'exclusiveMinimum': 0}}}
docraptor_get_document_status
Get async document status
Check the status of an asynchronous document created with docraptor_create_document({async:true}). Returns status (queued | working | completed | failed), and when completed a download_url / download_id / number_of_pages. DocRaptor API: GET /status/{status_id}.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['status_id'], 'properties': {'status_id': {'type': 'string', 'description': 'The status_id returned by docraptor_create_document when async:true.'}}}
docraptor_list_documents
List documents
List metadata for documents created on this account, most recent first (paginated). Note: DocRaptor does not retain the rendered files themselves — this returns metadata such as name, type, test flag, and creation time. DocRaptor API: GET /docs.json.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Pagination page number. Default 1.', 'exclusiveMinimum': 0}, 'per_page': {'type': 'integer', 'maximum': 100, 'description': 'Documents per page (max 100). Default 100.', 'exclusiveMinimum': 0}}}
docraptor_list_ip_addresses
List DocRaptor IP addresses
List the IP addresses DocRaptor uses to fetch remote assets / document_url. Useful for allowlisting DocRaptor on a firewall or asset host. (DocRaptor notes these change over time — prefer HTTP Basic auth over IP allowlisting for securing assets.) DocRaptor API: GET /ips.json.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
Modifié
docraptor_list_ip_addresses
1 October 2026 02:50
Modifié
docraptor_list_documents
1 October 2026 02:50
Modifié
docraptor_get_document_status
1 October 2026 02:50
Modifié
docraptor_create_document
1 October 2026 02:50
Ajouté
docraptor_list_ip_addresses
17 September 2026 12:53
Ajouté
docraptor_list_documents
17 September 2026 12:53
Ajouté
docraptor_get_document_status
17 September 2026 12:53
Ajouté
docraptor_create_document
17 September 2026 12:53