# PSPDFKit (Nutrient) MCP for AI Agents AI Agent Connect

> PSPDFKit (Nutrient) lets your AI agent handle heavy-duty PDF and document processing. It converts HTML to PDFs, runs OCR on scanned images, transforms Office files, and manages complex tasks like redaction and watermarking. It's the bridge between raw content and professional, accessible documents.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_GJ5munaGM52GsFLuBPidwWhHisnl0Jr4DQUgzLCy/ai-agent-connect
- **Tags:** pdf-generation, ocr, document-conversion, pdf-editor, nutrient-api

## Description

Imagine you're dealing with a pile of messy scanned invoices or need to turn a complex web layout into a polished PDF. Usually, this means jumping between different apps, manually uploading files, and hoping the formatting doesn't break. With PSPDFKit (Nutrient) connected to your agent, you just describe the task. You can ask your agent to grab a specific Office file, strip out sensitive info, and turn it into a secure, watermarked PDF for a client. It handles the heavy lifting of document transformation and accessibility tagging in the background. Because Vinkius makes it so easy to plug this into your existing setup, you can move from "how do I do this?" to "done" in a single conversation. It takes the friction out of high-volume document workflows, whether you're trying to make old records searchable or ensuring new ones meet strict legal standards.

## Tools

### autotag_pdf
Automatically tags a PDF to meet PDF/UA accessibility standards. This ensures that people using screen readers can navigate your documents easily.

### ocr_document
Extracts text from images or scanned PDFs. This makes your static files searchable and readable by your agent.

### upload_viewer_document
Sends a document to the Viewer API. This is the final step in getting a file ready for web viewing.

### build_document
Performs advanced edits like redaction and watermarking. It's the go-to tool for modifying the content and security of a file.

### convert_to_pdf
Changes Office files or images into standardized PDFs. This keeps your branding consistent across different source formats.

### create_viewer_session
Generates a session token for the Viewer API. Use this to prepare a document for a secure web viewing experience.

### generate_pdf
Turns raw HTML content into a professional PDF document. It's perfect for creating invoices or reports from web layouts.

## Prompt Examples

**Prompt:** 
```
I have a web page for an invoice. Can you turn that into a PDF?
```

**Response:** 
```
I've processed that for you. I used the HTML content to generate a professional PDF. You can download it here: [Link]
```

**Prompt:** 
```
I need to make this scanned contract searchable.
```

**Response:** 
```
I'm running OCR on that scan now. I'll extract all the text so you can search for specific names or dates within the document. I'll let you know when it's ready.
```

**Prompt:** 
```
Can you add a watermark to this PDF and make it accessible?
```

**Response:** 
```
I'm on it. I'll use the building tools to add the watermark and then run the auto-tagging to ensure it meets PDF/UA standards. I'll send you the updated file shortly.
```

## Capabilities

### Convert HTML to PDF
Turn web content into professional documents instantly.

### Extract text from images
Run OCR to make scanned files searchable.

### Change file formats
Turn Word, PowerPoint, and images into PDFs.

### Modify document layers
Apply watermarks and redactions to existing files.

### Tag for accessibility
Automatically meet PDF/UA standards for screen readers.

### Create viewer sessions
Prepare documents for web-based viewing.

## Use Cases

### Redacting high-volume contracts
A legal team has to redact 50 contracts manually. The user asks the agent to run build_document on a folder of files to apply redactions and watermarks to all of them at once.

### Digitizing paper archives
Scanned records are impossible to search. A records manager asks the agent to run ocr_document on a batch of scans to make them searchable.

### Web-to-PDF report generation
HTML reports look messy as PDFs. A dev asks the agent to use generate_pdf to create a clean, branded report from a specific web URL.

### Meeting accessibility compliance
Files aren't accessible for blind users. A compliance officer asks the agent to use autotag_pdf to make a new set of documents PDF/UA compliant.

## Benefits

- Stop manual formatting by using generate_pdf to turn HTML into polished documents instantly.
- Make old scans searchable by running ocr_document on images to extract all the hidden text.
- Protect sensitive data using build_document to apply watermarks and redactions in seconds.
- Meet legal requirements automatically with autotag_pdf to ensure your files are accessible.
- Standardize your files by using convert_to_pdf to move everything into a consistent PDF format.
- Prepare web-ready files quickly by using create_viewer_session and upload_viewer_document.

## How It Works

The bottom line is you get a professional document processing engine that follows your verbal instructions.

1. Connect the Connector to your AI client and provide your Nutrient API Key.
2. Describe the document task you want to perform in plain English.
3. Get a link to your processed PDF or the result of the document modification.

## Frequently Asked Questions

**Can PSPDFKit (Nutrient) help me make my PDFs screen-reader friendly?**
Yes. It uses autotag_pdf to automatically tag your documents for PDF/UA compliance, which is the standard for accessibility.

**How does PSPDFKit (Nutrient) handle scanned images?**
It uses OCR technology to read the text inside images or scanned PDFs. This makes the content searchable and readable by your AI agent.

**Can I use PSPDFKit (Nutrient) to convert Word files to PDF?**
Yes, it can transform Office files like DOCX and PPTX into standardized PDFs while keeping the layout intact.

**Is PSPDFKit (Nutrient) good for redacting sensitive info?**
It's great for that. You can use it to apply redactions and watermarks to documents to keep sensitive data private.

**How do I get my documents onto a web viewer with PSPDFKit (Nutrient)?**
The Connector can create a viewer session and upload your document to the Viewer API, making it ready for web display.

**Can PSPDFKit (Nutrient) turn my website into a PDF?**
Yes, it can take raw HTML content and turn it into a professional PDF document instantly.

**Can I make a scanned image searchable using this server?**
Yes. Use the `ocr_document` tool by providing the file URL. It will extract the text and return a processed document that is fully searchable.

**How do I redact sensitive information from a PDF?**
You can use the `build_document` tool. It allows you to send specific instructions for redaction, watermarking, or other advanced transformations to a source document.

**Is it possible to ensure my PDFs are accessible for people with disabilities?**
Absolutely. The `autotag_pdf` tool processes your document to meet accessibility standards like PDF/UA-1, making it compatible with screen readers.