Back to Home
becksclair icon

rescreenshot-mcp

Verified Safe

by becksclair

Overview

Cross-platform screenshot capture for coding agents, enabling programmatic visual interaction with applications.

Installation

Run Command
./target/release/screenshot-mcp

Environment Variables

  • RUST_LOG
  • WAYLAND_DISPLAY
  • DISPLAY
  • SCREENSHOT_LIST_WINDOWS_TIMEOUT_MS
  • SCREENSHOT_X11_CAPTURE_TIMEOUT_MS
  • SCREENSHOT_WINDOWS_CAPTURE_TIMEOUT_MS
  • SCREENSHOT_WAYLAND_PORTAL_TIMEOUT_SECS
  • SCREENSHOT_PIPEWIRE_FRAME_TIMEOUT_SECS
  • XDG_STATE_HOME

Security Notes

The server demonstrates strong security practices for its context. Sensitive Wayland restore tokens are encrypted using ChaCha20-Poly1305 with HKDF-SHA256 and stored in a keyring or an encrypted file with appropriate permissions. Regex pattern matching includes size and DFA limits to prevent ReDoS attacks. All necessary unsafe blocks for OS interaction (Win32 API) include explicit comments and buffer handling. The project actively tracks and manages dependency vulnerabilities. Communication is strictly via stdio JSON-RPC, limiting network attack surface. Known inherent security limitations of the X11 protocol (no consent for capture) are clearly documented rather than introduced by the application.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens50000
Stars0
Forks0
Last Update2025-12-16

Tags

screenshotcross-platformMCPWaylandX11WindowsheadlessRustagent