Working with PDFs in code is mostly plumbing. You upload the file, start a job, poll until it's done, download the result, and deal with tokens along the way. Foxit has a guide that shows how to skip most of that by connecting your AI tool to their PDF tools through an MCP server.
What it covers
- Foxit's open-source MCP server, which turns their cloud PDF API into 30+ tools an AI agent can call
- The tools, in seven groups: making PDFs from Word, Excel, PowerPoint, images, HTML or a web page; turning PDFs back into those formats; merging, splitting, compressing and watermarking; comparing and OCR; passwords and form data
- Step-by-step setup for Claude Desktop and VS Code. The same config works in Cursor and other MCP apps
- A longer example where an agent turns a Word contract into a PDF and sends it out for e-signature
Setup is small
You make a free Foxit developer account (no card needed), get a client ID and secret, clone the repo, and add one entry to your tool's MCP config. After a restart you can type something like "convert this Word file to PDF and compress it", and the agent picks the right two tools on its own.
Who it's for
Developers building document workflows: contracts, reports, invoices, anything that ends up as a PDF. Also anyone who is tired of writing the same upload-and-poll code for every file job.
What I liked
Claude Desktop asks before each tool runs and shows you the arguments, so you see exactly what the agent is about to do to your files. The guide calls this your audit point, and that matters when an agent is touching real documents.
It's also clear about the limits. E-signature and document generation are separate Foxit APIs, not part of the MCP server. And the result of a full document analysis can be too big for the model, so you filter it before the model sees it.
How I'll use it
I'm building an app that makes image slides, and putting a set of images into one PDF is on my list. Turning each image into a PDF and merging them looks like the shortest way there, without adding a PDF library to my code.
Read the full guide here: Foxit MCP Server: Give AI Agents Direct Access to 30+ PDF Tools
Top comments (0)