Back to MCP Directory
Webpage Screenshot
Model Context Protocol moderate risk

Webpage Screenshot

This MCP captures webpage screenshots, allowing AI agents to visually verify web applications, offering customizable options and authentication support.

Connections & Capabilities

Connects To

GitHubPuppeteer

Capabilities

readwriteexec

Quickstart

Install

npm install

npm

Exposed MCP Tools (4)

moderate
login-and-wait

Opens a webpage in a visible browser for manual login and saves cookies.

Requires manual user interaction and saves cookies, potentially exposing credentials.

safe
screenshot-page

Captures a screenshot of a given URL and returns it as a base64 encoded image.

Read-only operation that captures the visual representation of a webpage.

safe
screenshot-element

Captures a screenshot of a specific element on a webpage using a CSS selector.

Read-only operation that captures a specific element of a webpage.

moderate
clear-auth-cookies

Clears saved authentication cookies for a specific domain or all domains.

Modifies stored cookies, potentially disrupting user sessions.

Safety Assessment

This MCP is relatively safe for read operations like taking screenshots. However, the `login-and-wait` tool and cookie management features introduce moderate risks, especially if not handled with caution. It is crucial to sanitize URLs and selectors to prevent unintended information exposure.

  • Requires explicit URL and parameters for screenshot capture.
  • Offers options for controlling browser visibility and authentication.
  • Provides a clear-auth-cookies tool for managing session data.
  • Default browser mode allows leveraging existing browser security settings.
  • Can potentially expose sensitive information if URLs or selectors are not carefully managed.
  • Relies on external websites, which could introduce unpredictable behavior.
  • Cookie persistence could lead to unauthorized access if not properly secured.
  • The `login-and-wait` tool requires manual user interaction, which can be a security concern.