Api2pdf

Api2pdf

Api2Pdf is a REST API that enables developers to generate PDFs from HTML, URLs, and various document formats using engines like wkhtmltopdf, Headless Chrome, and LibreOffice.

66VIEWS
2730USERS

Install MCP Server

Paste and run this command in your terminal to set up Cursor with MCP

npx @composio/cli add cursor --app api2pdfnpx @composio/cli add cursor --app api2pdfnpx @composio/cli add cursor --app api2pdfnpx @composio/cli add cursor --app api2pdf

After running the command, restart Cursor to start using the MCP Server.

Available Tools

Add Header Footer

Tool to add headers and footers to a pdf document. use when you need consistent page numbering, titles, or custom branding on every page.

Delete Pdf

Tool to delete a previously generated pdf. use when you need to immediately remove a pdf by its response id.

Extract Pdf Pages

Tool to extract specific pages from a pdf document. use when you need only certain pages from a larger pdf file.

Libreoffice Pdf To Html

Tool to convert a pdf document to html using libreoffice. use when you need html output of a pdf file (experimental; images may be excluded).

Libreoffice Thumbnail

Tool to generate a thumbnail image of a document using libreoffice. use when you need a quick visual preview of a pdf or office file's first page.

Merge Pdfs

Tool to merge multiple pdf documents into a single pdf. use when you need to concatenate several pdfs on the server-side.

Optimize Pdf

Tool to optimize a pdf document to reduce file size while maintaining quality. use when you need to minimize storage or bandwidth for an existing pdf.

Reorder Pdf Pages

Tool to reorder pages of a pdf document. use when you need to rearrange pages into a new order by specifying page indices.

Generate Barcode Or Qr Code

Tool to generate barcodes or qr codes using zebra crossing (zxing). use when you need a barcode or qr code image from text values.

9 actions available