Server Pdf
S

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.
2 points
5.9K

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.

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "pdf": {
      "command": "npx",
      "args": ["-y", "@mcp-z/mcp-pdf"]
    }
  }
}

{
  "mcpServers": {
    "pdf": {
      "type": "http",
      "url": "http://localhost:9010/mcp",
      "start": {
        "command": "npx",
        "args": ["-y", "@mcp-z/mcp-pdf", "--port=9010"]
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

V
Vestige
Vestige is an AI memory engine based on cognitive science. By implementing 29 neuroscience modules such as prediction error gating, FSRS - 6 spaced repetition, and memory dreaming, it provides long - term memory capabilities for AI. It includes a 3D visualization dashboard and 21 MCP tools, runs completely locally, and does not require the cloud.
Rust
9.7K
4.5 points
M
Moltbrain
MoltBrain is a long-term memory layer plugin designed for OpenClaw, MoltBook, and Claude Code, capable of automatically learning and recalling project context, providing intelligent search, observation recording, analysis statistics, and persistent storage functions.
TypeScript
10.3K
4.5 points
B
Bm.md
A feature-rich Markdown typesetting tool that supports multiple style themes and platform adaptation, providing real-time editing preview, image export, and API integration capabilities
TypeScript
16.1K
5 points
S
Security Detections MCP
Security Detections MCP is a server based on the Model Context Protocol that allows LLMs to query a unified security detection rule database covering Sigma, Splunk ESCU, Elastic, and KQL formats. The latest version 3.0 is upgraded to an autonomous detection engineering platform that can automatically extract TTPs from threat intelligence, analyze coverage gaps, generate SIEM-native format detection rules, run tests, and verify. The project includes over 71 tools, 11 pre-built workflow prompts, and a knowledge graph system, supporting multiple SIEM platforms.
TypeScript
9.0K
4 points
P
Paperbanana
Python
10.1K
5 points
B
Better Icons
An MCP server and CLI tool that provides search and retrieval of over 200,000 icons, supports more than 150 icon libraries, and helps AI assistants and developers quickly obtain and use icons.
TypeScript
8.8K
4.5 points
A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
10.2K
5 points
A
Apify MCP Server
The Apify MCP Server is a tool based on the Model Context Protocol (MCP) that allows AI assistants to extract data from websites such as social media, search engines, and e-commerce through thousands of ready-to-use crawlers, scrapers, and automation tools (Apify Actors). It supports OAuth and Skyfire proxy payment and can be integrated into MCP clients such as Claude and VS Code through HTTPS endpoints or local stdio.
TypeScript
9.2K
5 points
N
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
23.2K
4.5 points
G
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
28.7K
4.3 points
M
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
39.5K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
81.2K
4.3 points
F
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
70.3K
4.5 points
U
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#
37.7K
5 points
M
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
56.8K
4.8 points
G
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
25.3K
4.5 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase