io.github.yoryocoruxo-ai/rendoc-mcp-server

السجل الرسمي المالية والمدفوعات

Generate professional PDFs (invoices, contracts, reports) from AI tools via rendoc templates.

ماذا يمكنك أن تفعل مع io.github.yoryocoruxo-ai/rendoc-mcp-server؟

  • 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_KEY and go
  • Lightweight — ~35 KB unpacked, pure TypeScript, only 2 runtime dependencies
  • Verified on Glama — security, quality, and license checks passed

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @rendoc/mcp-server
Claude Code
claude mcp add rendoc-mcp-server -e 'RENDOC_API_KEY=<your rendoc_api_key>' -- npx -y @rendoc/mcp-server@1.0.9
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "rendoc-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@rendoc/mcp-server@1.0.9"
            ],
            "env": {
                "RENDOC_API_KEY": "<your rendoc_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • RENDOC_API_KEY إلزامي سري Your rendoc API key from https://rendoc.dev/dashboard

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. @rendoc/mcp-server
  2. Use Cases
  3. Features
  4. Quick Setup for Claude Desktop
  5. Quick Setup for Claude Code
  6. Quick Setup for Cursor
  7. Available Tools
  8. Get an API Key
  9. Environment Variables
  10. Examples
  11. How It Works
  12. Contributing
  13. Links
  14. License

@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 CaseExample 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 documentsAnything 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_KEY and 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

ToolDescriptionKey Parameters
generate_documentGenerate a PDF from a template or inline markuptemplate_id or markup, data, paper_size?, orientation?, filename?
list_templatesList available document templatescategory?
preview_templateInspect a template's markup, styles, and schematemplate_id
create_templateCreate a new reusable templatename, slug, markup, schema, category?, styles?, sample_data?, paper_size?, orientation?, is_public?
delete_templateDelete a template by IDtemplate_id
get_documentGet details of a generated documentdocument_id
get_usageView 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

  1. Sign up at rendoc.dev
  2. Go to the API Keys dashboard
  3. Create a new key and copy it into your MCP client config

Environment Variables

VariableRequiredDefaultDescription
RENDOC_API_KEYYes—Your rendoc API key for authentication
RENDOC_API_URLNohttps://rendoc.devBase URL for the rendoc API (useful for self-hosted instances)

Examples

Detailed walkthroughs with real prompts and tool calls:

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.

License

MIT — see LICENSE.

الأسئلة الشائعة

ما هو io.github.yoryocoruxo-ai/rendoc-mcp-server؟

Generate professional PDFs (invoices, contracts, reports) from AI tools via rendoc templates.

كيف أثبّت io.github.yoryocoruxo-ai/rendoc-mcp-server؟

يعمل على جهازك. في Claude Code: claude mcp add rendoc-mcp-server -e 'RENDOC_API_KEY=<your rendoc_api_key>' -- npx -y @rendoc/mcp-server@1.0.9. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.yoryocoruxo-ai/rendoc-mcp-server إلى مفتاح API؟

نعم. يتطلب RENDOC_API_KEY، وتضبطها في إعداداته.

هل io.github.yoryocoruxo-ai/rendoc-mcp-server مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.yoryocoruxo-ai/rendoc-mcp-server؟

ينشره yoryocoruxo-ai. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.