---
type: WebPage
title: AI PDF Generation via MCP | Marqius Engine
description: Give an MCP-compatible AI assistant a PDF tool. Generate a laid-out
  document from HTML or Markdown, then review the result.
resource: https://marqius.com/ai/
tags:
  - marqius
  - products-and-guides
status: stable
sources:
  - id: official-page
    resource: https://marqius.com/ai/
generated:
  by: process:marqius-site-build
  at: 2026-11-20T10:17:10.036Z
x_marqius:
  language: en
  source_sha256: 9cf50a50c4f41035310c2525a42970eec1fa83d718f7fbe45f9066aab156789e
  extraction: public-main-content
---

AI DOCUMENT WORKFLOWS

# Give your AI assistant a PDF tool.

Give an MCP-compatible assistant a tool that turns HTML or Markdown into a laid-out PDF. Use Marqius for rendering and keep the source content and review in your workflow.

[Discuss an AI Workflow](https://marqius.com/contact)[See How It Works](https://marqius.com/ai/#ai-workflow)

ILLUSTRATIVE CONCEPT

MCP INTEGRATION

## From approved content to a PDF your team can review.

Model Context Protocol (MCP) lets a compatible assistant call Marqius Engine as a tool. The assistant supplies the content. Engine lays it out and returns the PDF.

1.  **Prepare the source.** Use an approved template or review the HTML or Markdown your assistant has drafted.
2.  **Render the document.** Call `html_to_pdf` with the source, a title and a page size. Marqius produces the laid-out PDF.
3.  **Review the result.** Compare key fields with their sources, inspect page breaks and tables, and approve the file before distribution or print.

MARQIUS FEATURES

## What supports an AI document workflow

[All features](https://marqius.com/features/)

INPUTS & OUTPUTS

### Turn source content into finished files

Start with HTML, Markdown or a web address. Prepare a PDF for reading or print, an EPUB 3 edition, or page images for review.

[Explore feature](https://marqius.com/features/document-conversion/)

TYPOGRAPHY & LAYOUT

### Lay out long documents with care

Control page size and margins, tables, running heads, footnotes and cross-references. Review the longest sections so the document reads as well at the end as it does at the start.

[Explore feature](https://marqius.com/features/page-layout-and-typography/)

RELIABILITY

### Catch issues before the handoff

Use press checks and page-level findings to review the file before release. Strict mode can stop a run when a check raises a warning, so the next step starts with a decision.

[Explore feature](https://marqius.com/features/press-checks-and-reliability/)

## Try one PDF your assistant needs to produce.

A recurring brief, report or letter is a useful first example. Bring an anonymised source and show us what a good result looks like.

[Discuss an AI Workflow](https://marqius.com/contact)

QUESTIONS & ANSWERS

## Questions about AI document workflows

### How does an AI assistant generate a PDF with Marqius?

A compatible assistant calls html\_to\_pdf through the Model Context Protocol. It supplies HTML or Markdown, a title and a page size and receives a laid-out PDF.

### Does the AI decide what goes into the finished document?

Your workflow decides which content is approved to render and release. Review the source and the resulting PDF before distribution.

### Can my application generate a PDF directly?

Yes. Marqius Engine also provides an HTTP conversion endpoint for applications that submit HTML and receive the PDF.

Source for this page [^official-page].

[^official-page]: https://marqius.com/ai/

[Browse this section](index.md) · [Knowledge index](../index.md)
