Skip to main content
Glama

Webpage Screenshot MCP Server

screenshot-page

Capture and encode screenshots of web pages as base64 images using specified dimensions, formats, and load conditions. Includes options for authentication via saved cookies and browser visibility.

Instructions

Captures a screenshot of a given URL and returns it as base64 encoded image. Can use saved cookies from login-and-wait.

Input Schema

NameRequiredDescriptionDefault
delayNoAdditional delay in milliseconds to wait after page load
formatNoImage format for the screenshotpng
fullPageNoWhether to capture the full page or just the viewport
heightNoViewport height in pixels
qualityNoQuality of the image (0-100), only applicable for jpeg and webp
reuseAuthPageNoWhether to use the existing authenticated page instead of creating a new one
urlYesThe URL of the webpage to screenshot
useDefaultBrowserNoWhether to use the system's default browser instead of Puppeteer's bundled Chromium
useSavedAuthNoWhether to use saved cookies from previous login
visibleBrowserNoWhether to show the browser window (non-headless mode)
waitForNoWhen to consider the page loadednetworkidle2
widthNoViewport width in pixels

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "delay": { "default": 0, "description": "Additional delay in milliseconds to wait after page load", "type": "number" }, "format": { "default": "png", "description": "Image format for the screenshot", "enum": [ "png", "jpeg", "webp" ], "type": "string" }, "fullPage": { "default": true, "description": "Whether to capture the full page or just the viewport", "type": "boolean" }, "height": { "default": 1080, "description": "Viewport height in pixels", "type": "number" }, "quality": { "description": "Quality of the image (0-100), only applicable for jpeg and webp", "maximum": 100, "minimum": 0, "type": "number" }, "reuseAuthPage": { "default": false, "description": "Whether to use the existing authenticated page instead of creating a new one", "type": "boolean" }, "url": { "description": "The URL of the webpage to screenshot", "format": "uri", "type": "string" }, "useDefaultBrowser": { "default": false, "description": "Whether to use the system's default browser instead of Puppeteer's bundled Chromium", "type": "boolean" }, "useSavedAuth": { "default": true, "description": "Whether to use saved cookies from previous login", "type": "boolean" }, "visibleBrowser": { "default": false, "description": "Whether to show the browser window (non-headless mode)", "type": "boolean" }, "waitFor": { "default": "networkidle2", "description": "When to consider the page loaded", "enum": [ "load", "domcontentloaded", "networkidle0", "networkidle2" ], "type": "string" }, "width": { "default": 1920, "description": "Viewport width in pixels", "type": "number" } }, "required": [ "url" ], "type": "object" }
Install Server

Other Tools from Webpage Screenshot MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/ananddtyagi/webpage-screenshot-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server