SnapRender
v1.6.0Local stdio MCP server for SnapRender screenshots.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
take_screenshot
Capture a screenshot of a website URL, raw HTML, or Markdown content. Provide exactly one of: url, html, or markdown. Returns the image as a PNG, JPEG, WebP, or PDF. Supports device emulation (iPhone, Pixel, iPad), dark mode, ad blocking, cookie banner removal, full-page capture, and custom viewports.
| Parameter | Type | Description |
|---|---|---|
block_ads | boolean | Block advertisements and trackers (default: true) |
block_cookie_banners | boolean | Remove cookie consent banners (default: true) |
cache | boolean | Use cached result if available. Set to true to enable caching (default: false) |
cache_ttl | integer | Cache TTL in seconds, 0-2592000. Clamped to your plan max (default: 86400) |
click_selector | string | CSS selector to click before capture |
dark_mode | boolean | Enable dark mode CSS emulation (default: false) |
delay | integer | Milliseconds to wait after page load (default: 0) |
device | string | Device preset for mobile/tablet emulation |
format | string | Output format (default: png) |
full_page | boolean | Capture entire scrollable page (default: false) |
height | integer | Viewport height in pixels (default: 800) |
hide_selectors | string | Comma-separated CSS selectors to hide before capture |
html | string | Raw HTML content to render and capture (max 2MB). Mutually exclusive with url and markdown. |
lazy_load | boolean | For full-page captures: scroll through the page first so lazy-loaded images below the first screen appear (default: false). Slower, usually 1-5 seconds more. Ignored unless full_page is true. Some sit… |
markdown | string | Markdown content to render with a clean styled template and capture (max 500KB). Mutually exclusive with url and html. |
quality | integer | Image quality for JPEG/WebP, 1-100 (default: 90) |
url | string | URL to capture (must start with http:// or https://). Mutually exclusive with html and markdown. |
user_agent | string | Custom user agent string to use for the request |
width | integer | Viewport width in pixels (default: 1280) |
check_screenshot_cache
Check if a screenshot is already cached without capturing a new one. Does not count against your quota. Pass the same parameters you would use for take_screenshot so the cache key matches correctly.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to check |
block_ads | boolean | Block ads (default: true) |
click_selector | string | CSS selector to click |
dark_mode | boolean | Dark mode (default: false) |
device | string | Device preset |
format | string | Output format (default: png) |
full_page | boolean | Full page capture (default: false) |
height | integer | Viewport height (default: 800) |
hide_selectors | string | CSS selectors to hide |
lazy_load | boolean | For full-page captures: scroll through the page first so lazy-loaded images below the first screen appear (default: false). Slower, usually 1-5 seconds more. Ignored unless full_page is true. Some sit… |
quality | integer | Image quality (default: 90) |
width | integer | Viewport width (default: 1280) |
sign_screenshot_url
Generate a signed URL for a screenshot that can be used without an API key. Useful for embedding screenshots in emails, documents, or sharing with third parties. Signing is free, rendering the URL consumes one credit. URLs expire after the specified duration.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to capture (must start with http:// or https://) |
block_ads | boolean | Block ads (default: true) |
block_cookie_banners | boolean | Remove cookie banners (default: true) |
click_selector | string | CSS selector to click |
dark_mode | boolean | Enable dark mode (default: false) |
delay | integer | Milliseconds to wait after load (default: 0) |
device | string | Device preset for emulation |
expires_in | integer | URL validity in seconds, 60-2592000 (default: 86400 = 1 day) |
format | string | Output format (default: png) |
full_page | boolean | Capture entire scrollable page (default: false) |
height | integer | Viewport height in pixels (default: 800) |
hide_selectors | string | CSS selectors to hide |
lazy_load | boolean | For full-page captures: scroll through the page first so lazy-loaded images below the first screen appear (default: false). Slower, usually 1-5 seconds more. Ignored unless full_page is true. Some sit… |
quality | integer | Image quality (default: 90) |
user_agent | string | Custom user agent |
width | integer | Viewport width in pixels (default: 1280) |
extract_content
Extract content from a web page. Returns structured data based on the extraction type. Supports: markdown (readable content), text (plain text), html (raw HTML), article (structured with title/author/excerpt), links (all page links), metadata (OG tags, title, description).
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to extract content from (must start with http:// or https://) |
block_ads | boolean | Block advertisements and trackers (default: true) |
block_cookie_banners | boolean | Remove cookie consent banners (default: true) |
cache | boolean | Use cached result if available (default: false) |
cache_ttl | integer | Cache TTL in seconds (default: 86400) |
delay | integer | Milliseconds to wait after page load (default: 0) |
max_length | integer | Maximum content length in characters (default: 100000) |
selector | string | CSS selector to scope extraction to a specific element |
type | string | Extraction type (default: markdown) |
batch_screenshots
Create a batch screenshot job for multiple URLs (1-50). Returns immediately with a job ID. Use get_batch_status to poll for results (wait 2-5 seconds between polls). All URLs share the same screenshot options. Each URL consumes one credit; failed URLs get credits rolled back.
| Parameter | Type | Description |
|---|---|---|
urls * | array | Array of URLs to capture (1-50) |
block_ads | boolean | Block ads (default: true) |
block_cookie_banners | boolean | Remove cookie banners (default: true) |
click_selector | string | CSS selector to click |
dark_mode | boolean | Enable dark mode (default: false) |
delay | integer | Milliseconds to wait after load (default: 0) |
device | string | Device preset for emulation |
format | string | Output format (default: png) |
full_page | boolean | Capture entire scrollable page (default: false) |
height | integer | Viewport height in pixels (default: 800) |
hide_selectors | string | CSS selectors to hide |
lazy_load | boolean | For full-page captures: scroll through the page first so lazy-loaded images below the first screen appear (default: false). Slower, usually 1-5 seconds more. Ignored unless full_page is true. Some sit… |
quality | integer | Image quality (default: 90) |
user_agent | string | Custom user agent |
width | integer | Viewport width in pixels (default: 1280) |
get_batch_status
Get the status of a batch screenshot job. Poll this until status is 'completed' or 'failed' (wait 2-5 seconds between polls). Completed items include presigned download URLs valid for 24 hours.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The batch job ID returned by batch_screenshots |
list_webhooks
List all webhook subscriptions on your account. Returns webhook IDs, URLs, subscribed events, and creation dates.
create_webhook
Create a webhook subscription for event notifications. Events: screenshot.completed (batch job done), quota.warning (80% used), quota.exceeded (100% used), capture.completed and change.detected (scheduled captures). Max 5 webhooks per account. Payloads are signed with HMAC-SHA256. Save the returned secret to verify signatures.
| Parameter | Type | Description |
|---|---|---|
events * | array | Events to subscribe to |
url * | string | Webhook endpoint URL. Must be a public HTTPS URL. |
delete_webhook
Delete a webhook subscription by ID. This cannot be undone.
| Parameter | Type | Description |
|---|---|---|
webhook_id * | string | The webhook ID to delete (from list_webhooks) |
test_webhook
Send a test payload to a webhook endpoint to verify it receives events correctly. Returns the delivery status and HTTP response code.
| Parameter | Type | Description |
|---|---|---|
webhook_id * | string | The webhook ID to test (from list_webhooks) |
get_usage
Get current month's screenshot usage statistics including screenshots used, limit, and remaining quota.