Provides comprehensive PDF manipulation capabilities, enabling direct editing, text operations, image handling, and page management through an MCP server.
This project implements a Model Context Protocol (MCP) server utilizing the powerful PyMuPDF library to offer extensive PDF manipulation features. Designed as a study project, it allows for direct PDF editing, including adding and replacing text, inserting and extracting images, managing annotations and form fields, and performing various page manipulations like merging, splitting, rotating, and cropping. It also supports metadata operations and automatic content boundary cropping, all accessible via the official MCP FastMCP framework for integration with tools like Cursor IDE.
Key Features
01Merge, split, rotate, delete, and crop PDF pages, including auto-cropping
02Add, replace, and manipulate text within PDF documents
03Add and extract images from PDFs
04Add and fill form fields; get and set PDF metadata
05Add various types of annotations (text, highlight, underline, etc.)
061 GitHub stars
Use Cases
01Automate PDF editing workflows within an MCP-compatible environment like Cursor IDE
02Programmatically add text, images, or annotations to existing PDF documents
03Combine multiple PDF files, split documents, or rotate/crop pages for document preparation