Foliopdf

by foliopdf

1 316 downloads Not rated yet MIT
GitHub

About

MCP server for FolioPDF — PDF rendering tools for AI agents

Details

License
MIT

Explore

- Renders PDFs locally with a single binary, works offline
- Bundled Tailwind CSS v3 (v4 not supported) for HTML styling
- Built‑in fonts Inter and Geist with multiple weights
- Template variables using Go html/template syntax
- Headers and footers with page number placeholders
- Three Markdown themes: github, minimal, print
- Watermark support (diagonal text overlay)
- PDF manipulation: merge, split, rotate
- PDF extraction: text and metadata

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Foliopdf
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Homebrew

brew install foliopdf/tap/foliopdf-mcp

Go

go install github.com/foliopdf/foliopdf-mcp@latest

Direct download
```bash

render_html

HTML to PDF with Tailwind CSS v3, headers/footers, template variables

render_markdown

Markdown to PDF with themes and syntax highlighting

manipulate_pdf

Merge, split, or rotate PDFs

extract_pdf

Extract text and metadata from a PDF

| Tool | What it does |
|------|-------------|
| render_html | HTML to PDF with Tailwind CSS v3, headers/footers, template variables |
| render_markdown | Markdown to PDF with themes and syntax highlighting |
| manipulate_pdf | Merge, split, or rotate PDFs |
| extract_pdf | Extract text and metadata from a PDF |

Every response includes the PDF as base64 data and a local file path.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "foliopdf": {
            "foliopdf": {
                "command": "foliopdf-mcp"
            }
        }
    }
}

McpServers

{
    "foliopdf": {
        "command": "foliopdf-mcp"
    }
}

CI
Release
License: MIT

PDF generation, manipulation, and extraction for AI agents. Single binary, renders locally, works offline.

Install

Homebrew

brew install foliopdf/tap/foliopdf-mcp

Go

go install github.com/foliopdf/foliopdf-mcp@latest

Direct download
```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.