# Api2Pdf MCP - Tools, Setup and Examples | FlyMy.AI

> Api2Pdf MCP for Claude, Cursor and Codex. Docs and tasks, with 9 actions. Your API key. See setup, examples and pricing.

Page: https://flymy.ai/mcp/api2pdf/

MCP / Docs and productivity

# Api2Pdf MCP: docs and tasks

Api2Pdf is a REST API that enables developers to generate PDFs from HTML, URLs, and various document formats using engines like wkhtmltopdf, Headless... Connect it to Claude, Codex, Cursor or any MCP client through one FlyMy.AI MCP.

[Connect Api2Pdf](https://flymy.ai/mcp/api2pdf/#connect) [What it can do](https://flymy.ai/mcp/api2pdf/#actions)

Your own API key, 9 actions, Docs and productivity

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Api2Pdf MCP in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/mcp/api2pdf.md. Help me connect Api2Pdf MCP to this assistant. Then help me run this task: Use Api2Pdf to add header footer. Ask me for the required inputs first and show the result.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/mcp/api2pdf.md)

## What Api2Pdf MCP can do

9 actions in the FlyMy.AI catalog, the most used first. Your agent finds them through search_tools and calls the one the task needs.

| Action | What it does |
|---|---|
| [#](https://flymy.ai/mcp/api2pdf/#method-API2PDF_ADD_HEADER_FOOTER) `API2PDF_ADD_HEADER_FOOTER` | Add headers and footers to a pdf document. |
| [#](https://flymy.ai/mcp/api2pdf/#method-API2PDF_DELETE_PDF) `API2PDF_DELETE_PDF` | Delete a previously generated pdf. |
| [#](https://flymy.ai/mcp/api2pdf/#method-API2PDF_EXTRACT_PAGES) `API2PDF_EXTRACT_PAGES` | Extract specific pages from a pdf document. |
| [#](https://flymy.ai/mcp/api2pdf/#method-API2PDF_LIBREOFFICE_PDF_TO_HTML) `API2PDF_LIBREOFFICE_PDF_TO_HTML` | Convert a pdf document to html using libreoffice. |
| [#](https://flymy.ai/mcp/api2pdf/#method-API2PDF_LIBREOFFICE_THUMBNAIL) `API2PDF_LIBREOFFICE_THUMBNAIL` | Generate a thumbnail image of a document using libreoffice. |
| [#](https://flymy.ai/mcp/api2pdf/#method-API2PDF_MERGE_PDFS) `API2PDF_MERGE_PDFS` | Merge multiple pdf documents into a single pdf. |
| [#](https://flymy.ai/mcp/api2pdf/#method-API2PDF_OPTIMIZE_PDF) `API2PDF_OPTIMIZE_PDF` | Optimize a pdf document to reduce file size while maintaining quality. |
| [#](https://flymy.ai/mcp/api2pdf/#method-API2PDF_REORDER_PAGES) `API2PDF_REORDER_PAGES` | Reorder pages of a pdf document. |
| [#](https://flymy.ai/mcp/api2pdf/#method-API2PDF_ZEBRA_GENERATE_BARCODE) `API2PDF_ZEBRA_GENERATE_BARCODE` | Generate barcodes or qr codes using zebra crossing (zxing). |

## Ask your agent

Requests to paste as they are. Each one runs on the actions named under it.

**“Use Api2Pdf to add header footer. Ask me for the required inputs first and show the result.”** uses `API2PDF_ADD_HEADER_FOOTER`

**“Use Api2Pdf to delete pdf. Ask me for the required inputs first and show the result.”** uses `API2PDF_DELETE_PDF`

**“Use Api2Pdf to extract pages. Ask me for the required inputs first and show the result.”** uses `API2PDF_EXTRACT_PAGES`

## Connect Api2Pdf in a minute

One MCP for every integration. Add it once, then every MCP in the catalog is a request away.

1. 01 ### Add FlyMy.AI Add the FlyMy.AI MCP to your assistant with one of the commands below and sign in. No key to copy.
2. 02 ### Add your Api2Pdf API Key Paste it into the Api2Pdf [connection settings](https://app.flymy.ai/mcp-configs#api2pdf) once; it stays with FlyMy.AI, never in a prompt or a chat.
  - **Api2Pdf API Key** - Your unique API key obtained from the Api2Pdf portal. [Get API key →](https://portal.api2pdf.com/register)
3. 03 ### Ask Paste a request from this page. Every run shows what it cost.

Claude Code

```
claude mcp add --transport http flymyai https://mcp-agents.flymy.ai/mcp
```

Then run /mcp in Claude Code and sign in.

Codex

```
codex mcp add flymy --url https://mcp-agents.flymy.ai/mcp
```

Then run codex mcp login flymy to sign in.

claude.ai and Claude Desktop

```
https://mcp-agents.flymy.ai/mcp
```

Settings, Connectors, Add custom connector: paste this URL.

## Pay per run

FlyMy.AI bills the run: the model and the tool's seconds. Calls go to your own Api2Pdf account, under its plan and limits. No seats and no minimum.

[See usage pricing →](https://flymy.ai/pricing/)

## More Docs and productivity MCPs

Docs, spreadsheets, tasks, projects, forms and files.

### Notion

Notion pages/databases

21 actions / sign in

Link: https://flymy.ai/mcp/notion/

### Google Sheets

Google Sheets is a cloud-based spreadsheet tool enabling real-time collaboration, data analysis, and integration with other Google Workspace apps

36 actions / sign in

Link: https://flymy.ai/mcp/google-sheets/

### Airtable

Airtable bases on per-user OAuth: list bases and schema, read, create, update and delete records, comments, webhooks

9 actions / sign in

Link: https://flymy.ai/mcp/airtable/

### Google Drive

Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices, with robust search and offline access

51 actions / sign in

Link: https://flymy.ai/mcp/googledrive/

### Asana

Asana work management: tasks, subtasks, projects, sections, portfolios, custom fields, comments and attachments on per-user OAuth

18 actions / sign in

Link: https://flymy.ai/mcp/asana/

### Basin

Basin is a no-code form backend that enables users to set up powerful, reliable forms quickly without writing server-side code

18 actions / your API key

Link: https://flymy.ai/mcp/basin/

## Go to the source

[Api2Pdf in the docs →](https://docs.flymy.ai/mcp/apps/api2pdf), [Api2Pdf connection settings →](https://app.flymy.ai/mcp-configs#api2pdf), [Api2Pdf website →](https://portal.api2pdf.com/register), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

From the FlyMy.AI platform catalog of 2026-11-03: name, description, actions and setup as the platform lists them. Examples are requests to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
