Onyxcine PDF MCP
by THANGHYPER
README.md
# onyxcine-pdf-mcp
[](https://glama.ai/mcp/servers/THANGHYPER/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
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:
```json
{
"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](https://glama.ai/mcp/servers/THANGHYPER/onyxcine-pdf-mcp) to:
- browse the server's 5 exposed tools and check its quality score
- test the server online using [MCP Inspector](https://glama.ai/mcp/inspector)
## License
MIT
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues