Skip to main content
Glama
html2pdfconverter

mcp-html2pdfconverter

Official

HTML2PDF 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

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

  • Environment 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 start
F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    -
    quality
    D
    maintenance
    An 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.
    24
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    This 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.
    27
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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