HTML/CSS to Image API
Server Details
Generate images and PDFs from HTML/CSS, live websites, and reusable templates.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- htmlcsstoimage/agent-plugins
- GitHub Stars
- 7
- ChatGPT
- HTML/CSS to Image API
- Claude
- HTML/CSS to Image MCP
TDQS
Scored across 49 tools
Tools are partitioned by resource family (images, templates, assets, recordings, OG configs, proxies, storage destinations, webhooks) and the five image-creation tools are explicitly cross-referenced in each description to steer selection. A few boundaries remain soft: create_image vs create_templated_image vs the batch variants, and asset upload tickets vs asset updates, require reading the description to separate.
Uniform verb_noun snake_case across the entire set: create_/get_/list_/update_/delete_ prefixes applied consistently to every resource (asset, template, proxy, webhook, og_config, storage_destination, recording). Only oddity is the noun form difference between create_image/create_url_image and create_htmlcss_recording/create_url_recording, which is still predictable.
49 tools is heavy, but the server exposes roughly ten distinct resource families, each with a full CRUD lifecycle, so most tools do earn their place. Still, the surface is near the upper bound where an agent must scan a large menu before acting, and the batch/max-batch-size helpers add marginal weight.
Coverage is strong: full CRUD for assets, templates (create/update/version list), OG configs, proxies, storage destinations, and webhooks, plus recording lifecycle and usage/capabilities introspection. Minor gaps exist — no delete_template or get_template-by-id (only list endpoints), and no accounting/organization tools beyond capabilities and check_usage.
Publisher details
- Operator
- HTML/CSS to Image API
- Operator website
- https://htmlcsstoimage.com
- Vendor relationship
- First-party
- Documentation
- https://docs.htmlcsstoimage.com/integrations/mcp
- Privacy policy
- Not provided
- Trust center
- https://htmlcsstoimage.com/privacy
- Restrictions
- No setup restrictions
Available Tools
49 toolscapabilitiesCapabilitiesARead-onlyIdempotentInspect
Returns the connected organization's effective plan, feature support, limits, and trial_status in item. Check supports_* before choosing features; these flags include active trial access. trial_status describes available, active, and expired feature trials. Direct users to https://htmlcsstoimage.com/dashboard/organization/trials to start available trials or review expired trials. Use check_usage to check remaining credit balances.
Inputs: no named parameters. Returns: item, error, success
check_usageCheck UsageARead-onlyInspect
Returns the connected organization's current credit usage for images and recordings in item: credits_used, credit_limit, overages_enabled, and next_reset. Both render types share the same credit allowance. Included credits remaining are max(0, credit_limit - credits_used); overages_enabled indicates whether usage beyond that allowance is permitted. The images_used and images_allowed fields are legacy aliases; use credits_used and credit_limit for new integrations.
Inputs: no named parameters. Returns: item, error, success
create_asset_upload_ticketADestructiveInspect
Get a single-use URL to PUT raw file bytes. For a new asset, supply request.asset_path. To replace a file, pass its id and omit asset_path. Optional request.public_access_requested changes its public access. Complete the upload using an HTTP client with access to the file.
Inputs: request (required), id. Returns: item, error, success
create_batch_imagesCreate a batch of imagesADestructiveInspect
Creates multiple image assets from shared default_options and individual variations. Keep the number of variations within max_batch_size from capabilities, or call get_max_batch_size if that limit is not already known; a limit of 0 requires individual image calls. Each variation overrides corresponding defaults. Returns per-image asset IDs, URLs, and format information in item. Use the individual creation tools when only one image or an inline preview is needed.
Inputs: variations (required), default_options. Returns: item, error, success
create_batch_templated_imagesCreate a batch of templated imagesADestructiveIdempotentInspect
Creates multiple images from one or more saved templates. Set template_id in default_options or each variation; resolve unknown IDs with list_templates. Keep variations within max_batch_size from capabilities, or call get_max_batch_size if that limit is not already known. Shared template_values merge recursively with each variation; arrays, scalars and explicit null replace defaults. Overriding a template_id resets the inherited version unless a version is also supplied. Identical images reuse existing assets. Returns IDs, URLs and format information in response order. Use create_templated_image for a single image or inline preview.
Inputs: variations (required), default_options. Returns: item, error, success
create_htmlcss_recordingCreate an HTML/CSS RecordingADestructiveInspect
Creates a video or animated GIF from HTML, CSS, and JavaScript. MP4 and WebM can include a soundtrack from an audio asset ID or public audio URL. Returns id, status_url, and recording_url in item before capture completes. Use get_recording_status to check readiness.
Inputs: content (required). Returns: item, error, success
create_imageCreate an ImageADestructiveInspect
Creates an image from supplied HTML and CSS. Use this for a single graphic, card, or document; use create_url_image to capture an existing web page, or create_template to save a reusable design. Set content.selector to crop to a specific element. Returns asset ID, URL, and format information in item. Set include_image_data only when an inline preview is needed, or include_file to return the output as an embedded binary resource.
Inputs: content (required), include_file, include_image_data. Returns: item, error, success
create_og_configCreate an OG ConfigurationAInspect
Saves a new Open Graph (social preview) image configuration for pages on an HTTPS website. Use config_type: html_css to render source pages with default rendering options, or templated to render an existing template using values extracted from page metadata. Returns the saved configuration in item, including id for later management and domain_id for its Open Graph image URLs. Requires a plan that supports OG configurations. Use create_url_image for a single page screenshot and update_og_config to change an existing configuration.
Inputs: content (required). Returns: item, error, success
create_proxyCreate a ProxyAInspect
Creates an organization proxy for routing image requests. Returns its ID and configuration without passwords.
Inputs: content (required). Returns: item, error, success
create_storage_destinationCreate a Storage DestinationAInspect
Creates a storage destination after testing a write to its bucket. The test object is deleted when possible. Enabled destinations require a successful test; explicitly disabled destinations can be saved with a failed test result. Returns configuration and test status without secret access keys.
Inputs: content (required). Returns: item, error, success
create_templateCreate a TemplateAInspect
Saves a reusable HTML/CSS image template for rendering multiple images with different values. Put Handlebars placeholders such as {{title}} in the HTML; substitutions are evaluated in HTML only. Returns item.template_id and item.template_version. Call create_templated_image with that ID and template_values to render an image. Use create_image for a single image from supplied HTML/CSS, or update_template to revise an existing template.
Inputs: content (required). Returns: item, error, success
create_templated_imageCreate a Templated imageADestructiveIdempotentInspect
Creates an image from a saved template using template_values for its variable substitutions. Use a known template_id directly, or call list_templates to find one by name. Omit version to use the latest version. Returns asset ID, URL, and format information in item; include_image_data requests an inline preview, and include_file returns the output as an embedded binary resource. Use create_template to save a new reusable design before rendering it.
Inputs: template_id (required), template_values (required), version, include_file, +1 more. Returns: item, error, success
create_url_imageCreate an Image of a URLADestructiveInspect
Creates a screenshot of an existing web page at content.url. Rendering loads the page and its resources in a browser and executes its JavaScript. Set content.full_screen for the entire scrollable page, or content.selector to capture a particular element. Returns asset ID, URL, and format information in item; include_image_data requests an eager inline preview, and include_file returns the output as an embedded binary resource. Use create_image when supplying HTML/CSS directly, or create_templated_image when rendering a saved template.
Inputs: content (required), include_file, include_image_data. Returns: item, error, success
create_url_recordingCreate a Website RecordingADestructiveInspect
Records a website as MP4, WebM, or animated GIF, with optional scrolling and interactions. MP4 and WebM can include a soundtrack from an audio asset ID or public audio URL. Returns id, status_url, and recording_url in item before capture completes. Use get_recording_status to check readiness.
Inputs: content (required). Returns: item, error, success
create_webhookCreate a WebhookAInspect
Creates a webhook that sends the selected organization events to an HTTPS endpoint. Subscribing to an event requires read access to its resource; api_key events cannot be subscribed to through MCP. Creating an enabled webhook sends a webhook_test delivery to the endpoint; test_event_id in the result identifies it. Returns the configuration without secret parameter values or the signing secret.
Inputs: content (required). Returns: item, error, success
delete_assetCDestructiveIdempotentInspect
Delete the organization asset and its public copy.
Inputs: id (required). Returns: item, error, success
delete_og_configDelete an OG ConfigurationADestructiveIdempotentInspect
Deletes an Open Graph image configuration. Returns true on success.
Inputs: id (required). Returns: item, error, success
delete_proxyDelete a ProxyADestructiveIdempotentInspect
Deletes an organization's proxy so it can no longer be used for rendering. Repeated deletion of the same proxy succeeds. Returns true on success.
Inputs: id (required). Returns: item, error, success
delete_recordingDelete a RecordingADestructiveIdempotentInspect
Deletes a recording and removes its HCTI-hosted media. The recording can no longer be retrieved or rendered. Files already saved to customer storage are not deleted. Repeating deletion of the same owned recording succeeds. Returns true when deletion is accepted.
Inputs: id (required). Returns: item, error, success
delete_storage_destinationDelete a Storage DestinationADestructiveIdempotentInspect
Deletes the storage destination configuration and its stored credentials. Does not delete the bucket or files already stored there. Repeated deletion succeeds. Returns true on success.
Inputs: id (required). Returns: item, error, success
delete_webhookDelete a WebhookADestructiveIdempotentInspect
Deletes a webhook. Deliveries that have not been sent yet are not sent. Repeated deletion succeeds. Returns true on success.
Inputs: id (required). Returns: item, error, success
get_assetARead-onlyIdempotentInspect
Get asset metadata and its private and available public URLs by asset ID.
Inputs: id (required). Returns: item, error, success
get_asset_storage_usageARead-onlyIdempotentInspect
Get the organization's used, available, and plan limit bytes for asset storage, and the usage refresh time.
Inputs: no named parameters. Returns: item, error, success
get_aws_storage_external_idGet AWS Storage External IDARead-onlyIdempotentInspect
Returns the current organization's external_id and HCTI writer_role_arn. Use external_id as sts:ExternalId and writer_role_arn as Principal.AWS in the AWS IAM role trust policy when configuring S3 storage. No storage destination ID is required.
Inputs: no named parameters. Returns: item, error, success
get_max_batch_sizeRetrieve max batch sizeARead-onlyIdempotentInspect
Get the maximum number of images that can be created in a single batch according to the user's plan. Returns 0 when batching is not supported; create images individually instead.
Inputs: no named parameters. Returns: item, error, success
get_og_configGet an OG ConfigurationARead-onlyIdempotentInspect
Retrieves one Open Graph image configuration by ID. Returns its mode, enabled state, domain_id, and mode-specific rendering options or template settings in item. Use this before update_og_config to preserve existing settings; use list_og_configs to discover an ID.
Inputs: id (required). Returns: item, error, success
get_proxyGet a ProxyARead-onlyIdempotentInspect
Gets an organization's proxy configuration, including whether it is enabled and whether authentication is configured. The configured username is returned; passwords are never returned.
Inputs: id (required). Returns: item, error, success
get_recordingGet RecordingARead-onlyIdempotentInspect
Retrieves saved source, actions, output settings, and recording metadata without rendering or downloading media. Use get_recording_status for progress checks.
Inputs: id (required). Returns: item, error, success
get_recording_statusGet Recording StatusARead-onlyIdempotentInspect
Returns current status, attempt count, errors, stored duration, and media URL. Does not start rendering. Use store_recording to start a deferred recording.
Inputs: id (required). Returns: item, error, success
get_storage_destinationGet a Storage DestinationARead-onlyIdempotentInspect
Gets a storage destination's configuration, enabled state, and most recent connection test result. Secret access keys are never returned.
Inputs: id (required). Returns: item, error, success
get_webhookGet a WebhookARead-onlyIdempotentInspect
Gets a webhook's endpoint, subscribed events, parameters, signing setting, and enabled state. Secret parameter values and the signing secret are never returned.
Inputs: id (required). Returns: item, error, success
get_webhook_eventGet a Webhook EventARead-onlyIdempotentInspect
Gets one webhook event: its payload, and each destination's delivery status and attempts with HTTP results. data is null and payload_withheld is true when you can't read the event's resource.
Inputs: event_id (required). Returns: item, error, success
list_assetsCRead-onlyIdempotentInspect
List organization assets. Pass pagination.next_page_start to continue.
Inputs: count, public, media_type, page_start, +1 more. Returns: item, error, success
list_og_configsList OG ConfigurationsARead-onlyIdempotentInspect
Lists the organization's Open Graph configurations in descending creation order, including disabled configurations. Results are in item.data. Pass item.pagination.next_page_start as page_start to continue; a null cursor marks the last page.
Inputs: count, page_start. Returns: item, error, success
list_proxiesList ProxiesARead-onlyIdempotentInspect
Lists the organization's proxies, including disabled proxies. Returns configuration without passwords in item.data. Use an entry's id as proxy_id in image or template requests. Pass item.pagination.next_page_start as page_start to continue; a null cursor marks the last page.
Inputs: count, page_start. Returns: item, error, success
list_recordingsList RecordingsARead-onlyIdempotentInspect
Lists the organization's non-deleted recordings, newest first, in item.recordings. Returns next_page_token and has_next_page for pagination. Use get_recording_status for current progress.
Inputs: count, page_token. Returns: item, error, success
list_storage_destinationsList Storage DestinationsARead-onlyIdempotentInspect
Lists the organization's storage destinations, including disabled destinations. Returns configuration without secret access keys in item.data. Use an entry's id as storage_destination_id in image or template requests. Pass item.pagination.next_page_start as page_start to continue; a null cursor marks the last page.
Inputs: count, page_start. Returns: item, error, success
list_templatesList TemplatesARead-onlyInspect
Lists the connected organization's templates with their latest versions, newest first. Use this to find a template by name and inspect its content and rendering settings. Results are in data; pass an entry's id as template_id to create_templated_image. For more results, pass pagination.next_page_start as max_version. Stop when data is empty or the cursor is null.
Inputs: count (required), max_version. Returns: data, pagination
list_template_versionsList Template VersionsARead-onlyInspect
Lists saved versions of one template, newest first, with their content and rendering settings in data. Use this to inspect a template before updating it or select an older version for create_templated_image. Pass pagination.next_page_start as max_version to continue; stop when data is empty or the cursor is null.
Inputs: count (required), template_id (required), max_version. Returns: data, pagination
list_webhooksList WebhooksARead-onlyIdempotentInspect
Lists the organization's webhooks, including disabled webhooks. Returns endpoints, subscribed events, and parameters in item.data; secret parameter values and signing secrets are never returned. Pass item.pagination.next_page_start as page_start to continue; a null cursor marks the last page.
Inputs: count, page_start. Returns: item, error, success
send_webhook_test_eventSend a Webhook Test EventAInspect
Sends a webhook_test delivery to an enabled webhook's endpoint, signed and with its parameters like any other delivery. Each webhook accepts one test every 30 seconds, including the test sent when it is created or its delivery settings change. Returns the event ID; check delivery status with get_webhook_event.
Inputs: webhook_id (required). Returns: item, error, success
store_recordingStore a RecordingAIdempotentInspect
Starts a deferred recording or stores it using its configured destination. Reuses stored media without resetting attempts. Returns the latest status, which may still be processing.
Inputs: id (required). Returns: item, error, success
submit_feedbackSubmit FeedbackAInspect
Sends feedback to the HCTI team about HTML/CSS to Image, its API, or its MCP tools. Use this to report bugs or unexpected rendering results, request features, describe confusing behavior or documentation, and suggest improvements. Include relevant context such as what you tried, what you expected, and what happened. If the user did not ask you to send feedback, ask them before submitting. Do not include API keys, credentials, tokens, or personal or confidential data. Returns a confirmation message and feedback ID.
Inputs: message (required), subject, callback_url. Returns: item, error, success
update_assetBDestructiveInspect
Change the display name or public access of an asset. Inspect publication_error for publication failures.
Inputs: id (required), request (required). Returns: item, error, success
update_og_configUpdate an OG ConfigurationADestructiveIdempotentInspect
Replaces an existing Open Graph image configuration and returns the saved configuration in item. Call get_og_config first to inspect settings that should be preserved; omitted optional settings are cleared or reset to defaults. Supply the complete configuration for the chosen config_type. Changes affect subsequent image requests using this configuration. After a plan downgrade, only disabling is accepted and other changes are ignored.
Inputs: id (required), content (required). Returns: item, error, success
update_proxyUpdate a ProxyADestructiveIdempotentInspect
Replaces the complete proxy configuration. Omitted optional settings, including authentication, are cleared. Within authentication, an omitted password requires retain_password: true and an unchanged username. Returns configuration without passwords.
Inputs: id (required), content (required). Returns: item, error, success
update_storage_destinationUpdate a Storage DestinationADestructiveInspect
Replaces a storage destination's configuration. Omitted optional settings are cleared or reset, except a secret explicitly retained using retain_secret_access_key: true with unchanged provider and access key ID. Changed connections and re-enabling trigger a bucket write test with best-effort cleanup. An enabled request is not saved if testing fails. After a plan downgrade, only disabling is accepted and other changes are ignored.
Inputs: id (required), content (required). Returns: item, error, success
update_templateUpdate a TemplateADestructiveInspect
Updates an existing HTML/CSS image template. Replaces its latest version when that version has not been rendered; otherwise creates a new version. Returns item.template_id and item.template_version. Call create_templated_image with the returned ID and version to render the updated design. Use list_template_versions to inspect existing content before replacing it.
Inputs: content (required), template_id (required). Returns: item, error, success
update_webhookUpdate a WebhookADestructiveInspect
Replaces a webhook's configuration. Omitted parameters are removed; resend secret values or keep them with retain_value: true, except when the URL changes. Changing the URL, parameters, or signing setting, or enabling the webhook, requires read access to every subscribed event and sends a webhook_test delivery, identified by test_event_id in the result. Disabling, renaming, or removing subscriptions only requires webhook management access. Fails with a conflict if the webhook changed concurrently; get it again before retrying.
Inputs: id (required), content (required). Returns: item, error, success
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Generate PDFs and images from HTML, Markdown, URLs or JSON templates.
Screenshot public web pages or raw HTML as PNG, JPEG or WebP, or print them to PDF
Render PDFs and images (invoices, receipts, OG images) from templates or HTML. 1 cent each.
Render-and-verify API: HTML/CSS to image or PDF, screenshot any URL, confirm the text rendered.
Related MCP Servers
- AlicenseAqualityBmaintenanceCapture screenshots, generate PDFs, and render HTML to images via AI agents. Supports batch capture, geo-targeting, async webhooks, and CSS/JS injection.1144 npm6MIT
- AlicenseNot gradedqualityBmaintenanceEnables rendering complete HTML documents (with inline CSS) into PNG images or A4 vector PDFs at a chosen viewport, and screenshotting live web pages by URL as whole-page or single-element captures. Each render also returns a shareable CDN URL, with configurable size, DPI, delays, and wait selectors.64 npmMIT
- AlicenseNot gradedqualityBmaintenanceRender Markdown, HTML, URLs, and templates into polished PDF and PNG filesMIT
- AlicenseNot gradedqualityDmaintenanceProvides tools to capture pixel-perfect website screenshots as images or PDF. Supports configurable viewport, full-page capture, CSS injection, and returns either viewable images or base64-encoded content.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.