SnapRender

v1.6.0
io.github.User0856/snaprender Checked 1 day ago Published 20 days ago

Local 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.

ParameterTypeDescription
block_adsbooleanBlock advertisements and trackers (default: true)
block_cookie_bannersbooleanRemove cookie consent banners (default: true)
cachebooleanUse cached result if available. Set to true to enable caching (default: false)
cache_ttlintegerCache TTL in seconds, 0-2592000. Clamped to your plan max (default: 86400)
click_selectorstringCSS selector to click before capture
dark_modebooleanEnable dark mode CSS emulation (default: false)
delayintegerMilliseconds to wait after page load (default: 0)
devicestringDevice preset for mobile/tablet emulation
formatstringOutput format (default: png)
full_pagebooleanCapture entire scrollable page (default: false)
heightintegerViewport height in pixels (default: 800)
hide_selectorsstringComma-separated CSS selectors to hide before capture
htmlstringRaw HTML content to render and capture (max 2MB). Mutually exclusive with url and markdown.
lazy_loadbooleanFor 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…
markdownstringMarkdown content to render with a clean styled template and capture (max 500KB). Mutually exclusive with url and html.
qualityintegerImage quality for JPEG/WebP, 1-100 (default: 90)
urlstringURL to capture (must start with http:// or https://). Mutually exclusive with html and markdown.
user_agentstringCustom user agent string to use for the request
widthintegerViewport 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.

ParameterTypeDescription
url *stringURL to check
block_adsbooleanBlock ads (default: true)
click_selectorstringCSS selector to click
dark_modebooleanDark mode (default: false)
devicestringDevice preset
formatstringOutput format (default: png)
full_pagebooleanFull page capture (default: false)
heightintegerViewport height (default: 800)
hide_selectorsstringCSS selectors to hide
lazy_loadbooleanFor 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…
qualityintegerImage quality (default: 90)
widthintegerViewport 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.

ParameterTypeDescription
url *stringURL to capture (must start with http:// or https://)
block_adsbooleanBlock ads (default: true)
block_cookie_bannersbooleanRemove cookie banners (default: true)
click_selectorstringCSS selector to click
dark_modebooleanEnable dark mode (default: false)
delayintegerMilliseconds to wait after load (default: 0)
devicestringDevice preset for emulation
expires_inintegerURL validity in seconds, 60-2592000 (default: 86400 = 1 day)
formatstringOutput format (default: png)
full_pagebooleanCapture entire scrollable page (default: false)
heightintegerViewport height in pixels (default: 800)
hide_selectorsstringCSS selectors to hide
lazy_loadbooleanFor 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…
qualityintegerImage quality (default: 90)
user_agentstringCustom user agent
widthintegerViewport 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).

ParameterTypeDescription
url *stringURL to extract content from (must start with http:// or https://)
block_adsbooleanBlock advertisements and trackers (default: true)
block_cookie_bannersbooleanRemove cookie consent banners (default: true)
cachebooleanUse cached result if available (default: false)
cache_ttlintegerCache TTL in seconds (default: 86400)
delayintegerMilliseconds to wait after page load (default: 0)
max_lengthintegerMaximum content length in characters (default: 100000)
selectorstringCSS selector to scope extraction to a specific element
typestringExtraction 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.

ParameterTypeDescription
urls *arrayArray of URLs to capture (1-50)
block_adsbooleanBlock ads (default: true)
block_cookie_bannersbooleanRemove cookie banners (default: true)
click_selectorstringCSS selector to click
dark_modebooleanEnable dark mode (default: false)
delayintegerMilliseconds to wait after load (default: 0)
devicestringDevice preset for emulation
formatstringOutput format (default: png)
full_pagebooleanCapture entire scrollable page (default: false)
heightintegerViewport height in pixels (default: 800)
hide_selectorsstringCSS selectors to hide
lazy_loadbooleanFor 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…
qualityintegerImage quality (default: 90)
user_agentstringCustom user agent
widthintegerViewport 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.

ParameterTypeDescription
job_id *stringThe 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.

ParameterTypeDescription
events *arrayEvents to subscribe to
url *stringWebhook endpoint URL. Must be a public HTTPS URL.

delete_webhook

Delete a webhook subscription by ID. This cannot be undone.

ParameterTypeDescription
webhook_id *stringThe 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.

ParameterTypeDescription
webhook_id *stringThe webhook ID to test (from list_webhooks)

get_usage

Get current month's screenshot usage statistics including screenshots used, limit, and remaining quota.