Repository avatar
AI Tools
v1.0.1
active

onyxcine-pdf-mcp

io.github.THANGHYPER/onyxcine-pdf-mcp

Generate commercial PDFs (invoices, AI reports) and 1200x630 OG cards without Puppeteer.

Documentation

onyxcine-pdf-mcp

THANGHYPER/onyxcine-pdf-mcp MCP server

Zero-dependency Model Context Protocol (MCP) server and n8n automation blueprint kit for generating print-ready PDFs (invoices, receipts, AI reports, proposals, certificates) and 1200x630 Open Graph social cards from JSON templates, Markdown, HTML, or URLs—without bundling Puppeteer or babysitting Docker containers.

Live Playground & Free API Keys (50 free renders/month): https://onyxcine.com/pdf
API Reference: https://onyxcine.com/pdf/docs
Support: support@onyxcine.com

Why use this instead of self-hosted Puppeteer / Gotenberg?

OptionServerless Friendly?Pre-built Invoice/Report JSON Templates?Unused Credit Rollover?Free / Starter Price
Onyxcine PDF + MCPYes (fetch, 0 MB bundle)6 commercial templates built-inYes (up to 2x) + never-expiring packs50 Free/mo / $15 mo (3,000)
Self-host GotenbergNo (needs persistent Docker)Bring your own HTMLN/A$0 OSS + $40–$50/mo VPS floor
PDFShiftYesRaw HTML/URL onlyMonthly reset (no rollover)50 Free/mo / ~$9 mo (500)
CraftMyPDFYesDrag-and-drop editorMonthly reset (no rollover)50 Free/mo / $29 mo (1,200)

60-Second Claude Desktop / Cursor MCP Setup

  1. Grab a free API key (50 renders/month, no card) at https://onyxcine.com/pdf#api-keys
  2. Add this block to your MCP client config:
{
  "mcpServers": {
    "onyxcine-pdf": {
      "command": "npx",
      "args": ["-y", "onyxcine-pdf-mcp"],
      "env": {
        "ONYXCINE_PDF_API_KEY": "oxpdf_live_YOUR_KEY"
      }
    }
  }
}

Exposed MCP Tools

  • list_pdf_templates — Fetch all 6 built-in commercial templates and sample JSON payloads.
  • render_template_pdf — Render invoice, receipt, ai-report, proposal, or certificate directly to a local .pdf file or base64.
  • render_markdown_pdf — Turn LLM Markdown (with GFM tables and headings) into a styled A4 PDF.
  • render_html_pdf — Render custom HTML/CSS to PDF remotely.
  • render_og_image — Generate a 1200x630 PNG or WebP Open Graph card.

Included n8n Blueprints (workflows/)

  • workflows/n8n-invoice-pdf.json — Webhook/Stripe order JSON -> B2B Invoice PDF file binary.
  • workflows/n8n-ai-report-pdf.json — AI Agent Markdown summary -> Executive Report PDF.
  • workflows/n8n-og-image-card.json — CMS publish webhook -> 1200x630 PNG Open Graph card.

Import any file into n8n and set your ONYXCINE_PDF_API_KEY environment variable.

Glama MCP Server Listing

Explore the hosted listing for onyxcine-pdf-mcp on Glama MCP Servers to:

  • browse the server's 5 exposed tools and check its quality score
  • test the server online using MCP Inspector

License

MIT

NPM
onyxcine-pdf-mcp
Install Command
npm install onyxcine-pdf-mcp