FolioPDF MCP Server

FolioPDF MCP Server

foliopdf-mcp•byfoliopdf

A single-binary MCP server that renders locally and works offline to generate, manipulate, and extract PDFs, exposing tools for HTML-to-PDF, Markdown-to-PDF, merge/split/rotate, and text extraction.

License: MIT•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Provides a render_html tool that converts HTML to PDF with bundled Tailwind CSS v3, headers/footers, and template variables.
  • •Provides a render_markdown tool that converts Markdown to PDF with themes and syntax highlighting.
  • •Provides a manipulate_pdf tool to merge, split, or rotate PDFs, and an extract_pdf tool to pull text and metadata.
  • •Returns each generated PDF as base64 data along with a local file path.

BEST FOR

  • •AI agents that need to produce PDFs from HTML or Markdown, such as invoices with template variables and page numbers.
  • •Offline or local PDF workflows requiring bundled Tailwind CSS and embedded fonts without network setup.
  • •Adding draft watermarks or combining and extracting existing PDF documents.

ABOUT FOLIOPDF-MCP

FolioPDF MCP Server is cataloged as an MCP server attributed to foliopdf. A single-binary MCP server that renders locally and works offline to generate, manipulate, and extract PDFs, exposing tools for HTML-to-PDF, Markdown-to-PDF, merge/split/rotate, and text extraction. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for FolioPDF MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does FolioPDF MCP Server require an internet connection?

No. It is a single binary that renders locally and works offline, with the Tailwind stylesheet and fonts bundled in the binary.

Which Tailwind CSS version is supported?

Tailwind CSS v3 is supported; Tailwind v4 is not.

What Markdown themes are available?

Three themes are offered: github, minimal, and print.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 14aa5a79ddda · 采集于 2026-11-13 10:58:27 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

FolioPDF MCP Server

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

# macOS (Apple Silicon)
curl -L https://github.com/foliopdf/foliopdf-mcp/releases/latest/download/foliopdf-mcp-darwin-arm64.tar.gz | tar xz
sudo mv foliopdf-mcp /usr/local/bin/

# macOS (Intel)
curl -L https://github.com/foliopdf/foliopdf-mcp/releases/latest/download/foliopdf-mcp-darwin-amd64.tar.gz | tar xz
sudo mv foliopdf-mcp /usr/local/bin/

# Linux
curl -L https://github.com/foliopdf/foliopdf-mcp/releases/latest/download/foliopdf-mcp-linux-amd64.tar.gz | tar xz
sudo mv foliopdf-mcp /usr/local/bin/

Setup

Add to Claude Desktop (Settings → Developer → Edit Config):

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

Restart Claude Desktop. Ask it to generate a PDF.

Tools

ToolWhat it does
render_htmlHTML to PDF with Tailwind CSS v3, headers/footers, template variables
render_markdownMarkdown to PDF with themes and syntax highlighting
manipulate_pdfMerge, split, or rotate PDFs
extract_pdfExtract text and metadata from a PDF

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

Features

Tailwind CSS v3

Set tailwind: true. The full stylesheet is bundled in the binary — works offline.

{"html": "<div class='bg-blue-500 text-white p-8'>Hello</div>", "tailwind": true}

Tailwind v4 is not supported.

Bundled fonts

Inter and Geist are embedded in the binary. Use them in CSS without any setup:

body { font-family: 'Inter', sans-serif; }
h1 { font-family: 'Geist', sans-serif; }

Both include Regular, Bold, Italic, and Bold Italic weights.

Template variables

Go html/template syntax in both HTML and Markdown:

{
  "html": "<h1>Invoice for {{.company}}</h1><p>Amount: {{.amount}}</p>",
  "data": {"company": "Acme Corp", "amount": "$1,234"}
}

Supports {{.variable}}, {{range .items}}...{{end}}, {{if .condition}}...{{end}}.

Headers and footers

Repeating content on every page. Use <span class='pageNumber'></span> and <span class='totalPages'></span> for page numbers.

{
  "header_html": "<div style='text-align:right;font-size:10px'>{{.company}}</div>",
  "footer_html": "<div style='text-align:center;font-size:9px'>Page <span class='pageNumber'></span> of <span class='totalPages'></span></div>"
}

Markdown themes

Three built-in themes for render_markdown:

  • github — clean sans-serif, colored links, code backgrounds
  • minimal — serif typography, maximum readability
  • print — formal layout, justified text, optimized for printing

Watermarks

Diagonal text overlay on every page:

{"watermark": "DRAFT"}

Development

go build ./...
go test ./...
./foliopdf-mcp --version

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for FolioPDF MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/foliopdf-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops