Back to Home
FrontMage icon

screenshot_mcp

Verified Safe

by FrontMage

Overview

This server provides screenshot and screen recording capabilities for macOS, acting as a tool for a Model Context Protocol (MCP) agent.

Installation

Run Command
node server.js

Environment 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

Stats

Interest Score0
Security Score7
Cost ClassLow
Stars0
Forks0
Last Update2026-01-19

Tags

macOSscreenshotscreen recordingCLIMCP