官方说明📇 🏠 - Capture website screenshots, tiling full pages into 1072x1072 chunks for Claude Vision, with configurable viewports and wait strategies for dynamic content.
配置模板(请按你的客户端调整)
claude mcp add mcp-screenshot-website-fast -- npx -y mcp-screenshot-website-fast
Fast, efficient screenshot capture of web pages - optimized for CLI coding tools. Automatically tiles full pages into 1072x1072 chunks for optimal processing. Overview Built specifically for AI vision workflows, this tool captures high-quality screenshots with automatic resolution limiting and tiling for optimal processing by Claude Vision API and other AI models. It ensures screenshots are perfectly sized at 1072x1072 pixels (1.15 megapixels) for maximum compatibility. Features - 📸 **Fast screenshot capture** using Puppeteer headless browser - 🎯 **Claude Vision optimized** with automatic resolution limiting (1072x1072 for optimal 1.15 megapixels) - 🔲 **Automatic tiling** - Full pages are automatically split into 1072x1072 tiles - 🎬 **Screencast capture** - Record series of screenshots over time with configurable intervals - 🔄 **Always fresh content** - No caching ensures up-to-date screenshots - 📱 **Configurable viewports** for responsive testing - ⏱️ **Wait strategies** for dynamic content (networkidle, custom delays) - 📄 **Full page capture** by default for complete page screenshots - 🎥 **Animated WebP export** - Save screencasts as high-quality animated WebP files - 💉 **JavaScript injection** - Execute custom JS before screencast capture - 📦 **Minimal dependencies** for fast npm installs - 🔌 **MCP integration** for seamless AI workflows - 🪟 **Windows-compatible launcher** for npm-installed MCP usage - 🔋 **Resource efficient** - Automatic browser cleanup after 60 seconds of inactivity - 🧹 **Memory management** - Pages are closed after each screenshot to prevent leaks Installation Claude Code VS Code Cursor JetBrains IDEs Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add Choose "As JSON" and paste: Raw JSON (works in any MCP client) Drop this into your client's mcp.json (e.g. .vscode/mcp.json, ~/.cursor/mcp.json, or .mcp.json for Claude). Prerequisites - Node.js 20.x or higher - npm or npx - Chrome/Chromium (automatically downloaded by Puppeteer) Quick Start MCP Server Usage Once installed in your IDE, the following tools are available: Available Tools - take_screenshot - Captures a high-quality screenshot of a webpage - Parameters: - url (required): The HTTP/HTTPS URL to capture - width (optional): Viewport width in pixels (max 1072, default: 1072) - height (optional): Viewport height in pixels (max 1072, default: 1072) - fullPage (optional): Capture full page screenshot with tiling (default: true) - waitUntil (optional): Wait until event: load, domcontentloaded, networkidle0, networkidle2 (default: domcontentloaded) - waitFor (optional): Additional wait time in milliseconds - directory (optional): Directory to save screenshots - returns file paths instead of base64 images - capture_selector - Captures a screenshot of a specific DOM element matched by a CSS selector - Parameters: - url (required): The HTTP/HTTPS URL to capture - selector (required): CSS selector for the element to capture - width (optional): Viewport width in pixels (max 1072, default: 1072) - height (optional): Viewport height in pixels (max 1072, default: 1072) - waitUntil (optional): Wait until event: load, domcontentloaded, networkidle0, networkidle2 (default: domcontentloaded) - waitForMS (optional): Additional wait time in milliseconds - selectorTimeoutMS (optional): How long to wait for the selector to appear before failing (default: 5000)