Foliopdf
@foliopdf
About Foliopdf
MCP server for FolioPDF — PDF rendering tools for AI agents
Basic information
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.
More Other MCP servers
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Codelf
unbugA search tool helps dev to solve the naming things problem.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Comments