L'Atlas / Serveurs MCP / pdfops-mcp
Serveur MCP

pdfops-mcp

dev.pdfops/pdfops-mcp

Serveur MCP OK 24 outils

Faire examiner Voir les tarifs

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

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/dev.pdfops/pdfops-mcp.svg)](https://latlas.dev/mcp/dev.pdfops/pdfops-mcp)
HTML
<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

DateRésultatRéponseOutils
28 nov. 2026, 11:04OK1 009 ms24

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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiTemplate PDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
fieldsobjectouiField name → string value (from pdf_inspect's fillTemplate)
flattenbooleannonBake values into page content and drop the AcroForm so fields are no longer editable
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathsarray<string>ouiIn 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.
passwordstringnonPassword 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ètreTypeRequisDescription
invoiceobjectouiInvoice 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
pagesstringoui1-based page spec, e.g. "1-3,5,8-" (open-ended range runs to the last page)
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
pagesstringoui1-based pages to REMOVE, e.g. "2,4-6,9-"
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
degreesenum: 90 | 180 | 270 | -90ouiClockwise rotation to add
pagesstringnon1-based page spec such as "1-3,5"; default all pages
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
rangesstringnon1-based page spec; each comma group becomes one part, e.g. "1-2,3-5"
everyintegernonChunk size in pages; the last part may be shorter
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
textstringouiWatermark text, WinAnsi characters only
opacitynumbernonDefault 0.15
sizenumbernonFont size in points, default 48
colorstringnonHex #rgb or #rrggbb, default #808080
rotationnumbernonDegrees counter-clockwise as the viewer sees it, default 45
positionenum: "center" | "top" | "bottom"nonDefault center
pagesstringnon1-based page spec such as "1-3,5"; default all pages
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
formatstringnonTemplate with {n} and {total}, default "{n} / {total}"
positionenum: "bottom-center" | "bottom-right" | "bottom-left" | "top-center" | "top-right" | "top-left"nonDefault bottom-center
sizenumbernonFont size in points, default 10
startintegernonNumber shown on page 1, default 1
marginnumbernonDistance in points from the page edge, default 24
pagesstringnon1-based page spec such as "1-3,5"; default all pages
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
user_passwordstringnonPassword required to open the output
owner_passwordstringnonPassword that lifts the restrictions
permissionsarray<enum: "print" | "copy" | "modify" | "annotate" | "fill-forms">nonActions to ALLOW; omit for the default, [] for none
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
titlestringnon
authorstringnon
subjectstringnon
creatorstringnon
keywordsstring | array<string>nonComma-separated string or list of keywords
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
itemsarray<object>ouiStamps to draw, in order (later items draw on top).
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
pagesstringnonPages to read, 1-based: "1-3,5,8-". Default: all pages.
include_linesbooleannonAlso return every line of text with x, y, width and font size in points. Default false (smaller output).
tables_formatenum: "json" | "csv" | "xlsx"noncsv 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…
passwordstringnonPassword 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ètreTypeRequisDescription
contentstringouiThe 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…
formatenum: "markdown" | "text" | "csv"nonHow 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_sizeenum: "a4" | "letter"nonDefault letter.
marginnumbernonPage margin in points, 18-144. Default 54.
font_sizenumbernonBody text size in points, 6-36. Default 11.
titlestringnonPDF Title metadata (not printed on the page), up to 200 characters.
page_numbersbooleannonPrint "Page n of N" at the bottom of every page. Default false.
monospacebooleannonSet 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
querystringouiText to find, or a pattern when regex is true. At most 200 characters.
regexbooleannonTreat 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_sensitivebooleannonDefault false: matching ignores case.
whole_wordbooleannonOnly report matches with no letter, digit, underscore or combining mark directly before or after. Default false.
pagesstringnonPages 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_hitsintegernonStop 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.
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
pagesstringnonPages 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_pagesintegernonAnalyse at most this many pages. Default 40. At most 100.
min_confidencenumbernonDrop 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.
passwordstringnonPassword 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
fieldsarray<object>nonFields 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).
detectbooleannonInstead 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…
pagesstringnonWith detect: pages to analyse, "1-3,5,8-". Default all.
max_pagesintegernonWith detect: analyse at most this many pages. Default 40.
min_confidencenumbernonWith detect: drop fields below this confidence. Default 0.4.
passwordstringnonPassword 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ètreTypeRequisDescription
image_pathsarray<string>ouiIn 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_sizeenum: "fit" | "a4" | "letter"nonfit (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.
orientationenum: "auto" | "portrait" | "landscape"nona4 and letter only; auto (default) picks portrait or landscape per image.
marginnumbernonPoints, 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ètreTypeRequisDescription
pdf_pathstringouiPDF source: an https:// URL or a data:application/pdf;base64,… URI (this hosted server cannot read local file paths).
filesarray<object>ouiFiles to embed. Nothing is added unless every entry is valid.
passwordstringnonPassword 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ètreTypeRequisDescription
htmlstringouiThe 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_sizeenum: "a4" | "letter"nonDefault letter.
landscapebooleannonLandscape orientation. Default false.
marginnumbernonMargin on every side in points, 0-144. Default 36.
print_backgroundbooleannonPrint background colors and images. Default true.
scalenumbernonPage 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.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://pdfops.dev/api/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http pdfops-mcp https://pdfops.dev/api/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : pdfops-mcp ; URL : https://pdfops.dev/api/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : pdfops-mcp ; Server URL : https://pdfops.dev/api/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "pdfops-mcp": {
      "url": "https://pdfops.dev/api/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "pdfops-mcp": {
      "type": "http",
      "url": "https://pdfops.dev/api/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "pdfops-mcp": {
      "url": "https://pdfops.dev/api/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "pdfops-mcp": {
      "httpUrl": "https://pdfops.dev/api/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[pdfops-mcp — L’Atlas](https://latlas.dev/mcp/dev.pdfops/pdfops-mcp)
Méthode et limites des tests

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.