pdf-generator
A MCP server for generating PDFs using PDFKit and Puppeteer
How to use
The pdf-generator MCP server allows you to create PDFs programmatically using PDFKit and Puppeteer, making it an invaluable tool for developers looking to automate document generation. With its robust capabilities, you can generate complex layouts, incorporate images, and style your PDFs dynamically based on user input or data sources.
Once connected to the pdf-generator MCP server, you can send requests to generate PDFs by specifying the content and layout parameters. You can leverage its ability to handle HTML input, which Puppeteer converts into well-structured PDF documents. For best results, ensure your queries include essential styles and content types that the server can process efficiently.
How to install
Prerequisites
- Node.js (version 14 or higher recommended)
Option A: Quick start with npx
You can quickly start using the pdf-generator MCP server without installation by running:
npx -y ivarvd-hldng/pdf-generator-mcp-server
Option B: Global install alternative
Alternatively, you can install the server globally by cloning the repository and using npm:
git clone https://github.com/ivarvd-hldng/pdf-generator-mcp-server.git
cd pdf-generator-mcp-server
npm install
npm start
Additional notes
When configuring the pdf-generator server, ensure that you have the necessary environment variables set for Puppeteer to run smoothly, especially if you're using it in a headless environment. Common issues may arise from missing dependencies, so make sure your environment is properly configured to handle the PDF generation process.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.