capture-screenshot
Take screenshots of a web page or specific elements using CSS selectors. Integrates with Vite Dev Server to support MCP Clients lacking image content type support. Perfect for real-time development updates.
Instructions
Captures a screenshot of the current page or a specific element. This feature is for MCP Clients that do not support MCP Resource and image content type. If the image is successfully saved, you should request the user to provide the image.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
projectRoot | Yes | Root directory path of the development project | |
selector | No | CSS selector to capture (captures full page if not provided) | |
url | No | URL to navigate to before capturing screenshot |