Skip to main content
Glama

Vite MCP Server

by ESnark

capture-screenshot

Capture a screenshot of a webpage or specific element, store it in the MCP resource system, and return a resource URI. Optionally include a base64 encoded image in the response.

Instructions

Captures a screenshot of the current page or a specific element. Stores the screenshot in the MCP resource system and returns a resource URI. If ENABLE_BASE64 environment variable is set to 'true', also includes base64 encoded image in the response.

Input Schema

NameRequiredDescriptionDefault
selectorNoCSS selector to capture (captures full page if not provided)
urlNoURL to navigate to before capturing screenshot. Do not provide if you want to capture the current page.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "selector": { "description": "CSS selector to capture (captures full page if not provided)", "type": "string" }, "url": { "description": "URL to navigate to before capturing screenshot. Do not provide if you want to capture the current page.", "type": "string" } }, "type": "object" }

Other Tools from Vite 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/ESnark/blowback'

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