MCP 服务器

pdfrender

dev.pdfrender/pdfrender
媒体与内容 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Converts HTML and CSS into PDF documents with page counts and optional document layout features.

render_html_to_pdf
Render an HTML document to a PDF
Render up to 256 KB of HTML to a PDF. Returns a download link to the PDF. Give the user the `download_url` so they can open the PDF. The link works for 15 minutes; after that, render again. The result is `{"download_url": "<link>", "pages": <page count>, "size_bytes": <PDF size>, "expires_in_minutes": 15}`. Only HTML and CSS are rendered; JavaScript is not run. For documents larger than 256 KB, use the REST API (`POST /v1/render`). Credits: 1 per call.
只读
输入模式
{'type': 'object', 'required': ['html'], 'properties': {'html': {'type': 'string', 'description': 'A complete HTML document, up to 256 KB. Inline images, fonts and CSS as data: URIs; external resources are not loaded.'}, 'pdf_variant': {'anyOf': [{'enum': ['pdf/a-2b', 'pdf/a-3b'], 'type': 'string'}, {'type': 'null'}], 'default': None, 'description': 'Write the PDF as PDF/A-2b or PDF/A-3b, for archiving. Paid plans only. Leave it out for a regular PDF.'}}, 'additionalProperties': False}
输出模式
{'type': 'object', 'additionalProperties': True}
已更改
render_html_to_pdf
2026年10月3日 02:51
已更改
render_html_to_pdf
2026年9月27日 02:43
已更改
render_html_to_pdf
2026年9月25日 02:50
已添加
render_html_to_pdf
2026年9月17日 12:39