MCP.so
ログイン

PDF Generator MCP Server

@FabianGenell

基本情報

カテゴリ

ファイルとストレージ

トランスポート

stdio

作者

FabianGenell

PDF Generator MCP Server について

概要はまだありません

#pdf-generator#pdf-creation#markdown-to-pdf

PDF Generator MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "pdf-generator": {
      "command": "npx",
      "args": [
        "github:FabianGenell/pdf-mcp-server"
      ]
    }
  }
}

PDF Generator MCP Server のツール

12

Generate a PDF from markdown content with custom styling

Create a reusable styled template for consistent document generation

Generate PDF using a predefined template

Process and embed images in markdown, with optimization

List all available PDF themes and their previews

Validate markdown content and check for issues before PDF generation

Create a custom PDF style with formatting, prompts, and templates

Get details of a saved custom style including its prompt

List all available custom styles

Generate a PDF using a saved custom style

Update an existing custom style

Delete a custom style

概要

What is PDF Generator MCP Server?

PDF Generator MCP Server is a Model Context Protocol server that converts markdown content into professional PDFs with custom styling, image support, and formatting options. It is designed for users of MCP-compatible clients (e.g., Claude desktop) who need to generate styled PDF documents programmatically.

How to use PDF Generator MCP Server?

Install by adding the server to your Claude desktop configuration using npx github:FabianGenell/pdf-mcp-server (no local installation required). Tools like generate_pdf, embed_images, create_custom_style, validate_markdown, and list_custom_styles are invoked via MCP. Generated PDFs are saved to the user’s Downloads folder by default unless an absolute path is provided.

Key features of PDF Generator MCP Server

  • Multiple built‑in themes (Default, Professional, Minimal, Dark)
  • Smart image handling with optimization, caching, and embedding
  • Advanced PDF options: headers, footers, page numbers, table of contents
  • Template system for creating and reusing custom styles
  • Markdown validation before PDF generation
  • Browser instance reuse and image caching for performance

Use cases of PDF Generator MCP Server

  • Generate professional business reports with custom styling
  • Create technical documentation with code snippets and images
  • Produce annual reports with executive summaries and metrics
  • Build presentation slide PDFs from markdown content
  • Generate newsletters or research papers with academic formatting

よくある質問

1

Where are generated PDFs saved?

By default, PDFs are saved to the user’s Downloads folder if only a filename or relative path is given. Use an absolute path to save elsewhere.

2

What image sources does PDF Generator MCP Server support?

It supports local file paths (absolute), remote URLs, and base64 data URLs. All images are automatically optimized, cached, and limited to 70% of page height.

3

What are the runtime requirements?

Node.js 18 or higher and Playwright browsers (automatically installed) are required.

4

Can I create and reuse custom styles?

Yes, the `create_custom_style` tool lets you save a style with a name, description, prompt, theme, custom CSS, page settings, and features (TOC, page numbers, headers). Use `generate_pdf_with_style` to apply it.

5

What themes are included?

Four built‑in themes: Default (clean general docs), Professional (corporate letterhead), Minimal (distraction‑free), and Dark (high‑contrast for presentations).

コメント

「ファイルとストレージ」の他のコンテンツ