Skip to content
Gemini CLI

HTML/CSS to Image API for Gemini CLI

io.github.htmlcsstoimage/html-css-to-image

Generate images and PDFs from HTML/CSS, live websites, and reusable templates.

client:Gemini CLI transport:streamable-http

Install HTML/CSS to Image API in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "html-css-to-image": {
      "httpUrl": "https://mcp.hcti.io"
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

HTML/CSS to Image API in other clients