Render HTML and CSS to PNG images over HTTP. Send HTML and CSS and get a PNG back.
Connect Remote server
claude mcp add --transport http html-to-image https://app.html2img.com/mcp --header "Authorization: Bearer <YOUR_API_KEY>"
{
"mcpServers": {
"html-to-image": {
"url": "https://app.html2img.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}
{
"servers": {
"html-to-image": {
"type": "http",
"url": "https://app.html2img.com/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}
Settings > Connectors > Add custom connector
URL: https://app.html2img.com/mcp
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools 2 found in our last check
generate-image-from-htmlRender HTML and CSS into a PNG image, or into an A4 vector PDF with format "pdf". Provide complete, self-contained HTML and put styles in an inline <style> block. Remote image URLs load if they are real and publicly accessible; embed generated or local images as base64 data URIs…
screenshot-urlCapture a live web page by URL as a PNG screenshot, or as an A4 vector PDF with format "pdf". Returns the rendered image plus a shareable CDN URL; PDF renders return the URL only. Consumes one credit per call.
Headers
| Name | Description |
|---|---|
AuthorizationRequired, secret | Your HTML to Image API key as a bearer token, for example 'Bearer htim_...'. Create one in your html2img.com dashboard. |
Details
| Endpoint | https://app.html2img.com/mcp (Streamable HTTP) |
| First published | 25 Jun 2026 |
| Last updated | 25 Jun 2026 |
| Registry name | com.html2img/html-to-image |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
