{
  "name": "rendoc",
  "description": "PDF generation MCP server. Generate documents from HTML templates and JSON data.",
  "version": "1.0.0",
  "homepage": "https://rendoc.dev",
  "documentation": "https://rendoc.dev/docs",
  "package": "@rendoc/mcp-server",
  "install": "npm install -g @rendoc/mcp-server",
  "transport": ["stdio"],
  "authentication": {
    "type": "bearer",
    "env_var": "RENDOC_API_KEY",
    "signup_url": "https://rendoc.dev/register"
  },
  "tools": [
    {
      "name": "generate_document",
      "description": "Generate a PDF document from HTML markup and JSON data. Returns a download URL.",
      "input_schema": {
        "type": "object",
        "properties": {
          "template_id": { "type": "string", "description": "ID of a saved template" },
          "markup": { "type": "string", "description": "Raw HTML markup (if not using template_id)" },
          "data": { "type": "object", "description": "JSON data to populate the template" },
          "paper_size": { "type": "string", "enum": ["A4", "LETTER", "LEGAL", "A3", "A5"], "default": "A4" },
          "orientation": { "type": "string", "enum": ["portrait", "landscape"], "default": "portrait" }
        },
        "required": ["data"]
      }
    },
    {
      "name": "list_templates",
      "description": "List available PDF templates. Filter by category.",
      "input_schema": {
        "type": "object",
        "properties": {
          "category": { "type": "string", "enum": ["INVOICE", "RECEIPT", "CONTRACT", "REPORT", "LETTER", "CERTIFICATE", "RESUME", "PROPOSAL", "CUSTOM"] }
        }
      }
    },
    {
      "name": "get_template_schema",
      "description": "Get the JSON schema for a template's expected data.",
      "input_schema": {
        "type": "object",
        "properties": { "template_id": { "type": "string" } },
        "required": ["template_id"]
      }
    },
    {
      "name": "validate_data",
      "description": "Validate JSON data against a template's schema.",
      "input_schema": {
        "type": "object",
        "properties": {
          "template_id": { "type": "string" },
          "data": { "type": "object" }
        },
        "required": ["template_id", "data"]
      }
    }
  ],
  "rate_limits": {
    "FREE": "10 req/min, 100 docs/month",
    "STARTER": "60 req/min, 1000 docs/month ($19/mo)",
    "PRO": "200 req/min, 10000 docs/month ($49/mo)",
    "SCALE": "1000 req/min, 100000 docs/month ($199/mo)"
  }
}
