# Docamatic MCP for AI Agents AI Agent Connect

> Docamatic lets you build and manage professional documents at scale. It turns raw data into high-quality PDFs and images using templates, handles complex PDF merges, and captures web screenshots with full JavaScript rendering. It's the bridge between your AI agent and your document production pipeline.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_SFDiBB060mRFQZiKrU88CZvsCOjhtbb8OaZ0KisC/ai-agent-connect
- **Tags:** pdf-generation, html-to-pdf, document-automation, template-rendering, image-processing, reporting

## Description

Docamatic connects your account to any AI agent so you can take full control of your document production and media workflows through natural conversation. Imagine you're trying to send out hundreds of personalized invoices or certificates. Usually, that means manual data entry or wrestling with clunky software that breaks when you try to scale. With this Connector, you just tell your AI agent what needs to happen. It takes the raw data and pours it into your predefined templates, handles the heavy lifting of rendering the files, and hands you the finished PDF. It's not just about making a file; it's about automating the entire production line. You can grab a live website screenshot, merge multiple reports into one polished deck, or slap a QR code onto an existing document without ever opening a design tool. Whether you're a developer needing to snapshot a site or a finance lead generating monthly reports, this connection makes your agent a capable document engineer. It's one of the most practical ways to use the Vinkius catalog to turn text into tangible, professional assets.

## Tools

### generate_image_from_html
Converts an HTML string or a live URL into a high-quality image file. Use this for quick visual assets.

### generate_pdf_from_template
Injects JSON data into a specific template like an invoice to create a PDF. It handles the layout for you.

### generate_pdf_from_html
Turns a live website URL or raw HTML into a professional PDF file. Ideal for creating custom-styled reports.

### list_generation_history
Shows a list of your recently created documents so you can track production. Useful for audits and history.

### list_available_builtin_templates
Shows the standard templates you can use for invoices and other common docs. Great for getting started fast.

### merge_multiple_pdfs
Combines several PDF files into a single, unified document. Use this to create comprehensive reports.

### take_web_screenshot
Captures a full-page screenshot of a website while handling JavaScript automatically. Perfect for live site captures.

### add_elements_to_pdf
Draws text, images, or QR codes onto an existing PDF file. Use this for quick branding or info updates.

## Prompt Examples

**Prompt:** 
```
Create an invoice for 'Smith Co' for $500 using the invoice1 template.
```

**Response:** 
```
I've generated that invoice for Smith Co using the 'invoice1' template. You can download the PDF here: **[download_url]**. 

Would you like me to merge this with last month's report?
```

**Prompt:** 
```
Take a screenshot of the homepage for https://example.com.
```

**Response:** 
```
Captured the full-page screenshot for **example.com**. I handled the JavaScript rendering to make sure everything loaded correctly. 

Here is your image: **[image_url]**.
```

**Prompt:** 
```
Merge the three PDFs I just generated into one file.
```

**Response:** 
```
I've combined those three documents into a single PDF. You can download the merged file here: **[download_url]**. 

Anything else you need for this report?
```

## Capabilities

### Convert websites to high-fidelity PDFs
Turn any live URL into a professional, multi-page PDF document instantly.

### Inject dynamic data into pre-made templates
Populate invoices, packing slips, and certificates with your own JSON data.

### Merge multiple PDF files into one document
Combine several separate PDF files into a single, finalized document for easier sharing.

### Add text, images, or QR codes to existing PDFs
Draw new elements onto your existing PDF files without needing a graphic design suite.

### Capture full-page web screenshots
Get high-quality screenshots of any website with automatic JavaScript rendering.

### List and monitor your document history
Access a complete directory of your recently generated documents directly from your agent.

## Use Cases

### Batch Invoice Generation
A finance lead asks to create 50 invoices for different clients using a specific template. The agent handles the data injection for all 50 files in seconds.

### Technical Documentation Snapshots
A developer needs to capture 10 different landing pages as screenshots for a report. The agent captures them all with full JS rendering.

### Monthly Report Consolidation
A manager wants to merge five separate monthly reports into one master PDF. The agent combines them into one finalized document automatically.

### Event Certificate Production
A marketing lead generates 500 unique completion certificates for an online course. The agent populates the templates with student data.

## Benefits

- Stop manual data entry by using generate_pdf_from_template to populate invoices and reports instantly.
- Save hours of design work by using add_elements_to_pdf to overlay QR codes or text on existing files.
- Get accurate site captures with take_web_screenshot which handles JavaScript rendering for you.
- Simplify complex reports by using merge_multiple_pdfs to combine files into one final document.
- Streamline your workflow by using list_generation_history to track all your document production in one place.

## How It Works

The bottom line is you get a hands-off document production pipeline that works through natural conversation.

1. Grab your API key from your Docamatic account settings.
2. Connect this Connector to your preferred AI client.
3. Ask your agent to generate, merge, or modify documents using natural language.

## Frequently Asked Questions

**Can Docamatic MCP create invoices for me?**
Yes, it can. You just provide the data and choose a template, and the Connector generates a professional PDF invoice for you.

**How do I get screenshots of websites that use a lot of JavaScript?**
The Docamatic MCP handles JavaScript rendering automatically when taking web screenshots, so you get a complete capture of the page.

**Can I add my own logo or QR code to an existing PDF?**
Yes, you can use the tool to draw new elements like text, images, or QR codes onto any PDF you already have.

**Can I combine multiple PDF files into one?**
Absolutely. You can ask your agent to merge several PDFs into a single finalized document in one step.

**Does Docamatic MCP support custom templates?**
It supports built-in templates for things like invoices and packing slips, and you can use HTML to generate custom layouts.

**How do I see the documents I've already created?**
You can ask your agent to list your generation history, and it will show you a list of your recently produced files.

**How do I find my Docamatic API Key?**
Log in to your account and navigate to the **API Key** section in your settings to generate or copy your unique access token.

**Can I use my own custom HTML strings?**
Yes! The `generate_pdf_from_html` and `generate_image_from_html` tools accept raw HTML strings as source input.

**Does it support merging existing PDF files?**
Absolutely. Use the `merge_multiple_pdfs` tool and provide an array of public URLs to combine them into a single PDF document.