Skip to content

Get Component Screenshots

Return persisted light and dark screenshot URLs. Missing screenshots are queued automatically. Existing clients may continue using the get_element_screenshot alias.

TOOLget_component_screenshot
{
  "mcpServers": {
    "frontendforever": {
      "command": "npx",
      "args": [
        "-y",
        "frontendforever-mcp"
      ],
      "env": {
        "MCP_API_KEY": "<your_api_key>"
      }
    }
  }
}

Authorization

X-API-Keystringheaderrequired

Parameters

idrequired
string
Component UUID
Request Preview
cURL
curl --request GET \
  --url 'https://frontendforever.com/api/mcp/components/%3Cid%3E/screenshots' \
  --header 'X-API-Key: <api-key>'

Example responses

Screenshots for Animated Gradient Button (<uuid>)
Light: /uploads/element-screenshots/<uuid>-light.png
Dark: /uploads/element-screenshots/<uuid>-dark.png