Api2pdf MCP integration
Renders HTML into headed and footed PDFs, merges, reorders and compresses existing documents, and deletes them on request.
10actions available
Three actions you can hand over today
Every action runs live through MCP. Nothing to build, nothing to maintain.
Optimize PDF
Lyro reduces a PDF file size while keeping quality intact. Agents send faster-loading documents to customers over email or chat.
Extract PDF pages
Lyro pulls out specific pages from a PDF. Support teams share only the relevant sections without extra pages.
Merge pdfs
Lyro combines multiple PDF documents into a single file. Agents send customers one consolidated document instead of multiple attachments.
How businesses use Api2pdf + Lyro
Each card is one request a support team gets, and the Api2pdf actions Lyro runs to close it.
Produce a branded PDF from HTML
Lyro renders an invoice, report or confirmation from HTML through Headless Chrome with consistent headers, footers and page numbering, drops in a QR code where one is needed, and merges a cover page onto the front.
Add Header FooterGenerate Barcode or QR CodeMerge PDFsReshape a document before it goes out
Lyro pulls a page range out of a long PDF, reorders what remains into the sequence someone asked for, and merges it with another document, all from publicly reachable source URLs.
Extract PDF PagesReorder PDF PagesMerge PDFsConvert or preview a file without opening it
Lyro converts a PDF to HTML through LibreOffice for inline reading and generates a first-page thumbnail, so a customer can confirm they have the right document before downloading it.
LibreOffice PDF to HTMLLibreOffice ThumbnailExtract PDF PagesKeep generated files small and short-lived
Lyro optimizes a PDF down to a size that survives an email gateway, deletes it from API2PDF storage by its ResponseId when the content was sensitive, and checks the service is responding first.
Optimize PDFDelete PDFCheck API Status
How it works
Get started in 3 steps
Connect once, then just ask. There is no workflow builder to learn and nothing to maintain — Lyro reads the Api2pdf actions it has and picks the ones a request needs.
- 01
Connect Api2pdf
Authorize the Api2pdf account your team already uses — one consent screen, no API keys, no mapping tables. Lyro can only do what you granted that account, and you can disconnect it at any time.
- 02
Tell your agent what you need
Describe the job the way you would hand it to a teammate. Lyro maps it to the Api2pdf actions that close it and chains as many as the request needs.
- 03
Watch it work
The agent runs the actions inside the conversation the customer is already in, so nobody copies data between tabs and your team can take over at any point.
Get started free
Everything else about Api2pdf
Setup, permissions, and the limits of what Lyro can do inside Api2pdf.
API2PDF deletes generated PDFs automatically after 24 hours, and merged or reordered files are served from a download URL for that same window. When a document should not sit there that long, Lyro calls Delete PDF with the ResponseId returned by the generation step and removes it immediately.
Every action available in Api2pdf
All 10 actions your agent can call on Api2pdf, straight from the live MCP connection.
Add header footer
Convert HTML to PDF with customizable headers and footers using Headless Chrome.
Check API status
Check the health status of the API2PDF service.
Delete PDF
Delete a previously generated PDF from API2PDF storage by its response ID.
Extract PDF pages
Extract specific pages from a PDF document.
Libreoffice PDF to HTML
Convert a PDF document to HTML using LibreOffice.
Libreoffice thumbnail
Generate a thumbnail image of a document using LibreOffice.
Merge pdfs
Merge multiple PDF documents into a single PDF file.
Optimize PDF
Optimize a PDF document to reduce file size while maintaining quality.
Reorder PDF pages
Reorder pages of a PDF document by specifying a new page sequence.
Generate barcode or qr code
Generate barcodes or QR codes using Zebra Crossing (ZXING).
The tools Api2pdf sits next to
Same connection, same setup. Pick the next one your team already uses.
Box
Finds the document behind a question, shares it by link or collaboration, files it with metadata, and applies retention and legal hold.
Docparser
Pulls parsed field data for a batch of documents, lists parsers and their layout models, and verifies the API connection.
Draftable
Reads back the document comparisons already run on an account, page by page, so you can confirm a diff exists without running it again.
Googlephotos
Uploads images and video, batches them into albums at a set position, adds album enrichments, and downloads originals back out.
Parsio.io
Submits files and HTML for extraction, triggers parsing, reads structured results as JSON, and controls templates and webhooks.
Templated
Renders templates into images and PDFs, authors and edits templates and layers, organises them into folders, and reports available fonts and uploads.

Ready to connect Api2pdf?
Authorize the account and your agent has all 10 actions from the first conversation.


