How to connect an AI agent to your CloudShots library on Mac
CloudShots Pro for Mac can run a local MCP server, so an AI agent can search, read and rename your screenshots. It is off until you switch it on, it listens only on this Mac, and every agent needs the access key. This guide switches it on and adds it to Claude Code, Codex and the ChatGPT desktop app.
Switch on the MCP server
- Open CloudShots on your Mac, then open Settings from the more menu of the panel.
- Go to “AI & Integrations” and find the “MCP” card.
- Switch on “Allow AI agents to use your library”. The status reads “Running on port 47819”.
- The card shows the “Address” and the “Access key” (masked), each with “Copy”. “Reset Key” makes a new key, and the old one stops working.
The address is http://cloudshots.local:47819/mcp. If Local Network access is denied for CloudShots, the card shows http://127.0.0.1:47819/mcp instead, and that address works too.
In the terminal: Claude Code and Codex
Copy the access key from the card and put it in place of YOUR_ACCESS_KEY.
Claude Code: run this once. “--scope user” makes CloudShots available in every project.
claude mcp add --transport http --scope user cloudshots \
http://cloudshots.local:47819/mcp \
--header "Authorization: Bearer YOUR_ACCESS_KEY"
Codex: save the key in your shell profile and add the server, then start Codex in a new terminal window.
echo 'export CLOUDSHOTS_MCP_KEY="YOUR_ACCESS_KEY"' >> ~/.zshrc
codex mcp add cloudshots --url http://cloudshots.local:47819/mcp \
--bearer-token-env-var CLOUDSHOTS_MCP_KEY
Codex and the ChatGPT Mac app share one settings file, so a server added in either one shows up in both.
To check, run “claude mcp list” or “codex mcp list”: CloudShots is listed. In a session, “/mcp” shows its tools.
Manually: ChatGPT desktop
Use this when you add the server yourself in the ChatGPT Mac app. First copy the address and the access key from the card.
- In the ChatGPT Mac app, open “Settings”, then “Plugins”.
- Click “Add”, then “Add MCP server”. The “Connect to a custom MCP” form opens.
- “Name”: CloudShots. “Type”: Streamable HTTP. “URL”: paste the address from the card.
- Under “Headers”, add the key “Authorization”. For the value, type “Bearer”, a space, then paste the access key.
- Leave “Bearer token env var” empty, then click “Save”.

- Start a chat and ask ChatGPT to search your CloudShots library, for example: “Find the screenshot of the March invoice in my CloudShots library.”
What an agent can do
- Search the library and read what CloudShots knows about a screenshot: its text, name, summary and tags, and the image itself.
- Rename screenshots, add and remove your tags, and mark screenshots as processed.
- Move screenshots to the Trash and restore them.
- Take a screenshot of a display, a window or a region. CloudShots needs Screen Recording permission, which the agent cannot request.
- Get the original file of a screenshot, unless it has redactions.
- Mark screenshots private. An agent cannot undo it.
- Restore the original picture of a screenshot, discarding your edits. Not for shared screenshots or ones with redactions.
- Copy the image or the text of a screenshot to the clipboard.
- Pin a screenshot to the screen, or unpin it.
What to know
- The server needs CloudShots Pro, runs only on a Mac, and only while CloudShots is running.
- It listens only on this Mac. Treat the access key like a password. After “Reset Key”, every agent needs the new key.
- Screenshots you mark private are never available to agents. An agent can move screenshots to Trash and restore them, but cannot delete them permanently.
- What an agent does with what it reads is governed by that agent and its provider, not by CloudShots.
More guides
- How to automatically sync screenshots between Mac, iPhone and iPadOne private screenshot history that syncs both ways through iCloud: Mac to iPhone and iPad, and back.
- How to find a screenshot by the text inside itSearch by the words you remember seeing, on any of your devices.
- How to free up the space your screenshots takeClear synced originals from Photos and your Mac without losing your history.
- CloudShots is an iCloud screenshot manager for Mac, iPhone and iPadWhat lives in your own iCloud, how the library limit works, and what stays private.
- Keyboard shortcuts on MacEvery CloudShots keyboard shortcut on Mac, from the capture keys that work anywhere to the panel, Quick Look and the editor, and how to change them in Settings.
- One screenshot history for your Mac, iPhone and iPadOne searchable history of every screenshot from your Mac, iPhone and iPad, synced through your own iCloud. Find any shot and free up storage.
- How to pin a screenshot on screen on MacKeep a screenshot floating above your other windows on Mac with ⌘P. Pin up to 6, move and resize them, close with Esc.
- How to redact or blur text and faces in a screenshot on MacBlur, pixelate or cover text, faces and objects in a screenshot on Mac. Redaction in CloudShots is non-destructive: your original stays untouched.
- How to add a background, padding and shadow to a screenshot on MacExport a Mac screenshot with a background, padding, rounded corners and a shadow using Export with Frame in CloudShots. Copy, save or share the result.
- CloudShots compared with a premium all-in-one capture suiteHow CloudShots compares with a premium, paid all-in-one capture and annotation suite for Mac: history, text search, redaction and pricing.
- CloudShots compared with a floating screenshot toolHow CloudShots compares with a floating, pin-on-screen screenshot tool with a quick library: history, text search, redaction and pricing.
- CloudShots compared with a fast capture and text-recognition utilityHow CloudShots compares with a fast, lightweight capture utility with on-screen text recognition: history, text search, redaction and pricing.
- All guides
TestFlight includes Pro for beta testing. No purchase is required or charged.