MCP 服务器

Printwren: HTML to PDF and URL to PDF (real Chrome)

io.github.shawmena-dotcom/html-to-pdf
媒体与内容 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Renders HTML or public web pages into PDF documents using a browser engine.

html_to_pdf
HTML to PDF
Print an HTML document (invoice, report, receipt; up to 200 KB, inline CSS) to PDF with real Chrome. Returns the PDF as base64 with page count and size.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', 'required': ['html'], 'properties': {'html': {'type': 'string', 'maxLength': 200000}, 'format': {'enum': ['A4', 'Letter', 'Legal', 'A3', 'A5', 'Tabloid'], 'type': 'string', 'default': 'A4'}, 'landscape': {'type': 'boolean', 'default': False}, 'page_numbers': {'type': 'boolean', 'default': False}}}
url_to_pdf
Web page to PDF
Print a public web page to PDF with real Chrome. Returns title, page count, size, a direct download URL and (include_base64=true) the PDF bytes as base64.
只读 可访问外部资源 幂等
输入模式
{'type': 'object', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'Public http(s) URL or bare domain'}, 'format': {'enum': ['A4', 'Letter', 'Legal', 'A3', 'A5', 'Tabloid'], 'type': 'string', 'default': 'A4'}, 'landscape': {'type': 'boolean', 'default': False}, 'page_numbers': {'type': 'boolean', 'default': False}, 'include_base64': {'type': 'boolean', 'default': False}}}
已添加
html_to_pdf
2026年9月27日 02:40
已添加
url_to_pdf
2026年9月27日 02:40