Foxit's MCP Server: 30+ PDF Tools for AI Agents
As a student, I have a lot of scanned books and notes to read, and almost all of them are PDFs. Some are book chapters someone scanned on their phone. Some are lecture slides. Some are notes friends drop in a group chat the night before an exam.
I already use AI agents almost every day for code, so I wanted one to handle these too. OCR the scans, compress the huge ones, merge them by subject, and then I can summarize them later.
Why doing it through REST gets tiring
If you've ever had an AI agent work with PDFs through a REST API, you know how many steps it takes. Upload the file, poll until the job is done, download the result. Then do it all again for the next file. And again for the next step.
So OCR, then compress, then merge is three of those loops for every single file. Too draining!!
What the MCP server does
After exploring, I found out that Foxit has an MCP server that turns more than 30 of its PDF operations into tools. MCP (Model Context Protocol) is what lets apps like Claude Desktop, VS Code with Copilot and Cursor call outside tools directly. The server handles the uploading and polling itself, so the agent just calls the tool it needs.
Most tools take a document ID from an earlier upload and give back a new one. That means the agent can chain steps on its own, and you don't have to write the glue code in between.
What you can do with it
- convert Word, Excel, PowerPoint, images, HTML and web pages into PDF
- export PDFs back to Word, Excel, images and other formats
- merge, split, compress, watermark and reorder pages
- run OCR and compare two PDFs
- add or remove passwords and move form data in and out as JSON
- check things like page count, fonts and metadata
Setup
The setup is pretty straightforward. You need a free Foxit developer account for the API keys, and Python 3.11 with uv or Node 18. The guide shows the config for Claude Desktop and VS Code, and the same structure works in Cursor.
One tip from the guide that will probably save someone an hour: if the server never shows up, check the MCP logs. It's usually a missing uv binary or a wrong folder path.
The part I liked most
There's a longer example where an agent builds a sales contract and sends it for signing. What I liked is that the guide is upfront about the limits. eSign and DocGen still go through REST because they sit outside the MCP server. For sure, I'd rather know that before I start building than find out halfway.
It's honest about a few other things too. The structural analysis tool gives you layout data, not things like names or dates, so the model still has to read and interpret it. That output can also get big enough to fill a model's context window, so it's better to filter it first. And the free plan is for development and testing only.
Should you try it?
If you're a student cramming for exams, or you simply work with a lot of PDFs, I'd definitely recommend trying this out. Even just OCR and merge in bulk would save me a lot of evenings.
You can read the full guide here. Thank you for reading!
About the author
I am a developer from Nepal who loves playing with tech.
Comments
Join the discussionNo comments yet. Be the first to comment.



