chasesaurabh/mcp-page-capture

๐Ÿ“‡ ๐Ÿ  - MCP server that captures webpage screenshots, with viewport or full-page options and base64 PNG output.

VERIFIED 2 toolsยทnpmยทv1.5.1

Install

npx -y mcp-page-capture

Capabilities

Server instructions

# MCP Page-Capture Server ## captureScreenshot Capture webpage screenshot with optional interactions. **Params:** url (required), steps (optional), headers (optional), validate (optional) **6 Steps (order auto-fixed, screenshot auto-added):** | Step | Key Params | Example | |------|------------|---------| | viewport | device | { "type": "viewport", "device": "mobile" } | | wait | for OR duration | { "type": "wait", "for": ".loaded" } or { "type": "wait", "duration": 2000 } | | fill | target, value | { "type": "fill", "target": "#email", "value": "a@b.com" } | | click | target, waitFor | { "type": "click", "target": "#btn", "waitFor": ".result" } | | scroll | to or y | { "type": "scroll", "to": "#footer" } | | screenshot | fullPage, element | { "type": "screenshot", "fullPage": true } | **Composite Patterns (expand automatically):** - login: { "type": "login", "email": { "selector": "#email", "value": "..." }, "password": { "selector": "#pass", "value": "..." }, "submit": "#btn", "successIndicator": ".dashboard" } - search: { "type": "search", "input": "#search", "query": "...", "resultsIndicator": ".results" } **Devices:** mobile, tablet, desktop, iphone-16-pro, pixel-9, galaxy-s24, ipad-pro **Error Recovery:** - ELEMENT_NOT_FOUND โ†’ Add { "type": "wait", "for": "<selector>" } BEFORE failing step - ELEMENT_NOT_VISIBLE โ†’ Add { "type": "scroll", "to": "<selector>" } BEFORE failing step ## extractDom Extract HTML/text/DOM structure. Use for text analysis or selector discovery. **Params:** url (required), selector (optional - scope extraction)