Back to Home
Digital-Defiance icon

mcp-screenshot

Verified Safe

by Digital-Defiance

Overview

Provides cross-platform screenshot capabilities for AI agents, including full screen, window, and region capture, with built-in PII masking and security controls.

Installation

Run Command
npx -y @ai-capabilities-suite/mcp-screenshot

Environment Variables

  • NODE_ENV
  • TESSDATA_PREFIX
  • DISPLAY
  • ENABLE_VNC

Security Notes

The server uses `child_process.exec` to run platform-specific commands (e.g., `screencapture` on macOS, `import`/`grim` on Linux, `powershell.exe` on Windows/WSL) for screen and window capture. While necessary for its functionality, direct execution of external commands introduces an inherent risk of command injection if input is not meticulously sanitized. The `SecurityManager` implements robust path validation to prevent unauthorized file access and path traversal for save operations, and it includes rate limiting. The PowerShell scripts for Windows/WSL engines attempt to escape special characters, mitigating some injection vectors. Docker deployment includes `no-new-privileges` and non-root execution, which are good practices. However, the conditional `ENABLE_VNC` flag exposes port 5900, which can be a network risk if enabled in production. Overall, while conscious security efforts are made, the reliance on external command execution for core functionality means a moderate inherent risk.

Similar Servers

Stats

Interest Score30
Security Score7
Cost ClassMedium
Avg Tokens300
Stars2
Forks0
Last Update2026-01-07

Tags

screenshotscreen-capturepii-maskingsecuritycross-platform