Api2Pdf MCP by usefulapi
io.usefulapi/api2pdf
MCP server OK 16 tools
MCP server for Api2Pdf — generate PDFs & images from HTML, URLs or office files; merge, barcodes.
Technical sheet
- Author
- usefulapi.io (registry namespace)
- Repository
- github.com/m190/usefulapi-mcp
- Site
- usefulapi.io/api2pdf
- Version
- 1.40.4
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://api2pdf.usefulapi.io/mcp Streamable HTTP
- Tools
- 16
- Categories
- Images, audio and video
- Last updated
- 18 Nov 2026
- Published
- 18 Nov 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.usefulapi/api2pdf)<a href="https://latlas.dev/en/mcp/io.usefulapi/api2pdf"><img src="https://latlas.dev/badge/fiche/io.usefulapi/api2pdf.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://api2pdf.usefulapi.io/mcp
- Last result
- OK 28 Nov 2026, 16:30
- Response time
- 248 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- api2pdf-mcp 1.40.4
- Tools
- 16
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 16:30 | OK | 248 ms | 16 |
Exposed tools (16, from tools/list, 28 Nov 2026)
api2pdf_html_to_pdf
HTML to PDF (Chrome)
Render an HTML string to a PDF using the headless-Chrome engine. Returns a { FileUrl } link (valid ~24h) by default. Great for invoices, reports, and letters produced as HTML. BILLED per document. Api2Pdf API: POST /chrome/pdf/html.
| Parameter | Type | Required | Description |
|---|---|---|---|
| html | string | yes | The HTML source to render into a PDF. |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_url_to_pdf
URL to PDF (Chrome)
Fetch a web page by URL and render it to a PDF using headless Chrome. Returns a { FileUrl } (valid ~24h). Use extraHTTPHeaders to pass auth for a protected page. BILLED. Api2Pdf API: POST /chrome/pdf/url.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | The URL of the web page Api2Pdf will fetch and render to PDF. |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_markdown_to_pdf
Markdown to PDF (Chrome)
Render a Markdown string to a PDF using headless Chrome. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /chrome/pdf/markdown.
| Parameter | Type | Required | Description |
|---|---|---|---|
| markdown | string | yes | The Markdown source to render into a PDF. |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_html_to_image
HTML to image (Chrome)
Render an HTML string to an image using headless Chrome. Returns a { FileUrl } (valid ~24h) by default, or base64 bytes with output_binary:true. BILLED. Api2Pdf API: POST /chrome/image/html.
| Parameter | Type | Required | Description |
|---|---|---|---|
| html | string | yes | The HTML source to render into an image. |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_url_to_image
URL to image / screenshot (Chrome)
Take a screenshot of a live web page by URL using headless Chrome. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /chrome/image/url.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | The URL of the web page to screenshot. |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_wkhtml_to_pdf
HTML to PDF (wkhtmltopdf)
Render an HTML string to a PDF using the wkhtmltopdf engine — an alternate to Chrome that supports a table of contents (pass enableToc / tocOptions inside `options`). Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /wkhtml/pdf/html.
| Parameter | Type | Required | Description |
|---|---|---|---|
| html | string | yes | The HTML source to render into a PDF. |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_office_to_pdf
Office document to PDF (LibreOffice)
Convert an office document (Word, Excel, PowerPoint, ODT, and many more) at a URL to a PDF using LibreOffice. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /libreoffice/any-to-pdf.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | URL of the source document to convert to PDF. |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_merge_pdfs
Merge PDFs (PDFSharp)
Merge several existing PDFs (given as URLs, in order) into a single PDF. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/merge.
| Parameter | Type | Required | Description |
|---|---|---|---|
| urls | array<string> | yes | URLs of the PDFs to merge, in the order they should appear (at least two). |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_compress_pdf
Compress PDF (PDFSharp)
Compress an existing PDF (given as a URL) to reduce its file size. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/compress.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | URL of the PDF to compress. |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_extract_pages
Extract PDF pages (PDFSharp)
Extract a range of pages from an existing PDF (given as a URL) into a new PDF. `start`/`end` are 0-based page indices; omit `end` to extract a single page. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/extract-pages.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | URL of the source PDF. |
| start | integer | no | 0-based index of the first page to extract. Default 0. |
| end | integer | no | 0-based index of the last page to extract. Omit for a single page (just `start`). |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_add_password
Password-protect PDF (PDFSharp)
Encrypt an existing PDF (given as a URL) with a user password (required to open) and an optional owner password (controls permissions). Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/password.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | URL of the PDF to protect. |
| userpassword | string | yes | Password required to OPEN the resulting PDF. |
| ownerpassword | string | no | Optional owner password controlling permissions (printing, editing, etc.). |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_convert_to_markdown
Convert document to Markdown (MarkItDown)
Convert a document or file (given as a URL — PDF, Office docs, and more) to Markdown text via MarkItDown. Great for feeding a document's contents back to an agent. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /markitdown.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | yes | URL of the document/file to convert to Markdown. |
| inline | boolean | no | If true (Api2Pdf default), the generated file is served inline; if false, as an attachment. |
| fileName | string | no | A name for the generated file, e.g. 'invoice.pdf'. |
| options | object | no | Engine-specific render options (page size, margins, orientation, headers/footers, etc.). Passed through verbatim to Api2Pdf. |
| useCustomStorage | boolean | no | If true, Api2Pdf uploads the result to your own storage (see `storage`) instead of hosting it. |
| storage | object | no | Custom storage target, used when useCustomStorage is true. |
| extraHTTPHeaders | object | no | Extra HTTP headers Api2Pdf forwards when it fetches a source URL (e.g. auth for a protected page/file). |
| output_binary | boolean | no | If true, return the raw file bytes as base64 instead of a FileUrl. Default false (recommended for agents — returns a short-lived link). |
api2pdf_generate_barcode
Generate barcode / QR code (Zebra)
Generate a barcode or QR code image. `format` is the symbology (e.g. 'QRCode', 'Code128', 'PDF417', 'DataMatrix') and `value` is the string to encode. Returns a { FileUrl } (valid ~24h) by default, or base64 with output_binary:true. BILLED. Api2Pdf API: GET /zebra.
| Parameter | Type | Required | Description |
|---|---|---|---|
| format | string | yes | Barcode/QR symbology, e.g. 'QRCode', 'Code128', 'PDF417', 'DataMatrix'. |
| value | string | yes | The string to encode in the barcode/QR code. |
| height | integer | no | Image height in pixels. |
| width | integer | no | Image width in pixels. |
| showlabel | boolean | no | If true, render the encoded value as a human-readable label under the barcode. |
| output_binary | boolean | no | If true, return the raw image bytes as base64 instead of a FileUrl. Default false. |
api2pdf_get_balance
Get account balance
Return the remaining balance / usage for the configured Api2Pdf account. Api2Pdf API: GET /balance.
No parameters.
api2pdf_get_status
Get service status
Return the current Api2Pdf service / health status. Api2Pdf API: GET /status.
No parameters.
api2pdf_delete_file
Delete a generated file
Delete a previously generated file by its ResponseId (the `ResponseId` returned in a generation response). Api2Pdf API: DELETE /file/{ResponseId}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| responseId | string | yes | The ResponseId of the generated file to delete (from a prior generation response). |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://api2pdf.usefulapi.io/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http api2pdf https://api2pdf.usefulapi.io/mcpCustomize > Connectors > + Add > Add custom connector ; Name : api2pdf ; URL : https://api2pdf.usefulapi.io/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : api2pdf ; Server URL : https://api2pdf.usefulapi.io/mcp ; Create as a plugin{
"mcpServers": {
"api2pdf": {
"url": "https://api2pdf.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"api2pdf": {
"type": "http",
"url": "https://api2pdf.usefulapi.io/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"api2pdf": {
"url": "https://api2pdf.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"api2pdf": {
"httpUrl": "https://api2pdf.usefulapi.io/mcp"
}
}
}[mcp_servers.api2pdf]
url = "https://api2pdf.usefulapi.io/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Api2Pdf MCP by usefulapi · L’Atlas · Tested on
[Api2Pdf MCP by usefulapi — L’Atlas](https://latlas.dev/en/mcp/io.usefulapi/api2pdf)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.