# iLovePDF MCP for AI Agents AI Agent Connect

> iLovePDF MCP lets you manage PDF files through your AI client. You can merge multiple documents, split pages, shrink large files, and convert PDFs to other formats like Word. It handles the heavy lifting of document processing so you can just tell your agent what to do.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_xLyA77jOSOzSYGOZ5wq7G8BeVx9xRwFCLZnGf6uK/ai-agent-connect
- **Tags:** pdf-processing, file-conversion, document-automation, compression, merge-split, api-integration

## Description

Imagine you're buried in a pile of PDFs that need to be merged into a single report or shrunk down because they're too big to send over email. Instead of opening a browser, hunting for a conversion tool, and manually dragging files around, you just tell your agent to handle it. This Connector connects your iLovePDF account directly to your workflow. You can ask it to grab a file from a web link, run a set of instructions like "compress this and convert it to Word," and then get a download link when it's done. It handles the status tracking in the background so you don't have to keep refreshing a page. Because it's listed on the Vinkius catalog, you can plug it into your existing setup and start moving documents around using plain English. It turns a multi-step manual process into a single conversation.

## Tools

### list_pdf_tasks
See a list of your recent document processing jobs. This helps you keep track of what you've done lately.

### get_task_status
Check if your document is still processing or ready. This is useful for large files that take a moment.

### get_pdf_download_link
Grab the final link for your finished document. Use this once the agent confirms the task is complete.

### process_pdf_task
Run a specific PDF operation like merging or converting. It executes the command you gave your agent.

### start_pdf_task
Create a new job for compressing, merging, or splitting files. It returns a task ID for your records.

### upload_pdf_by_url
Send a PDF to the processor using a web link. This skips the need to download the file to your machine first.

## Prompt Examples

**Prompt:** 
```
Merge these three files and shrink the size.
```

**Response:** 
```
I've started the merge and compression task for you. 

**Status:**
- **Action:** Merging 3 files
- **Secondary Action:** Compression
- **Task ID:** `task_9921` 

I'll let you know as soon as the download link is ready.
```

**Prompt:** 
```
Can you convert that PDF to a Word doc?
```

**Response:** 
```
Sure thing. I'm starting the conversion from PDF to Word now.

**Progress:**
- **File:** Quarterly_Report.pdf
- **Status:** Processing...

I'll provide the download link for your `.docx` file in a moment.
```

**Prompt:** 
```
Check if my last PDF task is done.
```

**Response:** 
```
Checking the status of your last task...

**Task Result:**
- **ID:** `task_9921`
- **Status:** ✅ Completed
- **Download Link:** [Click here to download your file](https://example.com/download/link)
```

## Capabilities

### Merge multiple PDFs
Combine several PDF documents into a single file automatically.

### Split PDF pages
Break a single PDF into separate documents or extract specific pages.

### Shrink PDF sizes
Compress large files so they are easier to share via email or chat.

### Convert to Word
Change PDF files into editable Word documents while keeping the layout.

### Upload via URL
Send a PDF to the processor using a web link instead of a manual upload.

### Track task progress
Monitor the status of your document jobs in real time.

## Use Cases

### Shrinking large reports
A user has a 50MB report that won't send over email. They ask the agent to compress it, and the agent uses start_pdf_task to shrink it to 5MB.

### Converting files for editing
A team member needs to edit a PDF. They ask the agent to convert it to Word, and the agent uses process_pdf_task to handle the conversion.

### Merging multiple documents
An admin needs to combine three separate PDF reports into one. The agent uses start_pdf_task to merge them into a single file.

### Grabbing files from the web
A user wants to process a PDF hosted on a website. They give the URL to their agent, which uses upload_pdf_by_url to start the job.

## Benefits

- Skip the browser: Don't waste time opening a new tab to find a PDF converter. Just ask your agent to do it directly.
- Batch processing: Use start_pdf_task to queue up multiple document operations in one go without manual intervention.
- URL uploads: Use upload_pdf_by_url to grab files from the web directly into your processing pipeline.
- Real-time tracking: Stay updated on long jobs with get_task_status so you know exactly when your files are ready.
- Easy access: Get your final files quickly with get_pdf_download_link delivered straight to your chat window.

## How It Works

The bottom line is that it turns your AI client into a hands-free PDF processing station.

1. Get your Public and Secret keys from the iLovePDF developer portal.
2. Add your credentials to your Connector client configuration.
3. Ask your agent to perform a PDF task and receive the final download link.

## Frequently Asked Questions

**Can I use iLovePDF MCP to merge files?**
Yes. You can ask your agent to combine multiple PDF documents into a single file. It handles the merging process and gives you a download link when it's finished.

**How do I get my PDF files back?**
Once the agent finishes processing your document, it will provide a direct download link in the chat. You can click that link to save the finished file to your device.

**Can I convert PDFs to Word?**
Yes, that's one of the main things this Connector does. It can take a PDF and turn it into an editable Word document while preserving the original formatting.

**Does it work with large files?**
It does. For large files that take longer to process, the Connector tracks the status in the background so you can check on the progress whenever you want.

**Can I upload files from a URL?**
Yes. Instead of downloading a file to your computer first, you can just give your agent the web link, and the Connector will grab it directly for processing.

**How do I set up iLovePDF MCP?**
You just need to get your Public and Secret keys from the iLovePDF developer portal and add them to your Connector client. Once that's done, you can start using it.

**Can it handle batch processing?**
Yes. You can ask your agent to perform multiple tasks, like merging or compressing several files at once, and it will handle the queue for you.

**Can I merge multiple PDF files into one?**
Yes. Use `start_pdf_task` with task type 'merge', then upload each PDF with `upload_pdf_by_url`, and finally call `process_pdf_task` to execute. Use `get_pdf_download_link` to retrieve the merged result.

**Does iLovePDF require two credentials?**
Yes. iLovePDF uses a **Public Key** and **Secret Key** pair. The server exchanges these for a JWT token automatically via `api.ilovepdf.com/v1`. No manual token management required.

**Can I track the status of a PDF processing task?**
Yes. Use `get_task_status` with the task ID to check progress. Use `list_pdf_tasks` to see all tasks with their current status (pending, processing, completed, failed).