# HTML to Image

> HTML to Image is an MCP server for design and media. Render HTML and CSS to PNG images over HTTP. Send HTML and CSS and get a PNG back. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://html2img.com/mcp/
- **MCP Registry name:** com.html2img/html-to-image
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-11-13

## About

Render HTML and CSS to PNG images over HTTP. Send HTML and CSS and get a PNG back.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http html-to-image https://app.html2img.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://app.html2img.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "html-to-image": {
      "url": "https://app.html2img.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "html-to-image": {
      "type": "http",
      "url": "https://app.html2img.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "html-to-image": {
      "serverUrl": "https://app.html2img.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "html-to-image": {
      "type": "http",
      "url": "https://app.html2img.com/mcp"
    }
  }
}
```

## FAQ

### How do I add HTML to Image to Claude Code?

Run this command in your terminal: claude mcp add --transport http html-to-image https://app.html2img.com/mcp

### What are the best alternatives to HTML to Image?

The closest alternatives to HTML to Image are Shareglint and oJo — HTML to image and PDF.

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Shareglint](https://ai-powered.com/mcp/shareglint): Shareglint is a freemium MCP server for design and media.
- [oJo — HTML to image and PDF](https://ai-powered.com/mcp/ojo-html-to-image-and-pdf): oJo — HTML to image and PDF is a freemium MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/html-to-image
