html2img
MCP server by HTML to Image (html2img) · mcp
HTML to Image turns HTML and CSS into PNG images or A4 vector PDFs. Guidelines for writing HTML that renders correctly: - Send complete, self-contained HTML. Put styles in an inline <style> block (or the optional css argument). - The renderer does NOT load remote images. Embed every image as a base64 data URI (data:image/png;base64,...). Remote <img src="https://..."> tags are skipped. - Use the width/height arguments to control the canvas; use fullpage to capture tall content. - Set format to "pdf" for documents such as invoices, reports, certificates and tickets. PDF output is A4 portrait, paginates long content automatically and keeps text selectable; width, height, dpi, fullpage and selector are ignored. Each successful generation consumes one credit from the user's plan. After generating a PNG, you receive a shareable CDN URL (full resolution) plus a downscaled preview of the image so you can review the result and refine the markup. PDF renders return the URL only, with no inli…
Endpoint: https://app.html2img.com/mcp
Verification: observed. Source: crawl.
Capabilities (2)
- generate-image-from-html
- screenshot-url