loading…
Search for a command to run...
loading…
A macOS-based MCP server that allows for capturing screenshots of displays and windows, as well as recording window activity to MP4 files. It leverages a Swift
A macOS-based MCP server that allows for capturing screenshots of displays and windows, as well as recording window activity to MP4 files. It leverages a Swift CLI backend to interact with macOS CoreGraphics and AVFoundation APIs for seamless screen capture management.
Minimal MCP server for macOS screenshots with a Swift CLI backend. Supports:
npm install
swift build
node server.js
swift build
swift run screenshot_mcp_app
The SwiftUI app writes logs to ~/Documents/screenshot_mcp/debug.log by default.
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 }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 SIGINT
SCREENSHOT_MCP_BIN: path to the compiled Swift binarySCREENSHOT_MCP_OUTPUT_DIR: default output directory for screenshotsCGDisplayCreateImage and CGWindowListCreateImage.AVAssetWriter.MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"screenshot-mcp-macos": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.