Server Pdf
This is an MCP server for generating PDF documents. It supports creating PDFs from text and layouts, and rendering PDF pages as images. It is especially suitable for resume generation and flexible typesetting.
rating : 2 points
downloads : 4.7K
What is the PDF Generation Server?
The PDF Generation Server is a PDF document creation tool based on the MCP protocol. It allows users to generate various types of PDF documents through simple JSON configurations, including professional resumes, documents with precise layouts, and flow - style documents with automatic pagination. It can also export PDF pages as PNG images. The server supports multiple layout methods, including the Flexbox layout engine, making document design more flexible.How to Use the PDF Generation Server?
You can use the PDF Generation Server in two ways: 1) Directly call it through standard input and output (stdio), which is suitable for local development environments; 2) Remotely call it through an HTTP service, which is suitable for production environments. The server provides multiple tools, each corresponding to different PDF generation functions. You only need to provide the corresponding JSON configuration to generate a PDF.Applicable Scenarios
The PDF Generation Server is suitable for various scenarios: generating professional resumes, creating marketing materials (such as flyers and brochures), generating report documents, designing documents with complex layouts, converting PDF pages into images for preview or sharing, and typesetting scenarios that require precise text measurement.Main Features
Professional Resume Generation
Supports the JSON Resume standard format and can generate professional and beautiful resume documents. It provides single - column and double - column layout options and supports customizing the chapter order and field templates.
Flexible Layout Design
Uses the Flexbox layout engine, supporting precise positioning and complex layout designs. You can create groups, set spacing, alignment methods, etc., similar to modern CSS layouts.
Flow - Style Document Generation
Automatically handles pagination and content flow, suitable for generating long - form documents. Supports multiple content types such as text, headings, images, and shapes.
PDF to Image Conversion
Renders PDF pages as PNG images, suitable for generating preview images or for web display.
Text Measurement
Measures the width and height of text before layout to ensure precise typesetting and layout.
Support for Multiple Transfer Protocols
Supports both stdio and HTTP transfer methods, suitable for both local development and remote service calls.
Support for Emoji and Unicode
Fully supports Emoji expressions and multiple Unicode character sets, including major writing systems such as Chinese, Japanese, and Korean.
Advantages
Simple JSON - based configuration, no need to learn complex PDF APIs
Supports Flexbox layout, with flexible and intuitive design
Complete support for the JSON Resume standard
Multiple transfer methods, flexible deployment
Good support for Unicode and Emoji
Open - source and easy to integrate into existing systems
Limitations
Requires a Node.js runtime environment
Advanced layout functions require an understanding of the Flexbox concept
Relatively basic image processing functions
Does not support PDF editing functions, only supports generation
How to Use
Installation and Configuration
First, ensure that Node.js and npx are installed. Then, select the stdio or HTTP transfer method according to your usage scenario and add the corresponding server configuration to the MCP client configuration file.
View Available Tools
Use the mcp - z tool to view all the tools provided by the server and understand the functions and parameters of each tool.
Call Tools to Generate PDF
Select a suitable tool and pass in the corresponding JSON parameters to generate a PDF document. Different tools correspond to different PDF generation scenarios.
Process the Generated Results
The server will return the generated PDF file or image file. You can save, display, or further process these files as needed.
Usage Examples
Generate a Professional Resume
Use JSON Resume format data to generate a professional double - column layout resume. The left side shows contact information and skills, and the right side shows work experience and educational background.
Create an Event Flyer
Use the Flexbox layout to create an event flyer for a summer music festival, including the title, date, event details, and ticket information.
Generate a Multilingual Resume
Generate a French resume using the French date format and localized field templates.
Frequently Asked Questions
What do I need to install to use this server?
What is the difference between the stdio and HTTP transfer methods?
How to customize the resume layout?
Does it support Chinese and other languages?
Can I edit an existing PDF file?
How to save the generated PDF to a file?
What is the Flexbox layout?
Related Resources
Official Documentation
The complete official documentation of the PDF Generation Server, including detailed parameter descriptions and examples of all tools.
PDFKit Documentation
The official documentation of the PDFKit library, which is the PDF generation library used at the server's underlying layer.
JSON Resume Schema
The complete schema definition of the JSON Resume standard, used for resume data formats.
JSON Resume Editor
A tool for online editing and previewing JSON Resume data.
GitHub Repository
The source code repository of the PDF Generation Server. You can view the source code, submit issues, and participate in development.
MCP Protocol Documentation
The official specification documentation of the Model Context Protocol. Understand how MCP works.

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
30.0K
5 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
18.8K
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
59.4K
4.3 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
20.5K
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
25.2K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
54.9K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
38.8K
4.8 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
18.7K
4.5 points
