
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
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?
| Option | Serverless Friendly? | Pre-built Invoice/Report JSON Templates? | Unused Credit Rollover? | Free / Starter Price |
|---|---|---|---|---|
| Onyxcine PDF + MCP | Yes (fetch, 0 MB bundle) | 6 commercial templates built-in | Yes (up to 2x) + never-expiring packs | 50 Free/mo / $15 mo (3,000) |
| Self-host Gotenberg | No (needs persistent Docker) | Bring your own HTML | N/A | $0 OSS + $40–$50/mo VPS floor |
| PDFShift | Yes | Raw HTML/URL only | Monthly reset (no rollover) | 50 Free/mo / ~$9 mo (500) |
| CraftMyPDF | Yes | Drag-and-drop editor | Monthly reset (no rollover) | 50 Free/mo / $29 mo (1,200) |
60-Second Claude Desktop / Cursor MCP Setup
- Grab a free API key (50 renders/month, no card) at https://onyxcine.com/pdf#api-keys
- 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— Renderinvoice,receipt,ai-report,proposal, orcertificatedirectly to a local.pdffile 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 a1200x630PNG 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 ->1200x630PNG 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
onyxcine-pdf-mcpnpm install onyxcine-pdf-mcp