For AI agents: a documentation index is available at /llms.txt
Skip to main content

Take a screenshot

Capture any webpage as a PNG or JPEG using Browserless.

Prerequisites

Steps​

Use the Browserless MCP server to take a screenshot from any MCP-compatible AI agent (Claude Desktop, Cursor, Windsurf, ChatGPT, etc.).

One prompt that installs the Browserless MCP server and runs this example. Paste it into your AI agent.

1. Connect the MCP server

Send this prompt to your AI agent to install the Browserless MCP server:

Go to https://github.com/browserless/browserless-mcp/blob/main/install.md
and follow the instructions to install the Browserless MCP server
for my client.

2. Take a screenshot

Use browserless_smartscraper. It captures the page in one call with automatic bot-protection handling.

Use the browserless_smartscraper tool to take a full-page
screenshot of https://scraping-sandbox.netlify.app/receipt and save it as screenshot.png

Next steps​

Was this page helpful?