@pdfmakerapi/mcp
Advanced tools
+6
-4
@@ -22,3 +22,3 @@ #!/usr/bin/env node | ||
| - description: string (one short sentence) | ||
| - pageSize: "letter" | "a4" | "legal" | "letter-landscape" | "a4-landscape" | "square" (default "a4") | ||
| - pageSize: "letter" | "a4" | "legal" | "letter-landscape" | "a4-landscape" | "square" | "auto" (default "a4"; "auto" = letter width with the height growing to fit the content — use it for certificates/awards so there's no empty space below) | ||
| - pageBackgroundColor: hex string (default "#ffffff") | ||
@@ -34,3 +34,3 @@ - margin: "none" | "sm" | "md" | "lg" — page margin; default "lg" | ||
| - container: { type:"container", layout:{ direction:"row"|"column", gap:"none"|"sm"|"md"|"lg", justify?:"start"|"center"|"end"|"between", alignItems?:"start"|"center"|"end"|"stretch" }, children: Node[] } | ||
| - text: { type:"text", content: string (supports \\n and {{vars}}), fontSize?:"xs"|"sm"|"base"|"lg"|"xl", fontWeight?:"normal"|"medium"|"semibold"|"bold" } | ||
| - text: { type:"text", content: string (supports \\n, {{vars}}, and **inline bold** — wrap part of the text in double asterisks to bold just that part, e.g. "Total: **{{total}}**"), fontSize?:"xs"|"sm"|"base"|"lg"|"xl", fontWeight?:"normal"|"medium"|"semibold"|"bold" } | ||
| - table: { type:"table", columns: { id, name (data key), label (header), width?: "40%", align?: "left"|"center"|"right" }[], rowVariable: string } | ||
@@ -54,2 +54,4 @@ - spacer: { type:"spacer", height: "sm"|"md"|"lg"|"xl" } | ||
| - Table column alignment: left-align text columns, right-align money/number columns, center short codes/status; a header's alignment matches its column. | ||
| - INLINE BOLD: to bold PART of any text, wrap it in **double asterisks** — e.g. a text node's content "Total: **{{total}}**". That's the only way to bold part of a string (no per-run style flag); it also works inside tables — wrap a column's values (or a header label) in ** ** to bold them. Only apply bold where the user actually asks. | ||
| - CERTIFICATES / AWARDS / DIPLOMAS: set pageSize:"auto" so the page grows to fit the content (no empty space below). Center-align the text (align:"center"), make the recipient name large (fontSize:"xl", bold), and place signature lines near the bottom. | ||
| - Every id must be unique. Keep it clean and professional. | ||
@@ -68,3 +70,3 @@ | ||
| name: "pdfmakerapi", | ||
| version: "1.0.0", | ||
| version: "1.0.2", | ||
| title: "PDFMakerAPI", | ||
@@ -86,3 +88,3 @@ websiteUrl: "https://pdfmakerapi.com", | ||
| .optional() | ||
| .describe('"letter" | "a4" | "legal" | "letter-landscape" | "a4-landscape" | "square" (default "a4").'), | ||
| .describe('"letter" | "a4" | "legal" | "letter-landscape" | "a4-landscape" | "square" | "auto" (default "a4"; "auto" grows the height to fit — good for certificates/awards).'), | ||
| pageBackgroundColor: z.string().optional().describe("Hex color, e.g. #ffffff."), | ||
@@ -89,0 +91,0 @@ margin: z.string().optional().describe('"none" | "sm" | "md" | "lg" (default "lg").'), |
+1
-1
| { | ||
| "name": "@pdfmakerapi/mcp", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "mcpName": "io.github.GerardoBarrera/pdfmakerapi-mcp", | ||
@@ -5,0 +5,0 @@ "description": "MCP server for PDFMakerAPI — turn a description into a shareable, editable PDF (invoices, certificates, reports, resumes) from any MCP client (Claude, Cursor, etc.).", |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
17213
5.69%153
2%