loading…
Search for a command to run...
loading…
Generate professional PDFs from Claude, Cursor, and other AI tools. Create invoices, contracts, reports, and certificates from templates or inline HTML markup.
Generate professional PDFs from Claude, Cursor, and other AI tools. Create invoices, contracts, reports, and certificates from templates or inline HTML markup.
The rendoc MCP server lets AI assistants like Claude Desktop, Cursor, and any other MCP-compatible client generate professional PDF documents on demand. Connect your AI to rendoc and it can create invoices, contracts, reports, certificates, and any other PDF — from reusable templates or inline HTML/Handlebars markup — all from a natural language prompt.
Turn "Generate an invoice for Acme Corp, 40 hours of consulting at €85/h" into a delivered PDF in seconds.
| Use Case | Example Prompt |
|---|---|
| Invoices | "Generate an invoice for client X with these line items..." |
| Contracts | "Draft a freelance contract for TechStart SL, €18,000 fee, 50% upfront..." |
| Certificates | "Issue a course completion certificate for María González..." |
| Reports | "Create a March 2026 sales report with these KPIs..." |
| Bulk generation | "Generate certificates for all 50 attendees in this CSV" |
| Custom documents | Anything you can describe in HTML + data |
See detailed walkthroughs in `examples/`.
{{variables}}, {{#each}}, {{#if}} in your markupRENDOC_API_KEY and goAdd this to your Claude Desktop configuration file (claude_desktop_config.json):
{
"mcpServers": {
"rendoc": {
"command": "npx",
"args": ["-y", "@rendoc/mcp-server"],
"env": {
"RENDOC_API_KEY": "your-api-key"
}
}
}
}
Restart Claude Desktop. The rendoc tools will appear in the MCP tools menu.
Add this to your project or global settings (.claude/settings.json):
{
"mcpServers": {
"rendoc": {
"command": "npx",
"args": ["-y", "@rendoc/mcp-server"],
"env": {
"RENDOC_API_KEY": "your-api-key"
}
}
}
}
Add to ~/.cursor/mcp.json (or your project's .cursor/mcp.json):
{
"mcpServers": {
"rendoc": {
"command": "npx",
"args": ["-y", "@rendoc/mcp-server"],
"env": {
"RENDOC_API_KEY": "your-api-key"
}
}
}
}
| Tool | Description | Key Parameters |
|---|---|---|
generate_document |
Generate a PDF from a template or inline markup | template_id or markup, data, paper_size?, orientation?, filename? |
list_templates |
List available document templates | category? |
preview_template |
Inspect a template's markup, styles, and schema | template_id |
create_template |
Create a new reusable template | name, slug, markup, schema, category?, styles?, sample_data?, paper_size?, orientation?, is_public? |
delete_template |
Delete a template by ID | template_id |
get_document |
Get details of a generated document | document_id |
get_usage |
View monthly API usage statistics | (none) |
Each tool returns structured JSON with download URLs, document IDs, and metadata the assistant can act on.
| Variable | Required | Default | Description |
|---|---|---|---|
RENDOC_API_KEY |
Yes | — | Your rendoc API key for authentication |
RENDOC_API_URL |
No | https://rendoc.dev |
Base URL for the rendoc API (useful for self-hosted instances) |
Detailed walkthroughs with real prompts and tool calls:
┌──────────────┐ MCP/stdio ┌────────────────────┐ HTTPS ┌─────────────┐
│ Claude Code │ ─────────────▶ │ @rendoc/mcp-server │ ────────▶ │ rendoc API │
│ / Desktop │ │ (this package) │ │ (PDF gen) │
└──────────────┘ ◀───────────── └────────────────────┘ ◀──────── └─────────────┘
▲ tool results download URL
│
└── User prompt: "Generate an invoice for..."
The MCP server translates natural language tool calls from your AI assistant into authenticated REST requests to the rendoc API, and returns structured responses with PDF download URLs.
Contributions are welcome. See CONTRIBUTING.md for development setup and PR guidelines.
For security issues, please see SECURITY.md and email [email protected] — do not open a public issue.
MIT — see LICENSE.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"rendoc": {
"command": "npx",
"args": []
}
}
}