Servidor MCP

makespdf

com.makespdf/makespdf

Qué hace este MCP

Validates Markdown and a PDF DSL, manages reusable templates, and renders accessible PDF/A and PDF/UA documents.

delete_template
Delete a caller-owned template by ID. Library rows cannot be deleted. Mirrors DELETE /api/v1/templates/:id.
Esquema de entrada
{'type': 'object', 'required': ['templateId'], 'properties': {'templateId': {'type': 'string', 'description': "Template ID — slug for library rows (e.g. 'invoice-classic') or UUID for user rows."}}}
get_template
Fetch a single template (library or caller-owned) by ID, including its full DSL source and sampleData. Mirrors GET /api/v1/templates/:id.
Esquema de entrada
{'type': 'object', 'required': ['templateId'], 'properties': {'templateId': {'type': 'string', 'description': "Template ID — slug for library rows (e.g. 'invoice-classic') or UUID for user rows."}}}
list_templates
List templates visible to the caller — both curated library templates (no owner) and the caller's own saved templates. Metadata only (no DSL bodies). Paginated. Use `owner: 'mine'` to restrict to your own; `owner: 'library'` for the curated catalog only; default `'all'` returns both. Optional `category`, `tags` (comma-separated, ANDed), and `q` (free-text over name + description) filters apply across both. Mirrors GET /api/v1/templates.
Esquema de entrada
{'type': 'object', 'properties': {'q': {'type': 'string', 'maxLength': 128}, 'tags': {'type': 'string', 'maxLength': 256}, 'limit': {'type': 'integer', 'default': 20, 'maximum': 100, 'minimum': 1}, 'owner': {'enum': ['mine', 'library', 'all'], 'type': 'string', 'default': 'all'}, 'offset': {'type': 'integer', 'default': 0, 'minimum': 0}, 'category': {'type': 'string', 'maxLength': 64}}}
render_dsl_preview
Render a DSL template + data to a preview PDF. Free (no credits), always watermarked 'PREVIEW — NOT FOR USE'. Returns JSON metadata plus the PDF bytes as an embedded base64 resource. Mirrors POST /api/v1/preview.
Esquema de entrada
{'type': 'object', 'required': ['dsl'], 'properties': {'dsl': {'type': 'string', 'description': 'The builder DSL script.'}, 'data': {'type': 'object', 'description': "Optional binding data. Falls back to the script's sampleData when omitted."}, 'title': {'type': 'string', 'maxLength': 200, 'description': 'Optional document title (shown in PDF metadata).'}}}
render_markdown
Render GitHub-flavored markdown to a real PDF (PDF/A-2A + PDF/UA-1 dual-compliant, tagged). **BILLED - consumes credits at the rate of 1 credit per 10 pages.** Returns JSON metadata (pageCount, creditsDeducted, creditsRemaining, artifactId) plus the PDF bytes as an embedded base64 resource. On the free plan the PDF is watermarked; paid plans render clean. Mirrors POST /api/v1/md. Run `validate_markdown` first - it is free and catches heading-hierarchy and alt-text problems before you pay to render them. There is no free markdown preview: markdown needs no layout iteration, so this is the only markdown render tool.
Esquema de entrada
{'type': 'object', 'required': ['markdown'], 'properties': {'options': {'type': 'object', 'properties': {'theme': {'enum': ['default', 'github'], 'type': 'string'}, 'title': {'type': 'string', 'maxLength': 200, 'description': 'Optional document title (shown in PDF metadata).'}, 'author': {'type': 'string', 'maxLength': 200, 'description': 'PDF /Author metadata.'}, 'margins': {'type': 'array', 'items': {'type': 'number'}, 'description': 'Page margins in points, [top, right, bottom, left].'}, 'subject': {'type': 'string', 'maxLength': 200, 'description': 'PDF /Subject metadata.'}, 'fontSize': {'type': 'number', 'maximum': 24, 'minimum': 6}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'PDF /Keywords metadata.'}, 'pageSize': {'enum': ['A3', 'A4', 'A5', 'Letter', 'Legal'], 'type': 'string'}, 'splitMode': {'enum': ['default', 'balanced'], 'type': 'string'}, 'fontFamily': {'enum': ['Inter', 'NotoSans'], 'type': 'string'}}, 'description': 'Optional render settings. Anything omitted falls back to YAML frontmatter in the markdown, then to the runtime default.'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'description': 'GitHub-flavored markdown source.'}}}
render_template
Render any readable template (curated library row or caller-owned) to a real PDF. **BILLED — consumes credits at the rate of 1 credit per 10 pages.** Returns JSON metadata (pageCount, creditsDeducted, creditsRemaining, artifactId) plus the PDF bytes as an embedded base64 resource. On the free plan the PDF is watermarked; paid plans render clean. Mirrors POST /api/v1/render with the { templateId, data } body shape. Use `render_dsl_preview` first to confirm the layout — that's free and watermarked. Only call this once you're confident the template is right.
Esquema de entrada
{'type': 'object', 'required': ['templateId'], 'properties': {'data': {'type': 'object', 'description': "Binding data substituted into {{var}} expressions. Falls back to the template's sampleData when omitted."}, 'title': {'type': 'string', 'maxLength': 200, 'description': 'Optional document title (shown in PDF metadata).'}, 'templateId': {'type': 'string', 'description': "Template ID — slug for library rows (e.g. 'invoice-classic') or UUID for user rows."}}}
report_feedback
Report feedback about this MCP server to the makesPDF team — where you got stuck, a tool error or description that misled you, a capability you needed but could not find, or a concrete suggestion for the server. Call it after a tool failed and you could not work out why, when an error message or tool description contradicted the skill file, when something you needed is missing, or when you have a specific improvement in mind. Write the problem in your own words: what you were trying to do, what you tried, and what you expected to happen. Do not include the user's document text, markdown, DSL source or data values. Describe the problem instead; if it concerns a specific render, pass its artifactId. This is not a support channel — nobody replies in real time. Calling it is free: it does not consume credits and does not affect the user's renders.
Esquema de entrada
{'type': 'object', 'required': ['kind', 'summary'], 'properties': {'kind': {'enum': ['stuck', 'bug', 'suggestion'], 'type': 'string', 'description': '`stuck` — a tool failed and you could not work out why; `bug` — something behaved incorrectly (a misleading error/description counts); `suggestion` — a missing capability or a concrete improvement.'}, 'summary': {'type': 'string', 'maxLength': 2000, 'minLength': 10, 'description': 'The problem in your own words: what you tried and what you expected. Do not include document content (see the content rule above).'}, 'toolName': {'type': 'string', 'maxLength': 64, 'description': 'Optional name of the tool this concerns (e.g. `render_template`).'}, 'artifactId': {'type': 'string', 'pattern': '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$', 'description': 'Optional UUID of the render artifact this concerns (the `artifactId` returned by a render call or the `X-Artifact-Id` response header).'}}, 'additionalProperties': False}
save_template
Save a user-owned DSL template for later reuse via /api/v1/render. Validates the DSL with the catalog before persisting. Free (no credits). Pass `sampleData` (any JSON value) so the template's binding shape is preserved — the modify-template flow on /ai/chat round-trips this back into the Render data panel when the user returns. Optional `description` is a one-sentence summary surfaced on /templates. Returns { templateId, name, createdAt }.
Esquema de entrada
{'type': 'object', 'required': ['dsl', 'name'], 'properties': {'dsl': {'type': 'string', 'description': 'The builder DSL script (<=512KB).'}, 'name': {'type': 'string', 'maxLength': 200, 'minLength': 1, 'description': 'Human-readable template name.'}, 'sampleData': {'description': 'Optional JSON binding data to persist alongside the template. Round-tripped on get_template / modify-template flow.'}, 'description': {'type': 'string', 'maxLength': 280, 'description': 'Optional one-sentence summary (max 280 chars). Surfaced on /templates list rows.'}}}
update_template
Update a saved template's DSL, name, description, and/or sampleData. Revalidates the DSL when provided. For `description` and `sampleData`: pass `null` to clear; omit to leave unchanged. Mirrors PUT /api/v1/templates/:id.
Esquema de entrada
{'type': 'object', 'required': ['templateId'], 'properties': {'dsl': {'type': 'string', 'description': 'Replacement builder DSL script (<=512KB).'}, 'name': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'sampleData': {'description': 'Optional JSON binding data. `null` clears the stored value; omit to leave unchanged.'}, 'templateId': {'type': 'string', 'description': "Template ID — slug for library rows (e.g. 'invoice-classic') or UUID for user rows."}, 'description': {'type': ['string', 'null'], 'maxLength': 280, 'description': 'Optional one-sentence summary (max 280 chars). Pass `null` (instead of a string) to clear the stored value; omit the key entirely to leave it unchanged.'}}}
validate_dsl
Validate a PDF template DSL script for structure, tag/style correctness, and accessibility issues. Runs catalog validation plus alt-text checks. Cheap — no rendering. Mirrors POST /api/v1/preview/validate.
Esquema de entrada
{'type': 'object', 'required': ['dsl'], 'properties': {'dsl': {'type': 'string', 'description': 'The builder DSL script to validate. Must define a template (see skills/pdf-template-author.md).'}, 'data': {'type': 'object', 'description': "Optional binding data. Falls back to the script's sampleData when omitted."}}}
validate_markdown
Validate a markdown document for PDF/UA-1 accessibility issues (heading hierarchy, missing alt text). Cheap — no rendering. Mirrors POST /api/v1/md/validate.
Esquema de entrada
{'type': 'object', 'required': ['markdown'], 'properties': {'markdown': {'type': 'string', 'maxLength': 200000, 'description': 'GitHub-flavored markdown source.'}}}
Añadido
report_feedback
29 de September de 2026 a las 03:02
Modificado
delete_template
29 de September de 2026 a las 03:02
Modificado
update_template
29 de September de 2026 a las 03:02
Añadido
render_markdown
17 de September de 2026 a las 12:36
Añadido
delete_template
17 de September de 2026 a las 12:36
Añadido
update_template
17 de September de 2026 a las 12:36
Añadido
get_template
17 de September de 2026 a las 12:36
Añadido
list_templates
17 de September de 2026 a las 12:36
Añadido
save_template
17 de September de 2026 a las 12:36
Añadido
render_template
17 de September de 2026 a las 12:36
Añadido
render_dsl_preview
17 de September de 2026 a las 12:36
Añadido
validate_markdown
17 de September de 2026 a las 12:36
Añadido
validate_dsl
17 de September de 2026 a las 12:36