--- layout: page title: "HTML-to-Image, PDF & Screenshot MCP" nav_title: MCP Server permalink: /integrations/mcp/ parent: Integrations has_children: true nav_order: 4 description: >- Render HTML/CSS, screenshots, and PDFs with Claude, ChatGPT, or Cursor. Manage HCTI templates, proxies, storage, and Open Graph images through MCP. --- # MCP Integration {: .no_toc } Take website screenshots, render images or PDFs, and manage your organization’s resources directly from your AI assistant. {: .fs-4 .fw-300 } ## Introduction No matter which AI tool or agent you use, you can connect it to HTML/CSS to Image through MCP. Give any compatible assistant a public URL or HTML/CSS, and ask it to take a screenshot, render a PDF, or create images from your saved templates. - **Start for free.** A free [HCTI account](https://htmlcsstoimage.com) works with any integration. Creating images uses your organization's available image credits just like the API. - **Sign in securely.** Authorize your account through OAuth in your browser, without copying API keys into your assistant. - **No browser infrastructure to manage.** HCTI handles rendering and returns a hosted URL you can open, download, or share. You can also ask your assistant to configure proxies, storage destinations, and automatic Open Graph images through the [Management API capabilities](/management-api/). These operations require additional [OAuth permissions](/integrations/mcp/permissions/); API key management is REST-only. ## Choose your client Choose your assistant for setup instructions and copyable examples. | Client | How to connect | |:-------|:---------------| | [ChatGPT & Codex](/integrations/mcp/chatgpt-codex/) | Install the official plugin; use it in a conversation or a coding task. | | [Claude & Claude Code](/integrations/mcp/claude/) | Install from the Claude Connectors Directory, or connect Claude Code. | | [Cline](/integrations/mcp/cline/) | Connect a Streamable HTTP server from the Cline extension. | | [Cursor](/integrations/mcp/cursor/) | Add HCTI to Cursor Agent with the install button or MCP configuration. | | [Gemini CLI](/integrations/mcp/gemini/) | Connect Gemini CLI with a remote HTTP server and browser sign-in. | | [GitHub Copilot](/integrations/mcp/github-copilot/) | Connect Copilot CLI from your terminal. | | [Grok](/integrations/mcp/grok/) | Use the HCTI plugin or a direct MCP connection in Grok Build. | | [JetBrains IDEs](/integrations/mcp/jetbrains/) | Connect AI Assistant through an OAuth-capable MCP bridge. | | [OpenCode](/integrations/mcp/opencode/) | Configure a remote MCP server and authorize it from the CLI. | | [VS Code](/integrations/mcp/vscode/) | Add a remote HTTP server and use its tools in Copilot Agent mode. | | [Windsurf](/integrations/mcp/windsurf/) | Connect HCTI to Cascade for screenshots and rendering. | | [Zed](/integrations/mcp/zed/) | Add a remote MCP server to the Agent Panel. | ## What is MCP? The [Model Context Protocol](https://modelcontextprotocol.io/) lets assistants call external tools. HCTI's hosted MCP server renders the HTML/CSS or public URL supplied by your assistant and returns the result. You do not need to run a rendering browser yourself. **MCP server URL:** `https://mcp.hcti.io` **Transport:** Streamable HTTP **Authentication:** OAuth Our [agent plugin](https://github.com/htmlcsstoimage/agent-plugins) also packages workflow guidance for using HCTI. Where a client supports that plugin, installing it provides both the connection and instructions for the assistant. A direct MCP connection gives access to the tools below. {% include mcp_tools.md %} ## Authentication After adding HCTI, use your client's connect or login action and complete authorization in your browser. Sign in to the HCTI account whose templates and credits you want to use, review the selected organization and permissions, then return to the assistant. Open **More Permissions** to select additional management access if needed. Some clients prompt automatically on first use; the individual guides show how to connect explicitly. To check the connection without rendering an image, ask: **"Use HCTI to check my image usage and account limits."** The `check_usage` tool requires `usage:read` and returns usage and limits without rendering an image. `get_max_batch_size` also requires `usage:read`. Rendering requests use your HCTI account's image allowance; your assistant subscription is separate. ## Example prompts ### How to take a website screenshot ```text Use HTML/CSS to Image to screenshot https://example.com as a PNG. Set viewport_width to 1440 and device_scale to 1. Return the image URL. ``` Open the returned URL to inspect the capture. To capture just part of your own site, provide a CSS selector such as `.pricing-grid` that actually exists on that page. HCTI must be able to reach the URL from its hosted service; `localhost` is not reachable. ### How to render HTML and CSS as a PNG ```text Use HCTI to render this HTML and CSS as a PNG with device_scale set to 1. HTML: