PreteWorks API
com.preteworks/preteworks-api
Serveur MCP OK
Faire examiner Voir les tarifs
One key for the document-to-web pipeline: scrape, AI-extract, build & edit PDFs, fill forms.
Fiche technique
- Auteur
- preteworks.com (espace de noms du registre)
- Dépôt
- —
- Site
- api.preteworks.com
- Version
- 1.0.2
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.preteworks.com/mcp Streamable HTTP en-tête requis :
Authorization - Outils
- 29
- Catégories
- Recherche et web
- Dernière mise à jour
- 8 sept. 2026
- Publication
- 8 sept. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.preteworks/preteworks-api)<a href="https://latlas.dev/mcp/com.preteworks/preteworks-api"><img src="https://latlas.dev/badge/fiche/com.preteworks/preteworks-api.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://api.preteworks.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 09:28
- Temps de réponse
- 2 006 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- preteworks 1.1.0
- Outils
- 29
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 09:28 | OK | 2 006 ms | 29 |
Outils exposés (29, réponse à tools/list, 28 nov. 2026)
render_html_to_pdf
Render HTML to PDF
Render a full HTML document to a PDF. External subresources are blocked for safety — inline images/fonts as data: URIs. Returns a file_id (for chaining) and a ~1h download URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| html | string | oui | The complete HTML document to render. |
number_pdf
Number PDF pages
Stamp a page number on every page. position: bottom-center (default) | bottom-left | bottom-right | top-center | top-left | top-right. format supports {n} and {total}. Returns a file_id + ~1h URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | A file_id from a prior tool result, or a base64-encoded PDF. | |
| position | string | non | Where to place it (default bottom-center). |
| start | number | non | First page's number (default 1). |
| format | string | non | e.g. '{n}' or '{n} / {total}' (default '{n}'). |
pdf_info
Read PDF info
Read a PDF's metadata (title, author, subject, keywords, creator, producer, dates) plus page count and page size, as JSON.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | A file_id from a prior tool result, or a base64-encoded PDF. |
set_pdf_metadata
Set PDF metadata
Set a PDF's title, author, subject, keywords (array or comma string) and/or creator. Only the fields you provide change. Returns a file_id + ~1h URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | A file_id from a prior tool result, or a base64-encoded PDF. | |
| title | string | non | |
| author | string | non | |
| subject | string | non | |
| keywords | string | array<string> | non | |
| creator | string | non |
render_document
Generate a document
Render a structured document to a PDF from a named template (invoice, receipt, report). Money/totals are computed for you. Returns a file_id (for chaining) and a ~1h download URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| template | enum: "invoice" | "receipt" | "report" | oui | Document template. |
| data | object | oui | Template data. invoice/receipt: {seller:{name,address?,email?,logo_url?(data: URI)}, buyer?:{name,address?,email?}, number?, issued?/date?, due?, currency?, items:[{description,qty,unit_price}], tax_rate?, notes?, terms?}; receipt also takes amount_paid?, payment_method?. report: {title, subtitle?,… |
merge_pdfs
Merge PDFs
Combine 2+ PDFs into a single PDF, in the order given. Inputs are file_ids (from prior tools) or base64 PDFs. Returns a file_id (for chaining) and a ~1h download URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdfs | array<string> | oui | 2+ PDF sources. Each: A file_id from a prior tool result, or a base64-encoded PDF. |
select_pages
Select PDF pages
Keep only the specified pages of a PDF (e.g. [1,3,5]) and drop the rest, preserving order. Returns a file_id (for chaining) and a ~1h download URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | A file_id from a prior tool result, or a base64-encoded PDF. | |
| pages | string | oui | Pages to keep, e.g. '1,3,5-7'. |
rotate_pdf
Rotate PDF
Rotate every page of a PDF by 90, 180, or 270 degrees (clockwise). Returns a file_id (for chaining) and a ~1h download URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | A file_id from a prior tool result, or a base64-encoded PDF. | |
| degrees | number | oui | 90, 180, or 270. |
watermark_pdf
Watermark PDF
Stamp a diagonal grey text watermark (e.g. "DRAFT", "CONFIDENTIAL") across every page of a PDF. Returns a file_id (for chaining) and a ~1h download URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | A file_id from a prior tool result, or a base64-encoded PDF. | |
| text | string | oui | The watermark text. |
extract_pdf_text
Extract text from a PDF
Extract the text content of a PDF — for RAG, summarization, or search. Accepts a file_id (from a prior tool) or a base64-encoded PDF, and returns the text inline. Not OCR: a scanned/image-only PDF returns little or no text.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | A file_id from a prior tool result, or a base64-encoded PDF. |
images_to_pdf
Images to PDF
Combine PNG/JPEG images (base64) into a PDF, one image per page. Returns a file_id and a ~1h URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| images | array<string> | oui | Base64-encoded PNG/JPEG images, one per page (max 20). |
markdown_to_pdf
Render Markdown to PDF
Render Markdown to a clean, print-styled PDF. Returns a file_id and a ~1h URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| markdown | string | oui | The Markdown to render. |
| title | string | non | Document title. |
split_pdf
Split a PDF
Split a PDF into multiple PDFs — one per page by default, or by page ranges like '1-3;4-6'. Returns a file_id + URL per part.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | A file_id from a prior tool result, or a base64-encoded PDF. | |
| ranges | string | non | e.g. '1-3;4-6'. Omit to split every page. |
read_pdf_form
Read a PDF form
List a PDF's form fields (name, type, value, options) as JSON.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | A file_id from a prior tool result, or a base64-encoded PDF. |
fill_pdf_form
Fill a PDF form
Fill a PDF's form fields from a map of field -> value; optionally flatten. Returns a file_id and a ~1h URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| string | oui | A file_id from a prior tool result, or a base64-encoded PDF. | |
| fields | object | oui | Map of field name to value. |
| flatten | boolean | non | Flatten the form after filling (default false). |
file_to_markdown
File to Markdown
Convert a Word (.docx), Excel (.xlsx) or CSV file (base64) into clean Markdown — for RAG, agents and pipelines. DOCX keeps headings/lists/tables; spreadsheets become Markdown tables (one per sheet). Returns Markdown inline. Optional 'format' (docx|xlsx|csv) overrides auto-detection.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| file | string | oui | Base64-encoded .docx, .xlsx or .csv file. |
| format | enum: "docx" | "xlsx" | "csv" | non | Optional format hint; auto-detected if omitted. |
data_to_spreadsheet
Create a spreadsheet from rows
Turn rows of data into a downloadable XLSX (default) or CSV. 'rows' is an array of objects (keys → header row) or an array of arrays (first row is the header). Returns a file_id (for chaining) and a ~1h download URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| rows | array<any> | oui | Array of objects (keys→columns) or array of arrays (first row = header). |
| format | enum: "xlsx" | "csv" | non | Output format (default xlsx). |
| sheet_name | string | non | Worksheet name (default 'Sheet1'). |
batch_scrape
Batch: URLs to Markdown
Fetch up to 10 public URLs and return each as clean Markdown, in one call — for research/RAG over several pages at once. Private/internal hosts are blocked.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| urls | array<string> | oui | 1–10 http/https URLs. |
crawl_site
Crawl a site to Markdown
Fetch a URL plus up to 7 more same-origin pages it links to (≤8 total), each as clean Markdown. Bounded and synchronous. Private/internal hosts are blocked.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| url | string | oui | The root http/https URL. |
| limit | integer | non | Max pages incl. root (default 5, max 8). |
map_site
Map a site's URLs
Discover the same-origin URLs linked from a page — the site map, with no page content fetched. Private/internal hosts are blocked.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| url | string | oui | The http/https URL to map. |
extract_data
Extract structured data (AI)
Extract specified fields from a web page, PDF, or Office file as JSON, using AI. Provide 'fields' plus ONE source: a 'url', a 'pdf' (file_id or base64), or a 'file' (base64 .docx/.xlsx/.csv). Returns a JSON object mapping each field to its value, or null when absent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fields | array<string> | oui | Field names to extract, e.g. ['invoice total','due date']. |
| url | string | non | A public http/https URL to read. |
| string | non | A file_id from a prior tool result, or a base64-encoded PDF. | |
| file | string | non | A base64-encoded .docx, .xlsx or .csv file (converted to text first). |
summarize_document
Summarize a document (AI)
Summarize a web page, PDF, Office file (.docx/.xlsx/.csv), or raw text using AI. Provide ONE source: 'url', 'pdf' (file_id or base64), 'file' (base64), or 'text'. Optional 'max_words'. Returns the summary.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| url | string | non | A public http/https URL to read. |
| string | non | A file_id from a prior tool, or a base64-encoded PDF. | |
| file | string | non | A base64-encoded .docx, .xlsx or .csv file. |
| text | string | non | Raw text to summarize directly. |
| max_words | integer | non | Approximate target length in words. |
answer_from_document
Answer a question from a document (AI)
Answer a question grounded ONLY in a source document — a web page, PDF, Office file, or raw text. Provide 'question' plus ONE source: 'url', 'pdf', 'file' (base64), or 'text'. Says so when the answer isn't in the document.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| question | string | oui | The question to answer from the document. |
| url | string | non | A public http/https URL to read. |
| string | non | A file_id from a prior tool, or a base64-encoded PDF. | |
| file | string | non | A base64-encoded .docx, .xlsx or .csv file. |
| text | string | non | Raw text to answer from directly. |
docx_to_text
DOCX to text
Extract the text of a .docx document (base64). Returns the text inline.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| docx | string | oui | Base64-encoded .docx file. |
docx_to_pdf
DOCX to PDF
Convert a .docx document (base64) to a PDF. Returns a file_id and a ~1h URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| docx | string | oui | Base64-encoded .docx file. |
read_url
Read a web page as Markdown
Fetch a public http/https URL and return its main content as clean Markdown — ideal for giving an agent readable web content for research or RAG. Private/internal hosts are blocked.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| url | string | oui | The http/https URL to read. |
url_to_pdf
Snapshot a web page as PDF
Fetch a public http/https URL and render the live page to a PDF. Returns a file_id (chainable into the PDF tools) and a ~1h download URL. Private/internal hosts are blocked.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| url | string | oui | The http/https URL to snapshot. |
url_to_screenshot
Screenshot a web page
Fetch a public http/https URL and capture a PNG screenshot. Set full_page for the entire scroll height. Returns a file_id and a ~1h download URL.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| url | string | oui | The http/https URL to capture. |
| full_page | boolean | non | Capture the full scroll height (default: viewport). |
scrape_page
Scrape a web page (HTML + links + metadata)
Fetch a public http/https URL and return its rendered HTML, the links on the page, and page metadata (title/description/OpenGraph/canonical/favicon) — in one render. For clean Markdown use read_url instead. Private/internal hosts are blocked.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| url | string | oui | The http/https URL to scrape. |
| formats | array<enum: "html" | "links" | "metadata"> | non | Which representations to return (default: all three). |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.preteworks.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http preteworks-api https://api.preteworks.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : preteworks-api ; URL : https://api.preteworks.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : preteworks-api ; Server URL : https://api.preteworks.com/mcp ; Create as a plugin{
"mcpServers": {
"preteworks-api": {
"url": "https://api.preteworks.com/mcp"
}
}
}{
"mcpServers": {
"preteworks-api": {
"type": "http",
"url": "https://api.preteworks.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"preteworks-api": {
"url": "https://api.preteworks.com/mcp"
}
}
}{
"mcpServers": {
"preteworks-api": {
"httpUrl": "https://api.preteworks.com/mcp"
}
}
}[mcp_servers.preteworks-api]
url = "https://api.preteworks.com/mcp"Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.