npm @rendoc/mcp-serverstdioMITupdated 4mo ago
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.
What can you do with rendoc mcp server?
@rendoc/mcp-server
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 Cases
| 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/.
Features
- 7 tools for document generation, template management, and usage tracking
- Template-based or inline β save reusable templates or pass markup on the fly
- Handlebars syntax β use
{{variables}},{{#each}},{{#if}}in your markup - Multiple paper sizes β A4, Letter, Legal, A3, A5, portrait or landscape
- Schema validation β templates can declare a JSON Schema so the AI can't pass invalid data
- Zero config β just set
RENDOC_API_KEYand go - Lightweight β ~35 KB unpacked, pure TypeScript, only 2 runtime dependencies
- Verified on Glama β security, quality, and license checks passed
Quick Setup for Claude Desktop
Add 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.
Quick Setup for Claude Code
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"
}
}
}
}
Quick Setup for Cursor
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"
}
}
}
}
Available Tools
| 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.
Get an API Key
- Sign up at rendoc.dev
- Go to the API Keys dashboard
- Create a new key and copy it into your MCP client config
Environment Variables
| 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) |
Examples
Detailed walkthroughs with real prompts and tool calls:
- 01 β Invoice from inline markup β single-shot invoice generation
- 02 β Freelance contract template β create once, reuse forever
- 03 β Certificate from saved template β multi-step tool discovery
- 04 β Monthly sales report β rich visualizations with CSS
- 05 β Bulk generation from dataset β 50 PDFs from one prompt
How It Works
ββββββββββββββββ 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.
Contributing
Contributions are welcome. See CONTRIBUTING.md for development setup and PR guidelines.
For security issues, please see SECURITY.md and email info@rendoc.dev β do not open a public issue.
Links
- Website: rendoc.dev
- Docs: rendoc.dev/docs
- npm Package:
@rendoc/mcp-server - Glama Listing: glama.ai/mcp/servers/@yoryocoruxo-ai/rendoc-mcp-server
- Official SDKs:
@rendoc/sdk(TypeScript),rendoc(Python)
License
MIT β see LICENSE.
Install
Add rendoc mcp server to your client. Pick the one you use.
claude mcp add mcp-server -- npx -y @rendoc/mcp-servercodex mcp add mcp-server -- npx -y @rendoc/mcp-serveramp mcp add mcp-server -- npx -y @rendoc/mcp-server{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@rendoc/mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@rendoc/mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp-server","command":"npx","args":["-y","@rendoc/mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@rendoc/mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@rendoc/mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@rendoc/mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@rendoc/mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@rendoc/mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @rendoc/mcp-serverRun `goose configure`, choose **Add Extension β Command-line Extension**, and paste this command.
7 tools
rendoc mcp server exposes 7 tools to a connected agent.
- generate_document
- Generate a PDF from a template or inline markup
- list_templates
- List available document templates
- preview_template
- Inspect a template's markup, styles, and schema
- create_template
- Create a new reusable template
- delete_template
- Delete a template by ID
- get_document
- Get details of a generated document
- get_usage
- View monthly API usage statistics
Score
69 / 100
Good
- Documentation25/25
- Maintenance13/25
- Trust13/20
- Capability6/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 139 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 7 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint β no local install
Version history
| Versions | Published |
|---|---|
| 1.0.9Latest | Apr 14, 2026 |