Puppeteer MCP Server

puppeteer_screenshot

Take a screenshot of the current page or a specific element

Input Schema

NameRequiredDescriptionDefault
heightNoHeight in pixels (default: 600)
nameYesName for the screenshot
selectorNoCSS selector for element to screenshot
widthNoWidth in pixels (default: 800)

Input Schema (JSON Schema)

{ "properties": { "height": { "description": "Height in pixels (default: 600)", "type": "number" }, "name": { "description": "Name for the screenshot", "type": "string" }, "selector": { "description": "CSS selector for element to screenshot", "type": "string" }, "width": { "description": "Width in pixels (default: 800)", "type": "number" } }, "required": [ "name" ], "type": "object" }