mcp-pdf
Verified Safeby mcp-z
Overview
Generate PDFs from text, layouts, or JSON Resume data, render PDF pages as images, and measure text dimensions for layout planning.
Installation
npx -y @mcp-z/mcp-pdfEnvironment Variables
- BASE_URL
- LOG_LEVEL
- RESOURCE_STORE_URI
- PORT
Security Notes
The server uses `eval` for dual ESM/CJS module loading, which is generally discouraged but used here in a controlled context for internal module initialization. `LiquidJS` is used for templating in `pdf-resume`; while generally sandboxed, custom templates could pose a risk if not carefully reviewed. File system operations for temporary files and resource storage are present, but inputs are validated by `zod` and `ajv` schemas, and network-downloaded fonts are placed in temporary directories. No hardcoded secrets or direct remote code execution vulnerabilities are apparent.
Similar Servers
Convert-Markdown-PDF-MCP
Converts Markdown content into gorgeously styled PDF documents using VS Code's markdown styling and Python's ReportLab, integrated as an MCP server.
markitdown-mcp
Converts various document and media formats to Markdown using the Model Context Protocol (MCP), primarily for integration with AI workflows like Claude Desktop.
html2pdf
Converts HTML content or files to PDF using a headless browser (Puppeteer) with various formatting options.
mcp-doc-generator
Generates technical documentation and various diagrams (architecture, UML, sequence, flowchart, Gantt, dependency, cloud) from code or natural language prompts, supporting Polish, and exports to PDF/DOCX. Includes optional AI image generation.