RenderDock

v0.1.1
io.github.haitao-66/renderdock Checked 18 hours ago Published 14 days ago

Render Markdown, HTML, URLs, or templates to polished PDF and PNG files

Give your AI agent a render tool — RenderDock turns Markdown, HTML, public URLs, and Handlebars templates into polished PDF and PNG files. Renders exactly one of markdown, html, url, or template (+ data) into pdf (default) or png. Returns the local path of the written file (default) or base64 with response_mode: "base64".

Summary extracted from the README.

@renderdock/mcp

Give your AI agent a render tool — RenderDock turns Markdown, HTML, public URLs, and Handlebars templates into polished PDF and PNG files.

Install & run

npm install -g @renderdock/mcp
renderdock-mcp

Or with npx:

npx @renderdock/mcp

Configuration

Variable Required Description
RENDERDOCK_API_KEY yes Your RenderDock API key (starts with rd_)
RENDERDOCK_API_URL no Render endpoint (default http://127.0.0.1:8787)

Tools

render

Renders exactly one of markdown, html, url, or template (+ data) into pdf (default) or png.

Returns the local path of the written file (default) or base64 with response_mode: "base64".

Example arguments:

{ "markdown": "# Weekly report\n\nShipped the queue.", "format": "pdf", "filename": "weekly-report" }
{ "template": "<h1>Invoice for {{company}}</h1>", "data": { "company": "Acme GmbH" }, "format": "pdf" }

Adding to Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "renderdock": {
      "command": "npx",
      "args": ["@renderdock/mcp"],
      "env": { "RENDERDOCK_API_KEY": "rd_your_key", "RENDERDOCK_API_URL": "https://api.renderdock.dev/v1/render" }
    }
  }
}

Get an API key: https://renderdock.dev