OpenScreenShot is a privacy-first, free and open-source screenshot extension and toolset whose mcp directory provides a local CLI and MCP server for capturing web page screenshots from the terminal, CI pipelines, or AI agents.
Uses:
- Capture full-page web page screenshots from the command line.
- Automate screenshots in CI/CD for release notes, documentation, or visual review.
- Capture dashboards and status pages from cron or chat commands in DevOps scenarios for incident reports and runbooks.
- Let AI agents view the pages they have just built or modified.
Key capabilities:
- Local mode runs by default, driving the locally installed Chrome, Chromium, or Microsoft Edge, with no account or API key required, no telemetry data sent, and no calls to OpenScreenShot servers.
- Supports full-page PNG screenshots; local output is always PNG, and renaming the file to .jpg or .pdf does not convert the format.
- Provides an MCP server that communicates with MCP clients over stdio; the tool is named capture_screenshot, returns PNG image content (image/png), and does not write files.
- Supports redaction: before taking a screenshot, black boxes can cover specified selectors, matching patterns (emails, phone numbers, common API key/token shapes, long hashes), or rectangular regions; unredacted pixels never enter the PNG.
- Optional OpenScreenShot Cloud hosted screenshot API requires no locally installed Chrome and supports png, jpeg, webp, pdf, html, and markdown formats; the free plan offers 100 screenshots per month with no credit card required, and failed screenshots are free.
- Provides a remote MCP endpoint (Streamable HTTP) for clients that only accept remote MCP URLs.
Usage:
- Requires Node.js 22.12 or later, plus Google Chrome, Chromium, or Microsoft Edge. The package does not bundle a browser.
- Install globally to use the openscreenshot command; in CI, project-local installation is recommended (npm i -D openscreenshot).
- With no arguments and stdin being a pipe, it starts the MCP server; openscreenshot serve has the same effect.
- MCP client configuration uses the mcpServers object (e.g., Claude Desktop, Cursor, Windsurf, etc.); after saving, restart or reload the client, and the client must be able to find npx (or pnpm, bunx) in PATH.
- Local screenshot example: openscreenshot shot <url> opens headless Chrome, loads the page, saves a full-page PNG, and closes the browser.
- Redaction is configured through redact's three optional lists (selectors, patterns, rectangles).
- Cloud mode uses --cloud and --format to specify the format; the authentication command openscreenshot auth login prints a code and opens the device authorization page in the browser, and the CLI stores the API key in ~/.openscreenshot.json.
- API key lookup order: the --key argument, the OPENSCREENSHOT_API_KEY environment variable, the key stored by auth login.
- Base URL lookup order: --cloud <url>, OPENSCREENSHOT_CLOUD_URL,https://cloud.openscreenshot.app。
Use cases:
- Screenshots after CI/CD deployments for release notes, documentation, or visual review.
- DevOps scheduled or chat-command captures of dashboards and status pages.
- AI agents viewing pages.
- Local screenshots that require privacy protection.
Limitations:
- Each screenshot launches a fresh headless browser with an empty profile, so the user's cookies or logged-in sessions are not visible, and pages behind login will show the login screen.
- It does not click, type, wait for selectors, or set cookies; navigation waits for network idle (networkidle2), up to 30 seconds.
- A narrow viewport only changes the layout width; the CLI keeps a desktop user agent and does not emulate mobile touch input or pixel ratio.
- Exit code 0 only means the file was saved; it does not prove the page loaded correctly.
- Redaction mode may miss text split across elements, text drawn in canvases or images, or may cover text that only appears to match.
- A selector that matches no element or invalid CSS will cause the screenshot to fail; a rectangle entirely outside the image will also fail.
- During redaction, if the target moves outside the black box, the screenshot fails, no file is written, and no image is returned.
- The headless browser runs with --no-sandbox, so only trusted URLs should be captured.
- Local mode has no additional wait option; the page may continue rendering after network idle, resulting in blank or partially loaded images.
- For logged-in pages, annotations, or PDF export, use the Chrome and Firefox browser extensions.
- In Cloud mode, the URL and options are sent to OpenScreenShot Cloud, and the page is rendered on Cloud servers.
- In MCP mode, the client receives the image; if the client uses a hosted model, the image may be sent to the model provider, so using redact to cover data before the image leaves the tool is recommended.
Pricing information: Local mode is free and open source; the Cloud free plan includes 100 screenshots per month, no credit card required, failed screenshots are free, and paid plans are detailed on the pricing page.