
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
codex-mcp-screenshot
Advanced tools
A macOS-only Model Context Protocol (MCP) server and CLI that captures the front-most window of a named application. It supports inline previews in compatible terminals, optional clipboard copy, and an on-demand image payload for Codex clients.
Safari, Xcode)codex-mcp-screenshot) and CLI (codex-screenshot)npx usagescreencapture binary (built-in)npm install -g codex-mcp-screenshot # optional global install
# or invoke ad-hoc with npx (see below)
Update ~/.config/codex/config.toml:
[mcp_servers.screenshot]
command = "npx"
args = ["-y", "codex-mcp-screenshot@latest"]
Then in your Codex session call the tool:
screenshot_app {"app":"Safari","copyToClipboard":true}
The response includes:
content: text summary (path, clipboard status) and, when requested, an image attachmentmetadata: path, display preference, and whether the PNG was copiedTo avoid overflowing the model context, the server does not send base64 image data unless you opt in:
screenshot_app {"app":"Safari","includeImage":true}
Use this only when you really need the image streamed back to Codex.
npx codex-mcp-screenshot --app "Safari" --display inline --copy
# shorthand once installed globally
codex-screenshot --app "Xcode" --display path
CLI flags:
--app <name> (required): App name as shown in Activity Monitor / Dock--display <auto|inline|path|base64> (default auto)--copy: copy PNG data to the clipboard--out-dir <path>: custom destination foldersrc/shared/macos.js — window discovery + screenshot capture via AppleScript and screencapturesrc/shared/display.js — inline rendering helpers for supported terminalssrc/server.js — MCP entrypoint (also exposed as codex-mcp-screenshot bin)src/cli.js — CLI wrapper around the same capture pipelineMIT
FAQs
Codex MCP server and CLI for capturing macOS app screenshots
We found that codex-mcp-screenshot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.