The HTML/CSS to Image MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your HTML/CSS to Image account. It provides structured and secure access to your image generation, reusable templates, generated files, and usage data, so your agent can create images, render templates, transform files, manage templates, and monitor usage on your behalf.
- HTML and webpage rendering: Have your agent turn HTML and CSS or public web pages into hosted images, including protected pages that require request headers.
- Batch image creation: Direct your agent to generate up to 25 images at once from HTML, CSS, or web pages using shared or image-specific settings.
- Reusable template management: Let the agent create Handlebars templates, list your existing templates, and update them with new HTML, CSS, or render settings.
- Image retrieval and transformation: Instruct your agent to download generated images, convert their format, resize them, crop them, or permanently delete files you no longer need.
- Account usage tracking: Have your agent review recent hourly, daily, monthly, and billing-period image usage for your connected account.