MCP server: One MCP server.

Html2pdfconverter MCP

@html2pdfconverterMCP server · External

MCP server for HTML2PDF Converter

PDF toolsv1.0.5MITTypeScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: creates or changes data: records, files, settings.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npm@html2pdfconverter/mcp-serverv1.0.5

Run

npx -y @html2pdfconverter/mcp-server

MCP client config

{
  "mcpServers": {
    "html2pdfconverter-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@html2pdfconverter/mcp-server"
      ]
    }
  }
}
README1 min read

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

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:

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

bash
# Install dependencies
npm install

# Build
npm run build

# Run locally (requires HTML2PDF_API_KEY env var)
HTML2PDF_API_KEY=your_key npm start

Similar modules

Browse PDF tools