MCP Integration Setup
Connect AI assistants to PDFlys PDF tools
Last updated: February 2026
What is MCP?
The Model Context Protocol (MCP) lets AI assistants like Claude use PDFlys tools directly. Instead of uploading files to pdflys.com manually, you can ask your AI assistant to process PDFs for you — merge, split, compress, add watermarks, and more — all through a natural conversation.
Setup Guides
https://mcp.pdflys.com/mcpYou'll need a PDFlys API key. Generate one from your account settings.
Claude.ai
https://mcp.pdflys.com/mcpClaude.ai sends file content directly to the MCP server — no local file paths needed. Simply attach a PDF to your conversation.
Example prompts:
- "Compress this PDF to reduce its file size"
- "Add page numbers to this document"
- "Merge these two PDFs into one"
Claude Code (CLI)
~/.claude/settings.json or .mcp.json in your project{
"mcpServers": {
"pdflys": {
"type": "http",
"url": "https://mcp.pdflys.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Local mode
Remote mode
Cursor / Other IDE Clients
{
"name": "pdflys",
"transport": "http",
"url": "https://mcp.pdflys.com/mcp",
"auth": {
"type": "bearer",
"token": "YOUR_API_KEY"
}
}Troubleshooting
"File not found" errors
This happens when a remote MCP client sends a local file path instead of file content. Remote clients (Claude.ai, Cursor) cannot access your local filesystem through the MCP server.
Attach the file directly to your AI conversation instead of referencing a file path. The AI client will send the file content to the MCP server automatically.
Authentication errors
Your API key may be invalid or expired.
- Check that your API key is correctly configured
- Generate a new API key from your mcp.docs.setup.settingsLink
- Ensure the key hasn't been revoked
Rate limit errors
You've exceeded the request limit for your plan.
Wait a moment and try again, or upgrade your plan for higher limits.
Quota exceeded
You've used all operations for this billing period.
Upgrade your plan or wait for the next billing cycle reset.
Supported Operations
All 23 PDF tools available via MCP:
| Tool | Input | Multi-file |
|---|---|---|
| Merge PDF | .pdf | Yes |
| Split PDF | .pdf | No |
| Rotate PDF | .pdf | No |
| Remove Pages | .pdf | No |
| Extract Pages | .pdf | No |
| Add Page Numbers | .pdf | No |
| PDF to JPG | .pdf | No |
| PDF to Image | .pdf | No |
| Image to PDF | .jpg,.jpeg,.png,.gif,.webp,.bmp,.tiff,.tif,.svg,.avif,.heic,.heif | Yes |
| Compress PDF | .pdf | No |
| Edit PDF | .pdf | No |
| Sign PDF | .pdf | No |
| Crop PDF | .pdf | No |
| Add Text to PDF | .pdf | No |
| Annotate PDF | .pdf | No |
| Draw on PDF | .pdf | No |
| Highlight PDF | .pdf | No |
| Add Shapes to PDF | .pdf | No |
| Redact PDF | .pdf | No |
| Organize PDF Pages | .pdf | No |
| Watermark PDF | .pdf | No |
| Protect PDF | .pdf | No |
| Unlock PDF | .pdf | No |
| Accessibility Checker | .pdf | No |
| Compare PDF | .pdf | Yes |
Privacy & Data Handling
When using MCP tools, your files are sent to the PDFlys API for processing. Files are processed immediately and not stored permanently. Results are available via temporary download links that expire within 30 minutes.