pdfops-mcp
dev.pdfops/pdfops-mcp
Serveur MCP OK 24 outils
PDF tools for AI agents: fill, merge, edit, read text and tables, create, protect and invoice PDFs.
Fiche technique
- Auteur
- pdfops.dev (espace de noms du registre)
- Dépôt
- github.com/pdfops/pdfops-mcp
- Site
- pdfops.dev
- Version
- 0.7.2
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://pdfops.dev/api/mcp Streamable HTTP
- Paquets
- pdfops-mcp 0.7.2 npm stdio
- Outils
- 24
- Catégories
- Productivité et documents, IA, agents et mémoire
- Comparatifs
- Serveurs MCP pour PDF
- Dernière mise à jour
- 28 nov. 2026
- Publication
- 28 nov. 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/dev.pdfops/pdfops-mcp)<a href="https://latlas.dev/mcp/dev.pdfops/pdfops-mcp"><img src="https://latlas.dev/badge/fiche/dev.pdfops/pdfops-mcp.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://pdfops.dev/api/mcp
- Dernier résultat
- OK 28 nov. 2026, 11:04
- Temps de réponse
- 1 009 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- pdfops 1.0.0
- Outils
- 24
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:04 | OK | 1 009 ms | 24 |
Outils exposés (24, réponse à tools/list, 28 nov. 2026)
pdf_inspect
Inspect PDF form fields
List the form fields (AcroForm) of a PDF: names, types, options, current values and per-field maxLength where declared, plus a fillTemplate object ready to pass to pdf_fill and a hasXFA flag (hybrid AcroForm/XFA inputs lose their XFA layer when filled). A PDF with no fillable form returns count 0. Read-only: the PDF is fetched but never modified. pdf_fill rejects unknown field names and over-length values, so the names and maxLength values listed here are the valid ones.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_fill
Fill PDF form
Fill form fields (AcroForm) in a PDF and return the filled PDF. Fields are addressed by name (pdf_inspect lists the names); the label printed next to a field or a near-miss name is also accepted, and the result lists every key that was matched that way. All values are strings; checkboxes take "true"/"false"; dropdown/radio/optionlist values must be one of the field's options; text values must respect the field's maxLength from pdf_inspect. The source PDF is never modified. Returns the filled PDF inline as an application/pdf resource. Owner-locked PDFs (empty user password, common for government blanks) fill without a password; a user-password PDF needs the password parameter, otherwise it is rejected with encrypted_pdf.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | Template PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| fields | object | oui | Field name → string value (from pdf_inspect's fillTemplate) |
| flatten | boolean | non | Bake values into page content and drop the AcroForm so fields are no longer editable |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_merge
Merge PDFs
Merge two or more PDFs into one, in the order given, and return the result. JPG and PNG images are accepted among the sources and each becomes one page the size of the image (pdf_image_to_pdf offers A4 or Letter pages, margins and more options); the type is read from the bytes. Sources are read only and never modified. Returns the merged PDF inline as an application/pdf resource. This tool only concatenates whole documents: it does not reorder, rotate or delete pages within them (pdf_extract_pages, pdf_rotate and pdf_delete_pages do), does not fill forms (pdf_fill does) and does not build documents from data (pdf_invoice does). An unreadable or rejected input fails with an error, so a partial merge is never returned.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_paths | array<string> | oui | In order, each a PDF or a JPG or PNG image source: an https:// URL or a data:application/pdf;base64,… (or data:image/jpeg;base64,… / data:image/png;base64,…) URI (this hosted server cannot read local file paths). An image becomes one page. |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). Applies to every input. |
pdf_invoice
Generate invoice PDF
Create an invoice PDF from structured data (seller, buyer, line items, tax); no template needed. Deterministic: the same input produces byte-identical output. Without a paid plan the PDF carries a one-line "Generated with pdfops.dev" footer. Returns the invoice inline as an application/pdf resource. An existing invoice PDF or a fillable template is populated with pdf_fill instead. Setting invoice.e_invoice to "factur-x" produces an e-invoice: a PDF/A-3 file with the invoice data embedded as factur-x.xml (UN/CEFACT Cross Industry Invoice, profile EN 16931, also called COMFORT). It makes several fields required (listed in the e_invoice argument), and a missing one fails with einvoice_fields_required naming every missing field. This is not a statement of legal compliance, and XRechnung and Peppol output are not produced.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| invoice | object | oui | Invoice data |
pdfops_usage
Check PDFops quota
Check the current PDFops API quota for the configured key: tier, limit, used, remaining, the billing period, and the reset timestamp. Read-only and safe to call before a batch to confirm there is headroom. Uses the API key this connection authenticated with; with no key it reports the keyless trial (used and remaining are left out if the count cannot be read).
Aucun paramètre.
pdf_extract_pages
Extract pages from PDF
Extract pages from a PDF: keep only the listed pages, in the order given, and return them as a new PDF. Because order follows the spec, it also reorders pages ("3,1,2") and can duplicate them. It pulls a section out of a document; pdf_delete_pages removes pages instead, pdf_split makes several output files and pdf_merge joins documents. Returns the result inline as an application/pdf resource; the source is never modified. Fails with invalid_pages if a page is out of range.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| pages | string | oui | 1-based page spec, e.g. "1-3,5,8-" (open-ended range runs to the last page) |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_delete_pages
Delete pages from PDF
Delete pages from a PDF: remove the listed pages and return the remaining pages in their original order, for example to drop a cover, blank or sensitive pages. pdf_extract_pages takes the opposite approach and names the pages to keep. Returns the result inline as an application/pdf resource; the source is never modified. Deleting every page fails with no_pages_left.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| pages | string | oui | 1-based pages to REMOVE, e.g. "2,4-6,9-" |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_rotate
Rotate PDF pages
Rotate pages of a PDF clockwise by 90, 180 or 270 degrees (or -90). Rotation adds to each page's existing rotation. Omit pages to rotate every page. It fixes sideways scans. Returns the result inline as an application/pdf resource; the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| degrees | enum: 90 | 180 | 270 | -90 | oui | Clockwise rotation to add |
| pages | string | non | 1-based page spec such as "1-3,5"; default all pages |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_split
Split PDF into parts
Split a PDF into several PDFs, either by explicit ranges (each comma group becomes one part: "1-2,3-5" gives two parts) or into fixed-size chunks (every=2 on 5 pages gives 1-2, 3-4, 5). Give exactly one of ranges or every. Returns each part inline as an application/pdf resource plus a structured parts list (pages, page_count, bytes, resource_uri). Limited to 100 parts and about 4 MB of total output; pdf_extract_pages returns a single range as one PDF.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| ranges | string | non | 1-based page spec; each comma group becomes one part, e.g. "1-2,3-5" |
| every | integer | non | Chunk size in pages; the last part may be shorter |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_watermark
Add text watermark to PDF
Add a diagonal text watermark to pages of a PDF (default: centered, 45 degrees, grey, 15% opacity). Text is upright and centered for any page size or existing page rotation. Standard Helvetica only: characters outside WinAnsi (e.g. CJK, emoji) fail with unsupported_characters. Typical text is DRAFT or CONFIDENTIAL; pdf_page_numbers adds page numbers instead. Returns the result inline as an application/pdf resource; the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| text | string | oui | Watermark text, WinAnsi characters only |
| opacity | number | non | Default 0.15 |
| size | number | non | Font size in points, default 48 |
| color | string | non | Hex #rgb or #rrggbb, default #808080 |
| rotation | number | non | Degrees counter-clockwise as the viewer sees it, default 45 |
| position | enum: "center" | "top" | "bottom" | non | Default center |
| pages | string | non | 1-based page spec such as "1-3,5"; default all pages |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_page_numbers
Add page numbers to PDF
Add page numbers to a PDF using a format template with {n} (page number) and {total} (page count), e.g. "Page {n} of {total}". Default is "{n} / {total}" at bottom-center, 10 pt. Numbers sit upright for any page size or rotation. Standard Helvetica only (WinAnsi characters). Page i always shows start+i-1 even when pages selects only some pages. Returns the result inline as an application/pdf resource; the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| format | string | non | Template with {n} and {total}, default "{n} / {total}" |
| position | enum: "bottom-center" | "bottom-right" | "bottom-left" | "top-center" | "top-right" | "top-left" | non | Default bottom-center |
| size | number | non | Font size in points, default 10 |
| start | integer | non | Number shown on page 1, default 1 |
| margin | number | non | Distance in points from the page edge, default 24 |
| pages | string | non | 1-based page spec such as "1-3,5"; default all pages |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_unlock
Remove PDF restrictions
Remove a PDF's password protection and its print/copy/modify restrictions by saving an unencrypted copy. Works for owner-locked files (empty user password) with no password, and for user-password files when you pass the password. It does NOT crack unknown passwords: a wrong or missing user password fails with encrypted_pdf. A PDF that was not encrypted is returned re-saved, with note "not-encrypted". Returns the result inline as an application/pdf resource; the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_protect
Password-protect PDF
Encrypt a PDF with a password. user_password is required to open the result; owner_password lifts the permission restrictions. Give at least one (each 1 to 32 Latin-1 chars). permissions lists what stays ALLOWED from print, copy, modify, annotate, fill-forms (default all, except modify when an owner password is set; an empty list allows none). Restrictions only bind viewers when an owner password is set. Not byte-deterministic (random salts). Returns the result inline as an application/pdf resource; the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| user_password | string | non | Password required to open the output |
| owner_password | string | non | Password that lifts the restrictions |
| permissions | array<enum: "print" | "copy" | "modify" | "annotate" | "fill-forms"> | non | Actions to ALLOW; omit for the default, [] for none |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_metadata
Read PDF metadata
Read a PDF's document info: page_count, per-page width/height (points) and rotation, title, author, subject, keywords, creator, producer, creation_date, modification_date (ISO 8601, null when absent), whether it was encrypted, and has_form / form_field_count. The page count and per-page sizes describe a document's shape for splitting, rotating or filling. Read-only: the PDF is fetched but never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_set_metadata
Set PDF metadata
Write document info fields (title, author, subject, creator, keywords) into a PDF. Give at least one; an empty string sets an empty value. Unicode is fine. Keywords may be a list or a comma-separated string. The output is saved unencrypted. pdf_metadata reads the current values. Returns the result inline as an application/pdf resource; the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| title | string | non | |
| author | string | non | |
| subject | string | non | |
| creator | string | non | |
| keywords | string | array<string> | non | Comma-separated string or list of keywords |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_edit
Add text, images or barcodes to a PDF
Add text, images (logos, signature images, photos) and barcodes or QR codes to specific pages of an existing PDF at exact positions. Coordinates are PDF points measured from the bottom-left corner of the page as the viewer sees it (1 inch = 72 pt; US Letter is 612 x 792), so stamps land upright on any page size or rotation. Text uses standard fonts (WinAnsi characters only: CJK and emoji fail with unsupported_characters) and can wrap to max_width. Images are PNG or JPEG (limits in the image argument). Barcodes (the formats listed in the format argument, including QR) are generated from a value and drawn as vector paths, so they scan at any print size (up to 25 per call). pdf_fill sets fillable form fields and pdf_watermark stamps a diagonal text on pages. Returns the result inline as an application/pdf resource; the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| items | array<object> | oui | Stamps to draw, in order (later items draw on top). |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_extract_text
Extract text and tables from a PDF
Extract text and tables from a born-digital PDF (one made by software: invoices, statements, reports, contracts, forms), page by page in reading order, with any tables found from the text layout returned as rows of cells. Scanned PDFs (images of pages) have no text layer and come back listed in pages_without_text: OCR is not supported. Set include_lines to also get each line with its position in PDF points from the bottom-left of the page as the viewer sees it, the same frame pdf_edit uses, so you can stamp text next to something you found. Up to 200 pages per call; pass pages to read a large document in parts. pdf_find_text searches for specific text. With tables_format xlsx the tables come back as one Excel workbook instead (one sheet per table, all cells text). Read-only: the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| pages | string | non | Pages to read, 1-based: "1-3,5,8-". Default: all pages. |
| include_lines | boolean | non | Also return every line of text with x, y, width and font size in points. Default false (smaller output). |
| tables_format | enum: "json" | "csv" | "xlsx" | non | csv adds a csv string (RFC 4180, CRLF line ends) to each table next to rows. xlsx instead returns one Excel workbook, one sheet per table ("Page 3 Table 1"), as an inline resource with a short summary (no text, lines or rows); every cell is a text string, never a formula, and numbers are not conver… |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_text_to_pdf
Create a PDF from Markdown, plain text or CSV
Create a PDF from Markdown, plain text or a CSV table, with no template and no input PDF. This is NOT HTML-to-PDF: it does not render HTML or CSS, and it has no custom fonts or images. Text is set in the standard Helvetica family, code and monospace text in Courier, on Letter or A4 pages. Markdown features, CSV limits and size caps are listed in the content and format arguments. WinAnsi characters only (English and Western European letters and common punctuation): emoji, Cyrillic, Greek and CJK fail with unsupported_characters, naming the character and its line and column. Deterministic: the same input gives byte-identical output, and the PDF carries no PDFops footer. Returns the PDF inline as an application/pdf resource. pdf_edit adds text to an existing PDF and pdf_invoice builds an invoice from data.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| content | string | oui | The document: Markdown (default), plain text or CSV, up to 512 KiB of UTF-8; the output is capped at 200 pages. Markdown supports headings 1-6, bold, italic, inline code, links (printed as text plus the URL; http(s) and mailto links are also clickable), fenced code blocks, bullet and numbered lists… |
| format | enum: "markdown" | "text" | "csv" | non | How to read content. Default markdown. text keeps spaces and line breaks exactly. csv draws a table whose first row is the header (up to 20 columns, 10,000 rows, 100,000 cells). |
| page_size | enum: "a4" | "letter" | non | Default letter. |
| margin | number | non | Page margin in points, 18-144. Default 54. |
| font_size | number | non | Body text size in points, 6-36. Default 11. |
| title | string | non | PDF Title metadata (not printed on the page), up to 200 characters. |
| page_numbers | boolean | non | Print "Page n of N" at the bottom of every page. Default false. |
| monospace | boolean | non | Set the text in Courier. Only used with format text. Default false. |
pdf_find_text
Find text in a PDF
Find text in a PDF: search a born-digital PDF (one made by software: invoices, statements, reports, contracts, forms) for a word, phrase or regular expression and get each hit with its page and box in PDF points, measured from the bottom-left of the page as the viewer sees it with y on the text baseline (the same frame pdf_edit uses, so a hit's x, y, width and height give the position for a stamp). Case-insensitive unless case_sensitive is true. A match never spans lines. Scanned PDFs have no text layer: their pages are listed in pages_without_text (no OCR). A long search continues across calls through next_page (see the pages argument). Read-only: the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| query | string | oui | Text to find, or a pattern when regex is true. At most 200 characters. |
| regex | boolean | non | Treat query as a regular expression from a safe subset: literals, classes, dot, anchors, word boundaries, groups, alternation and quantifiers including lazy ones. Backreferences, lookahead, lookbehind, named groups, property escapes and inline flags are rejected. Default false. |
| case_sensitive | boolean | non | Default false: matching ignores case. |
| whole_word | boolean | non | Only report matches with no letter, digit, underscore or combining mark directly before or after. Default false. |
| pages | string | non | Pages to search, 1-based: "1-3,5,8-". Default: all pages. At most 200 pages per call. While next_page in the result is not null, calling again with pages set to next_page followed by a dash (for example 4-) continues with no gaps or repeated hits. |
| max_hits | integer | non | Stop once more hits than this exist. Default 100. If truncated is true but next_page is null, hits on a page listed in pages_skipped beyond max_hits can be retrieved only by raising max_hits or narrowing the query. |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_detect_fields
Detect fillable fields in a flat PDF
Detect fillable form fields in a flat PDF (one with no form fields; pdf_inspect lists none): finds blanks drawn on the page as lines, boxes, underscores and checkboxes and returns a text or checkbox field for each, named from the nearest printed label, with a confidence from 0 to 1. Each entry has type, name, page, x, y, width, height in PDF points from the bottom-left of the page as the viewer sees it, the frame pdf_add_fields and pdf_edit use. The entries can be passed to pdf_add_fields as fields (label and confidence are ignored there), and pdf_fill then fills the result; pdf_add_fields with detect true does detection and adding in one call. Only drawn blanks are found: not a blank area with no line or box, a scanned image, or shaded cells with no outline. Results are suggestions: confidence scores are estimates, low-confidence entries can be wrong, and some detections are table cells or rules that are not blanks. Zero fields is a normal answer with a note. At most 200 fields per call; the pages argument describes continuing a large form. Read-only: the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| pages | string | non | Pages to analyse, 1-based: "1-3,5,8-". Default: all pages (up to max_pages). Large forms: a call stops at its time and work limit, so while truncated is true the returned fields can be added with pdf_add_fields, after which pdf_detect_fields run on the resulting PDF with pages set to next_pages (ex… |
| max_pages | integer | non | Analyse at most this many pages. Default 40. At most 100. |
| min_confidence | number | non | Drop fields below this confidence. Default 0.4 (drops only the weakest candidates, such as unlabelled shapes); 0.6 gives slightly higher precision and about a quarter fewer checkboxes. |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_add_fields
Add fillable form fields to a PDF
Add fillable form fields (AcroForm) to an existing PDF at exact positions, or (detect true) find them on a flat PDF automatically: text, multiline text, checkbox, radio group, dropdown and signature box. Coordinates are PDF points measured from the bottom-left corner of the page as the viewer sees it (1 inch = 72 pt; US Letter is 612 x 792), the same frame and 1-based page numbers as pdf_edit; x and y are the field's bottom-left corner and the whole rectangle must lie inside the page (each side at least 4 pt). Every entry needs type, name and page; every type except radio also needs x, y, width and height; radio and dropdown need options. Unknown keys are rejected. The signature type creates an EMPTY signature field for a signing tool to use: nothing is signed, it is not an e-signature. At most 200 entries and 200 widgets per call, and 2,000 fields in the finished form. Fields are plain AcroForm with no JavaScript. pdf_fill fills the result and pdf_inspect lists the new fields. For a flat PDF, pdf_detect_fields returns suggested fields that can be passed as fields; detect true does both steps in one call. Returns the PDF inline as an application/pdf resource; the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| fields | array<object> | non | Fields to create. Required unless detect is true. Nothing is added unless every entry is valid. Required keys: every entry type, name, page; text, checkbox, dropdown and signature also x, y, width, height; radio and dropdown also options (radio options carry their own rectangles). |
| detect | boolean | non | Instead of fields: detect the blanks drawn on a flat PDF (lines, boxes, underscores, checkboxes) and add a text or checkbox field for each, in one request. The answer reports how many fields were added; pdf_detect_fields returns the suggestions for review first. pages, max_pages and min_confidence… |
| pages | string | non | With detect: pages to analyse, "1-3,5,8-". Default all. |
| max_pages | integer | non | With detect: analyse at most this many pages. Default 40. |
| min_confidence | number | non | With detect: drop fields below this confidence. Default 0.4. |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_image_to_pdf
Make a PDF from JPG and PNG images
Make a PDF from JPG and PNG images: one image per page, in the order given. Each image is an https:// URL or a data:image/jpeg;base64,… or data:image/png;base64,… URI (this hosted server cannot read local file paths); the type is detected from the bytes, not the name. At most 100 images, each up to 4 MB, 4.5 MB in total. A JPEG's EXIF orientation is applied, so phone photos come out upright. Animated PNGs, other formats (GIF, WebP, HEIC, TIFF, SVG) and PDFs are rejected. Page size, orientation, margin and decoding details are in the arguments. Very large images fail with image_too_large, and many large PNGs in one call with images_too_large_together. Deterministic: the same images give byte-identical output. pdf_merge joins images with existing PDFs. Returns the PDF inline as an application/pdf resource.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| image_paths | array<string> | oui | In order, one page each: an https:// URL or a data:image/jpeg;base64,… / data:image/png;base64,… URI (this hosted server cannot read local file paths). PNG: 8-bit and 16-bit, palette, grey, interlaced and transparent files work (transparency is kept); over 10 megapixels fails with image_too_large.… |
| page_size | enum: "fit" | "a4" | "letter" | non | fit (default): page = image size at 72 dpi (1 px = 1 pt; pages longer than 5,000 pt on a side are scaled down, tiny images are enlarged to a 3 pt minimum). a4 or letter: standard page, image centred, shrunk to fit inside the margin and never enlarged. |
| orientation | enum: "auto" | "portrait" | "landscape" | non | a4 and letter only; auto (default) picks portrait or landscape per image. |
| margin | number | non | Points, 0-200. Default 0 for fit (the page grows by the margin on every side), 36 for a4 and letter. |
pdf_add_attachment
Embed files in a PDF
Embed files in a PDF as attachments, for example an XML or CSV data file. Each entry in files has a source (an https:// URL or a data: URI with base64, never a local path) and optional name, mime_type, description (at most 1,000 characters) and relationship. Existing content, including any existing attachments, is kept. At most 10 files and 3 MB in total per call, and at most 200 attachments in the finished PDF. A PDF whose list of embedded files has over 2,000 entries (name_tree_too_large) or an unreadable existing name (attachments_too_complex) is refused. A name already used by an attachment in the PDF (as a key or as an entry's /UF or /F), or twice in the call, is refused. Unknown keys are rejected. The whole file is saved again, so an existing digital signature on the PDF stops validating. Each file keeps its full name; a plain-ASCII lookup key for each is returned as keys. Returns the PDF inline as an application/pdf resource; the source is never modified.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pdf_path | string | oui | PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths). |
| files | array<object> | oui | Files to embed. Nothing is added unless every entry is valid. |
| password | string | non | Password to open the input, only needed for a user-password PDF (owner-locked files with an empty user password open without it). |
pdf_html_to_pdf
Create a PDF from HTML
Create a PDF from an HTML string using a headless browser, so layout, CSS (flexbox, grid, print styles), images and web fonts come out as in a browser print. It takes HTML text only: there is no URL input, and JavaScript is switched off, so pages that build themselves with JavaScript render empty. External resources (images, stylesheets, fonts) load only over https from public hosts; anything else is blocked and skipped, and the PDF is still made. Data URIs work and are the safest way to include images. Letter or A4, portrait or landscape, margin in points (default 36), backgrounds printed by default, optional scale. Limits: html 1 MB, document 50 pages and 16 MB, rendering 15 seconds; the hosted server returns at most 4,000,000 bytes inline, and larger results fail with an error. A completed render counts as 5 requests against the quota; the html argument lists the cases that count for less. Resource, image and font details are in the html argument. Returns the PDF inline as an application/pdf resource. pdf_text_to_pdf handles Markdown, text or CSV with no HTML, and pdf_invoice builds an invoice from data.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| html | string | oui | The document as HTML text, up to 1 MB of UTF-8. A full document or a fragment. External resources load over https only: at most 50 requests and 40 MB. Frames, iframes, objects, embeds, audio and video are not rendered. Common fonts (Helvetica, Arial, Times, Courier and generic families) render as L… |
| page_size | enum: "a4" | "letter" | non | Default letter. |
| landscape | boolean | non | Landscape orientation. Default false. |
| margin | number | non | Margin on every side in points, 0-144. Default 36. |
| print_background | boolean | non | Print background colors and images. Default true. |
| scale | number | non | Page content scale, 0.1-2. Default 1. |
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://pdfops.dev/api/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http pdfops-mcp https://pdfops.dev/api/mcpCustomize > Connectors > + Add > Add custom connector ; Name : pdfops-mcp ; URL : https://pdfops.dev/api/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : pdfops-mcp ; Server URL : https://pdfops.dev/api/mcp ; Create as a plugin{
"mcpServers": {
"pdfops-mcp": {
"url": "https://pdfops.dev/api/mcp"
}
}
}{
"mcpServers": {
"pdfops-mcp": {
"type": "http",
"url": "https://pdfops.dev/api/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"pdfops-mcp": {
"url": "https://pdfops.dev/api/mcp"
}
}
}{
"mcpServers": {
"pdfops-mcp": {
"httpUrl": "https://pdfops.dev/api/mcp"
}
}
}[mcp_servers.pdfops-mcp]
url = "https://pdfops.dev/api/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
pdfops-mcp · L’Atlas · Test du
[pdfops-mcp — L’Atlas](https://latlas.dev/mcp/dev.pdfops/pdfops-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.