HTML to Image
com.html2img/html-to-image
Serveur MCP OK 2 outils
Render HTML and CSS to PNG images over HTTP. Send HTML and CSS and get a PNG back.
Fiche technique
- Auteur
- html2img.com (espace de noms du registre)
- Dépôt
- —
- Site
- html2img.com/mcp
- Version
- 1.0.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://app.html2img.com/mcp Streamable HTTP en-tête requis :
Authorization - Outils
- 2
- Catégories
- Images, audio et vidéo
- Dernière mise à jour
- 25 juin 2026
- Publication
- 25 juin 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.html2img/html-to-image)<a href="https://latlas.dev/mcp/com.html2img/html-to-image"><img src="https://latlas.dev/badge/fiche/com.html2img/html-to-image.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://app.html2img.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 09:05
- Temps de réponse
- 633 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- html2img 1.1.0
- Outils
- 2
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 09:05 | OK | 633 ms | 2 |
Outils exposés (2, réponse à tools/list, 28 nov. 2026)
generate-image-from-html
Render 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 block. Remote image URLs load if they are real and publicly accessible; embed generated or local images as base64 data URIs rather than inventing URLs. Returns the rendered image plus a shareable CDN URL; PDF renders return the URL only. Consumes one credit per call.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| html | string | oui | The full HTML markup to render. Include CSS in an inline block. Publicly accessible remote image URLs work; use base64 data URIs for images that are not hosted anywhere. |
| css | string | non | Optional additional CSS to inject into the page. |
| width | integer | non | Viewport width in pixels (1-5000). Defaults to 1920. |
| height | integer | non | Viewport height in pixels (1-5000). Defaults to 1080. |
| fullpage | boolean | non | Capture the full scrollable page instead of just the viewport. |
| dpi | integer | non | Scale factor / device pixel ratio (1-4) for higher-resolution output. |
| ms_delay | integer | non | Milliseconds to wait before capturing (1-5000), e.g. to let fonts or animations settle. |
| wait_for_selector | string | non | Wait until this CSS selector is present before capturing. |
| format | enum: "png" | "pdf" | non | Output format. "png" (default) returns an image sized by width and height. "pdf" returns an A4 portrait vector PDF with selectable, searchable text and automatic pagination; width, height, dpi and fullpage are ignored. Use "pdf" for documents such as invoices, reports, certificates and tickets. Use… |
screenshot-url
Capture 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| url | string | oui | The fully-qualified URL of the page to capture (https://...). |
| css | string | non | Optional CSS to inject into the page before capture. |
| width | integer | non | Viewport width in pixels (1-5000). Defaults to 1920. |
| height | integer | non | Viewport height in pixels (1-5000). Defaults to 1080. |
| fullpage | boolean | non | Capture the full scrollable page instead of just the viewport. |
| selector | string | non | Capture only the element matching this CSS selector. |
| dpi | integer | non | Scale factor / device pixel ratio (1-4) for higher-resolution output. |
| ms_delay | integer | non | Milliseconds to wait before capturing (1-5000). |
| wait_for_selector | string | non | Wait until this CSS selector is present before capturing. |
| format | enum: "png" | "pdf" | non | Output format. "png" (default) returns an image sized by width and height. "pdf" returns the page as an A4 portrait vector PDF with selectable, searchable text and automatic pagination; width, height, dpi, fullpage and selector are ignored. Use "pdf" to archive a page or produce a printable record.… |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://app.html2img.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http html-to-image https://app.html2img.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : html-to-image ; URL : https://app.html2img.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : html-to-image ; Server URL : https://app.html2img.com/mcp ; Create as a plugin{
"mcpServers": {
"html-to-image": {
"url": "https://app.html2img.com/mcp"
}
}
}{
"mcpServers": {
"html-to-image": {
"type": "http",
"url": "https://app.html2img.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"html-to-image": {
"url": "https://app.html2img.com/mcp"
}
}
}{
"mcpServers": {
"html-to-image": {
"httpUrl": "https://app.html2img.com/mcp"
}
}
}[mcp_servers.html-to-image]
url = "https://app.html2img.com/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
HTML to Image · L’Atlas · Test du
[HTML to Image — L’Atlas](https://latlas.dev/mcp/com.html2img/html-to-image)Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.