Urlbox MCP by usefulapi

v1.1.1
io.usefulapi/urlbox Checked 2 days ago Published 1 day ago

Render web pages to screenshots, PDFs and Markdown, and check async renders in Urlbox.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

urlbox_render_sync Render now

Render a web page or HTML to a screenshot, PDF, video or Markdown and wait for the result. Returns renderUrl (valid 30 days) and size in bytes. Each call uses one render on the Urlbox plan. For a long page, use urlbox_render_async. Urlbox API: POST /v1/render/sync.

ParameterTypeDescription
block_adsbooleanBlock ads while the page loads.
click_acceptbooleanClick the accept button on cookie banners.
formatstringOutput format. Default png. pdf, mp4, webm and md are separate renders.
full_pagebooleanRender the whole page, not only the viewport.
heightintegerViewport height in pixels.
hide_cookie_bannersbooleanHide cookie banners.
htmlstringHTML to render instead of a URL. Give url or html.
optionsobjectOther Urlbox render options by name (camelCase or snake_case), as in the Render Options reference.
selectorstringCSS selector: render only this element.
urlstringPublic URL to render. Give url or html.
widthintegerViewport width in pixels.

urlbox_render_async Start a render

Start a render and return at once with renderId and statusUrl. Check it later with urlbox_get_render. Use this for slow pages. Each call uses one render on the Urlbox plan. Urlbox API: POST /v1/render/async.

ParameterTypeDescription
block_adsbooleanBlock ads while the page loads.
click_acceptbooleanClick the accept button on cookie banners.
formatstringOutput format. Default png. pdf, mp4, webm and md are separate renders.
full_pagebooleanRender the whole page, not only the viewport.
heightintegerViewport height in pixels.
hide_cookie_bannersbooleanHide cookie banners.
htmlstringHTML to render instead of a URL. Give url or html.
optionsobjectOther Urlbox render options by name (camelCase or snake_case), as in the Render Options reference.
selectorstringCSS selector: render only this element.
urlstringPublic URL to render. Give url or html.
widthintegerViewport width in pixels.

urlbox_get_render Get render status

Get the status of a render started with urlbox_render_async: created, retrying, succeeded, failed or not-found. A succeeded render has renderUrl and size. A failed render has reason. Urlbox API: GET /v1/render/:renderId.

ParameterTypeDescription
render_id *stringrenderId from urlbox_render_async. Treat it as an opaque string.