screenshot_mcp
Verified Safeby FrontMage
Overview
This server provides screenshot and screen recording capabilities for macOS, acting as a tool for a Model Context Protocol (MCP) agent.
Installation
node server.jsEnvironment Variables
- SCREENSHOT_MCP_BIN
- SCREENSHOT_MCP_OUTPUT_DIR
Security Notes
The server uses `execFile` and `spawn` to run a Swift CLI for its core functionality. While numeric arguments are sanitized, the `output_path` argument can be fully controlled by the caller. This means a user could specify an absolute path (e.g., `/Users/user/some_file.png` or `/etc/passwd`) as the output destination. If the server process has write permissions to that location, it could overwrite arbitrary files, leading to data loss or denial of service. The server does not expose a network interface directly, communicating over stdin/stdout via MCP, which reduces external attack surface. It relies on macOS's built-in Screen Recording permissions.
Similar Servers
XcodeBuildMCP
Provides an MCP (Model Context Protocol) server for AI agents and other clients to programmatically build, test, run, and debug iOS and macOS applications, manage simulators/devices, and capture logs.
Peekaboo
macOS automation server that integrates AI for screen capture analysis, UI interaction, and agentic workflows.
mcp-interviewer
A Python CLI tool to evaluate Model Context Protocol (MCP) servers for agentic use-cases, by inspecting capabilities, running functional tests, and providing LLM-as-a-judge evaluations.
context-engineering
Provides a Model Context Protocol (MCP) server that enables AI agents to control a web browser using Selenium for web automation tasks.