Screenshot MCP (macOS)
Provides tools for capturing screenshots of displays and windows, recording window activity, and listing available displays and windows on macOS systems.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Screenshot MCP (macOS)take a screenshot of my main display"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Screenshot MCP (macOS)
Minimal MCP server for macOS screenshots with a Swift CLI backend. Supports:
display screenshots
window screenshots
window recording (duration or start/stop)
listing displays/windows
Requirements
macOS 12+ (CoreGraphics APIs)
Swift (Xcode CLI tools)
Node.js 18+
Screen Recording permission granted to the terminal or host app
Related MCP server: AutoMac MCP
Quickstart
npm install
swift build
node server.jsSwiftUI UI (no Xcode)
swift build
swift run screenshot_mcp_appDebug logs
The SwiftUI app writes logs to ~/Documents/screenshot_mcp/debug.log by default.
MCP Tools
list_displayslist_windowsscreenshot_display{ display_id, output_path? }screenshot_window{ window_id, output_path? }record_window_duration{ window_id, duration_seconds, fps?, system_audio?, output_path? }record_window_start{ window_id, fps?, system_audio?, output_path? }record_window_stop{ recording_id }
CLI Usage
swift run screenshot_mcp list-displays
swift run screenshot_mcp list-windows
swift run screenshot_mcp screenshot-display <display_id> ./captures/display.png
swift run screenshot_mcp screenshot-window <window_id> ./captures/window.png
swift run screenshot_mcp record-window-duration <window_id> ./captures/window.mp4 5 10 true
swift run screenshot_mcp record-window-start <window_id> ./captures/window.mp4 10 true
# stop with Ctrl+C or SIGINTConfiguration
SCREENSHOT_MCP_BIN: path to the compiled Swift binarySCREENSHOT_MCP_OUTPUT_DIR: default output directory for screenshots
Notes
The Swift CLI uses
CGDisplayCreateImageandCGWindowListCreateImage.Window recording samples window frames (default 10 fps) and writes MP4 via
AVAssetWriter.System audio capture requires macOS 13+ and records all system audio, not just the window.
If screenshots are blank, ensure Screen Recording permission is granted.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceA privacy-first macOS MCP server that enables AI agents to capture screenshots of pre-approved application windows for development and debugging tasks.14MIT
- Alicense-qualityFmaintenanceAn experimental MCP server providing full control over the macOS user interface through mouse, keyboard, and window management tools. It enables AI assistants to automate desktop tasks by utilizing native accessibility APIs and OCR for real-time screen comprehension.7Creative Commons Zero v1.0 Universal
- Alicense-qualityCmaintenanceStandalone MCP server that gives AI agents full GUI control over macOS — screenshots, mouse, keyboard, apps, clipboard, and multi-display — with zero private dependencies.18MIT
- Alicense-qualityDmaintenanceAn MCP server that enables AI coding agents to capture screenshots of macOS windows and displays on demand, providing tools for window discovery and screen capture.122MIT
Related MCP Connectors
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
MCP server for Grok Imagine AI video generation
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/FrontMage/screenshot_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server