Basic information
About PDF Generator MCP Server
# PDF Generator MCP Server
PDF Generator MCP Server is a MCP server in the Files & Storage category listed in the AddMCP.net directory, published by FabianGenell. It exposes 12 tools, including generate_pdf, create_styled_template, generate_pdf_from_template, embed_images and more. Supported transport: stdio. Runtime: node. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: markdown-to-pdf, pdf-creation, pdf-generator.
Setup
{
"mcpServers": {
"pdf-generator": {
"command": "npx",
"args": [
"github:FabianGenell/pdf-mcp-server"
]
}
}
}
{
"mcpServers": {
"pdf-generator": {
"command": "npx",
"args": [
"github:FabianGenell/pdf-mcp-server"
]
}
}
}
{
"servers": {
"pdf-generator": {
"command": "npx",
"args": [
"github:FabianGenell/pdf-mcp-server"
]
}
}
}
PDF Generator MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"pdf-generator": {
"command": "npx",
"args": [
"github:FabianGenell/pdf-mcp-server"
]
}
}
}
PDF Generator MCP Server tools
-
generate_pdf
— Generate a PDF from markdown content with custom styling
content:string*, output_path:string*, options:object -
create_styled_template
— Create a reusable styled template for consistent document generation
template_name:string*, css_content:string*, html_template:string -
generate_pdf_from_template
— Generate PDF using a predefined template
content:string*, template_name:string*, output_path:string*, variables:object -
embed_images
— Process and embed images in markdown, with optimization
markdown_content:string*, image_sources:array*, options:object -
get_available_themes
— List all available PDF themes and their previews
(no parameters) -
validate_markdown
— Validate markdown content and check for issues before PDF generation
content:string*, check_images:boolean, check_links:boolean -
create_custom_style
— Create a custom PDF style with formatting, prompts, and templates
style_name:string*, description:string, prompt:string, theme:string, custom_css:string, format:string, orientation:string, margin:object, include_toc:boolean, page_numbers:boolean, header:string, footer:string, … -
get_custom_style
— Get details of a saved custom style including its prompt
style_name:string* -
list_custom_styles
— List all available custom styles
(no parameters) -
generate_pdf_with_style
— Generate a PDF using a saved custom style
style_name:string*, content:string*, output_path:string*, override_options:object -
update_custom_style
— Update an existing custom style
style_name:string*, updates:object* -
delete_custom_style
— Delete a custom style
style_name:string*
Overview
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
Frequently asked questions
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).
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In