mcp-html2pdfconverter
OfficialHTML2PDF Converter MCP Server
An MCP (Model Context Protocol) server for HTML2PDF Converter. This server exposes a generate_pdf tool, allowing AI models like Claude, Cursor, and others to seamlessly convert HTML or URLs to PDF documents on your behalf.
Requirements
Node.js >= 18
An HTML2PDF Converter API Key (get one at https://html2pdfconverter.com)
Related MCP server: polydoc-mcp
Usage
You can run this MCP server directly via npx in any MCP-compatible client.
Claude Desktop Configuration
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"html2pdf": {
"command": "npx",
"args": ["-y", "@html2pdfconverter/mcp-server"],
"env": {
"HTML2PDF_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Cursor Configuration
In Cursor, go to Settings > MCP Servers and add a new server:
Type: command
Command:
npx -y @html2pdfconverter/mcp-serverEnvironment Variables:
HTML2PDF_API_KEY=YOUR_API_KEY_HERE
Available Tools
generate_pdf: Converts a URL or raw HTML string into a PDF and saves it to a temporary file, returning the file path.
Development
# Install dependencies
npm install
# Build
npm run build
# Run locally (requires HTML2PDF_API_KEY env var)
HTML2PDF_API_KEY=your_key npm startAvailable Tools
2 toolscheck_pdf_statusA
Check the status of a pending PDF conversion job. If it is completed, this will download the PDF and return the file path.
Inputs: jobId (required).
submit_pdf_jobA
Submit a webpage URL or HTML to be converted to a PDF asynchronously. This will return a Job ID. You MUST then use the check_pdf_status tool to poll the status and download the PDF.
Inputs: url, html, format, printBackground.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
submit_pdf_job and check_pdf_status have clearly distinct roles: one creates a job, the other retrieves its result. No overlap in functionality.
Both tools follow the same verb_noun pattern with snake_case (submit_pdf_job, check_pdf_status), making their relationship and intent immediately clear.
With only two tools, the server is minimal but covers the core conversion workflow. It feels slightly thin but is functional for a simple service.
The tool set covers the full job lifecycle: submit a conversion job and poll for the result. No obvious gaps for the stated HTML-to-PDF conversion purpose.
Maintenance
Related MCP Connectors
A remote MCP server to convert HTML documents (URL or raw source) to PDF or screenshots
HTML and CSS to PDF MCP server with page headers, footers and page numbers. No headless browser.
MCP tools for AI agents: render URLs to image/PDF, check link health, convert HTML/CSV/JSON.
MCP server for Api2Pdf — generate PDFs & images from HTML, URLs or office files; merge, barcodes.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides multiple file conversion tools for AI agents, supporting various document and image format conversions including DOCX to PDF, PDF to DOCX, image conversions, Excel to CSV, HTML to PDF, and Markdown to PDF.24MIT

polydoc-mcpofficial
AlicenseNot gradedqualityBmaintenanceMCP server that converts HTML or URLs to PDF, captures screenshots, and generates EU-compliant e-invoices (Factur-X/ZUGFeRD).311 npmMIT- AlicenseAqualityDmaintenanceThis MCP server enables AI agents to view PDFs as accessible HTML with bounding-box citations, and provides tools for layout-aware parsing, schema extraction, cross-document Q&A, and PDF rendering.27MIT

CustomJS MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceA remote MCP server that enables AI agents to host HTML pages, generate PDFs, capture screenshots, scrape sites, and run sandboxed code using a CustomJS API key.MIT