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

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

R
Rsdoctor
Rsdoctor is a build analysis tool specifically designed for the Rspack ecosystem, fully compatible with webpack. It provides visual build analysis, multi - dimensional performance diagnosis, and intelligent optimization suggestions to help developers improve build efficiency and engineering quality.
TypeScript
5.9K
5 points
N
Next Devtools MCP
The Next.js development tools MCP server provides Next.js development tools and utilities for AI programming assistants such as Claude and Cursor, including runtime diagnostics, development automation, and document access functions.
TypeScript
7.7K
5 points
T
Testkube
Testkube is a test orchestration and execution framework for cloud-native applications, providing a unified platform to define, run, and analyze tests. It supports existing testing tools and Kubernetes infrastructure.
Go
5.4K
5 points
M
MCP Windbg
An MCP server that integrates AI models with WinDbg/CDB for analyzing Windows crash dump files and remote debugging, supporting natural language interaction to execute debugging commands.
Python
7.7K
5 points
R
Runno
Runno is a collection of JavaScript toolkits for securely running code in multiple programming languages in environments such as browsers and Node.js. It achieves sandboxed execution through WebAssembly and WASI, supports languages such as Python, Ruby, JavaScript, SQLite, C/C++, and provides integration methods such as web components and MCP servers.
TypeScript
5.2K
5 points
N
Netdata
Netdata is an open-source real-time infrastructure monitoring platform that provides second-level metric collection, visualization, machine learning-driven anomaly detection, and automated alerts. It can achieve full-stack monitoring without complex configuration.
Go
5.9K
5 points
M
MCP Server
The Mapbox MCP Server is a model context protocol server implemented in Node.js, providing AI applications with access to Mapbox geospatial APIs, including functions such as geocoding, point - of - interest search, route planning, isochrone analysis, and static map generation.
TypeScript
6.9K
4 points
U
Uniprof
Uniprof is a tool that simplifies CPU performance analysis. It supports multiple programming languages and runtimes, does not require code modification or additional dependencies, and can perform one-click performance profiling and hotspot analysis through Docker containers or the host mode.
TypeScript
6.7K
4.5 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
30.0K
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
18.8K
4.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
59.4K
4.3 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
20.5K
4.3 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#
25.2K
5 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
54.9K
4.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
38.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
18.7K
4.5 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase