📸 ScreenshotsMCP

screenshot_dark

Capture a screenshot with dark mode (prefers-color-scheme dark) emulated.

Parameters

ParameterTypeRequiredDefaultDescription
urlstringYesThe URL to screenshot
widthnumberNo1280Viewport width (320–3840)
heightnumberNo800Viewport height (240–2160)
fullPagebooleanNofalseCapture full scrollable page
formatstringNo"png"png, jpeg, or webp

Example

Take a dark mode screenshot of https://github.com

Notes

  • Emulates prefers-color-scheme: dark CSS media query
  • Works on any site that supports dark mode via CSS media queries
  • Compare with a regular screenshot to verify dark mode implementation

On this page