Compliant PDFs (PDF/A-2A + PDF/UA-1) from markdown or a compact DSL - fast, no headless browser.
Call this server's tools from your browser. Nothing to install.
Bearer <makesPDF API key> - the same key used for the REST API. See https://makespdf.com/docs/mcp for setup.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Delete a caller-owned template by ID. Library rows cannot be deleted. Mirrors DELETE /api/v1/templates/:id.
Template ID — slug for library rows (e.g. 'invoice-classic') or UUID for user rows.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Delete a caller-owned template by ID. Library rows cannot be deleted. Mirrors DELETE /api/v1/templates/:id.
| Argument | Type | Description |
|---|---|---|
| templateId* | string | Template ID — slug for library rows (e.g. 'invoice-classic') or UUID for user rows. |
{
"type": "object",
"required": [
"templateId"
],
"properties": {
"templateId": {
"type": "string",
"description": "Template ID — slug for library rows (e.g. 'invoice-classic') or UUID for user rows."
}
}
}Fetch a single template (library or caller-owned) by ID, including its full DSL source and sampleData. Mirrors GET /api/v1/templates/:id.
| Argument | Type | Description |
|---|---|---|
| templateId* | string | Template ID — slug for library rows (e.g. 'invoice-classic') or UUID for user rows. |
{
"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 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.
| Argument | Type | Description |
|---|---|---|
| q | string | |
| tags | string | |
| limit | integer | |
| owner | string | |
| offset | integer | |
| category | string |
{
"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 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.
| Argument | Type | Description |
|---|---|---|
| dsl* | string | The builder DSL script. |
| data | object | Optional binding data. Falls back to the script's sampleData when omitted. |
| title | string | Optional document title (shown in PDF metadata). |
{
"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 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.
| Argument | Type | Description |
|---|---|---|
| options | object | Optional render settings. Anything omitted falls back to YAML frontmatter in the markdown, then to the runtime default. |
| markdown* | string | GitHub-flavored markdown source. Max 200KB of text; inline data: image payloads are excluded from that budget. |
{
"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"
},
"pageNumbers": {
"enum": [
"page-n-of-total",
"n-of-total",
"n"
],
"type": "string",
"description": "Footer page-number format: 'page-n-of-total' (Page 3 of 12), 'n-of-total' (3 / 12), or 'n' (3). Omit for no page numbers."
},
"pageNumberPosition": {
"enum": [
"left",
"center",
"right"
],
"type": "string",
"description": "Footer alignment when pageNumbers is set. Default 'right'. Ignored without pageNumbers."
}
},
"description": "Optional render settings. Anything omitted falls back to YAML frontmatter in the markdown, then to the runtime default."
},
"markdown": {
"type": "string",
"description": "GitHub-flavored markdown source. Max 200KB of text; inline data: image payloads are excluded from that budget."
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| data | object | Binding data substituted into {{var}} expressions. Falls back to the template's sampleData when omitted. |
| title | string | Optional document title (shown in PDF metadata). |
| templateId* | string | Template ID — slug for library rows (e.g. 'invoice-classic') or UUID for user rows. |
{
"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 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.
| Argument | Type | Description |
|---|---|---|
| kind* | string | `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* | string | The problem in your own words: what you tried and what you expected. Do not include document content (see the content rule above). |
| toolName | string | Optional name of the tool this concerns (e.g. `render_template`). |
| artifactId | string | Optional UUID of the render artifact this concerns (the `artifactId` returned by a render call or the `X-Artifact-Id` response header). |
{
"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 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 }.
| Argument | Type | Description |
|---|---|---|
| dsl* | string | The builder DSL script (<=512KB). |
| name* | string | Human-readable template name. |
| sampleData | any | Optional JSON binding data to persist alongside the template. Round-tripped on get_template / modify-template flow. |
| description | string | Optional one-sentence summary (max 280 chars). Surfaced on /templates list rows. |
{
"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 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.
| Argument | Type | Description |
|---|---|---|
| dsl | string | Replacement builder DSL script (<=512KB). |
| name | string | |
| sampleData | any | Optional JSON binding data. `null` clears the stored value; omit to leave unchanged. |
| templateId* | string | Template ID — slug for library rows (e.g. 'invoice-classic') or UUID for user rows. |
| description | string | null | 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. |
{
"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 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.
| Argument | Type | Description |
|---|---|---|
| dsl* | string | The builder DSL script to validate. Must define a template (see skills/pdf-template-author.md). |
| data | object | Optional binding data. Falls back to the script's sampleData when omitted. |
{
"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 a markdown document for PDF/UA-1 accessibility issues (heading hierarchy, missing alt text). Cheap — no rendering. Mirrors POST /api/v1/md/validate.
| Argument | Type | Description |
|---|---|---|
| markdown* | string | GitHub-flavored markdown source. Max 200KB of text; inline data: image payloads are excluded from that budget. |
{
"type": "object",
"required": [
"markdown"
],
"properties": {
"markdown": {
"type": "string",
"description": "GitHub-flavored markdown source. Max 200KB of text; inline data: image payloads are excluded from that budget."
}
}
}