MCP.so
登录

Foliopdf

@foliopdf

关于 Foliopdf

MCP server for FolioPDF — PDF rendering tools for AI agents

基本信息

分类

其他

许可证

MIT

运行时

go

传输方式

stdio

发布者

foliopdf

提交者

Carlos Muñoz

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

4

HTML 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

概览

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/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

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.

评论

其他 分类下的更多 MCP 服务器