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 startThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn 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
Alicense-qualityCmaintenanceMCP server that converts HTML or URLs to PDF, captures screenshots, and generates EU-compliant e-invoices (Factur-X/ZUGFeRD).206MIT
okraPDF PDF MCP serverofficial
AlicenseAqualityCmaintenanceThis 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
Alicense-qualityCmaintenanceA 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
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Screenshot and HTML render MCP server for AI agents
Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/html2pdfconverter/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server