# HTML2PDF Converter MCP Server [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/html2pdfconverter/mcp-server  
**GitHub Stars:** 0  
**npm Downloads (last month):** 231  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/html2pdfconverter-mcp-server

## Description
MCP server for HTML2PDF Converter

## Tools
Capabilities this server exposes over MCP:

- **submit_pdf_job** — 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.
- **check_pdf_status** — Check the status of a pending PDF conversion job. If it is completed, this will download the PDF and return the file path.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "html2pdf-converter-mcp-server": {
    "command": "npx",
    "args": ["-y","@html2pdfconverter/mcp-server"],
    "env": {
      "HTML2PDF_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `HTML2PDF_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the html2pdfconverter/mcp-server MCP server does

The html2pdfconverter/mcp-server MCP server connects an MCP-compatible client to the HTML2PDF Converter API. It makes one operation available: `generate_pdf`. That tool converts either a web URL or a supplied HTML string into a PDF and writes the result to a temporary file. The tool response includes the path to that file, allowing the calling workflow to locate the generated document.

This server fits workflows where an AI assistant needs to create PDFs from existing web pages or dynamically produced HTML. It does not describe tools for editing PDFs, reading PDF contents, managing files beyond the generated temporary output, or performing other HTML2PDF account operations.

## How it works

The server runs as a Node.js process and communicates with the MCP client using the command-based setup shown in the project documentation. A client starts the package with `npx`, while the server uses the `HTML2PDF_API_KEY` environment variable to authenticate requests to HTML2PDF Converter.

When the model invokes `generate_pdf`, it supplies a URL or raw HTML as the conversion input. The service performs the conversion, saves the PDF to a temporary location, and returns that location through the tool result.

## Setup and configuration

Node.js 18 or newer is required. You also need an API key from HTML2PDF Converter and must expose it as `HTML2PDF_API_KEY` in the server environment.

For a client configuration, use the package through `npx`:

```json
{
  "mcpServers": {
    "html2pdf": {
      "command": "npx",
      "args": ["-y", "@html2pdfconverter/mcp-server"],
      "env": {
        "HTML2PDF_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}
```

The documented Claude Desktop setup uses this command and environment variable. Cursor can be configured from Settings > MCP Servers by adding a command server with `npx -y @html2pdfconverter/mcp-server` and the same API key. For local development, install dependencies with `npm install`, build with `npm run build`, and start with `HTML2PDF_API_KEY=your_key npm start`.

## Tools and capabilities

The html2pdfconverter/mcp-server MCP server provides:

- `generate_pdf`: Converts a URL or raw HTML string to a PDF.
- Temporary-file output: Returns the path where the generated PDF was saved.
- API-backed conversion: Sends the conversion request through HTML2PDF Converter using the configured API key.

The README names Claude Desktop and Cursor as supported configuration targets and states that other MCP-compatible clients can run the server.

## Limitations and notes

Node.js 18 or later is also required. The available interface contains only `generate_pdf`, and the documented result is a temporary file path rather than PDF bytes or a user-selected destination.

_Full upstream README: https://allmcps.com/mcp/html2pdfconverter-mcp-server/readme_

