Foliopdf
@foliopdf
About Foliopdf
MCP server for FolioPDF — PDF rendering tools for AI agents
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"foliopdf": {
"command": "foliopdf-mcp"
}
}
}Tools
4HTML to PDF with Tailwind CSS v3, headers/footers, template variables
Markdown to PDF with themes and syntax highlighting
Merge, split, or rotate PDFs
Extract text and metadata from a PDF
Overview
What is Foliopdf?
It is an MCP server that provides PDF generation, manipulation, and extraction for AI agents. It runs as a single binary, renders PDFs locally, and works offline.
How to use Foliopdf?
Install via Homebrew, Go install, or direct download. Configure Claude Desktop by adding the command foliopdf-mcp in the MCP servers config. Then ask Claude to generate a PDF using tools like render_html, render_markdown, manipulate_pdf, or extract_pdf.
Key features of Foliopdf
- 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/templatesyntax - 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
Use cases of Foliopdf
- Generate invoices or reports from HTML or Markdown with dynamic data
- Create styled PDFs for printing or distribution using Tailwind CSS
- Merge multiple PDFs into one document
- Extract text and metadata from existing PDFs
- Add watermarks to draft documents
FAQ from Foliopdf
How does Foliopdf differ from other PDF libraries?
Foliopdf is an MCP server designed for AI agents, providing a simple interface via tools. It is a single binary that renders locally and works offline, with no external dependencies.
What are the runtime requirements?
Only the binary itself; no external runtime or cloud service needed.
Where are generated PDFs stored?
Each tool response includes the PDF as base64 data and a local file path.
What transport does Foliopdf use?
It uses stdio as the transport protocol, configured as an MCP server command in Claude Desktop.
Are there any known limitations?
Tailwind CSS v4 is not supported; only v3 is bundled.
Frequently asked questions
How does Foliopdf differ from other PDF libraries?
Foliopdf is an MCP server designed for AI agents, providing a simple interface via tools. It is a single binary that renders locally and works offline, with no external dependencies.
What are the runtime requirements?
Only the binary itself; no external runtime or cloud service needed.
Where are generated PDFs stored?
Each tool response includes the PDF as base64 data and a local file path.
What transport does Foliopdf use?
It uses stdio as the transport protocol, configured as an MCP server command in Claude Desktop.
Are there any known limitations?
Tailwind CSS v4 is not supported; only v3 is bundled.
Basic information
More Other MCP servers
ghidraMCP
LaurieWiredMCP Server for Ghidra
Awesome Mlops
visengerA curated list of references for MLOps

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Comments