hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Integrations
PDF Tools MCP
A comprehensive set of PDF manipulation tools built with the Model Context Protocol (MCP) framework.
Features
Local PDF Operations
- Display: Render PDF pages as images
- Merge: Combine multiple pages into a single long page
- Metadata: Extract document metadata
- Text: Extract text blocks and detailed text information
- Snippets: Create freeform or full-width snippets from PDF pages
- Fuse: Combine pages from multiple documents into a single document
Remote PDF Operations
- Display: Render remote PDF pages as images
- Download: Fetch PDFs from URLs to local storage
Installation
Copy
Usage
Start the MCP server:
Copy
The server provides PDF manipulation endpoints through the MCP protocol.
Development
- Python 3.12+ required
- Uses the MCP framework for tool registration
- PDF documents are stored with UUID4 filenames for security
Copy
Dependencies
- MCP Framework
- PyMuPDF
- aiohttp/aiofiles for async operations
- python-magic-bin for file type detection
License
MIT. See LICENSE.