Koskamo

HTML to Image MCP MCP server

The HTML to Image MCP server allows AI agents to generate PNG images and PDF documents by rendering HTML and CSS or capturing screenshots of URLs. It provides two main tools: generate-image-from-html for creating custom designs like social cards and invoices, and screenshot-url for capturing live web pages. The server uses the same real Chrome rendering engine as the REST API and is available exclusively on paid plans.

Endpoint and access

No sign-in: your client connects and lists tools immediately, with no account or key.

No sign-inEndpoint checked 2026-10-05Operated by HTML to Image
MCP endpoint (Streamable HTTP)
https://app.html2img.com/mcp
Vendor documentation

What you can do with it

  • Generate social media Open Graph cards and quote images
  • Create business documents like invoices and certificates as PDFs
  • Capture full-page screenshots of public URLs
  • Render code snippets and project showcase images
Tools advertised by the last live check:
  • generate-image-from-html
  • screenshot-url

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers a Streamable HTTP server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http html-to-image-mcp https://app.html2img.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add html-to-image-mcp --url https://app.html2img.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable html-to-image-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "html-to-image-mcp": {
      "url": "https://app.html2img.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure). The type must be streamableHttp for a remote HTTP server.
Cline configuration
{
  "mcpServers": {
    "html-to-image-mcp": {
      "type": "streamableHttp",
      "url": "https://app.html2img.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start html-to-image-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "html-to-image-mcp": {
      "type": "http",
      "url": "https://app.html2img.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http html-to-image-mcp https://app.html2img.com/mcp

Claude Desktop

Merge this into claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop.
Claude Desktop configuration
{
  "mcpServers": {
    "html-to-image-mcp": {
      "url": "https://app.html2img.com/mcp"
    }
  }
}

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "html-to-image-mcp": {
      "serverUrl": "https://app.html2img.com/mcp"
    }
  }
}

Do you run HTML to Image MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing