Skip to main content
Glama
cloudshots-mcp

cloudshots-mcp

CloudShots for Claude

The Claude plugin for CloudShots, a screenshot manager for Mac, iPhone and iPad. CloudShots captures screenshots, makes the text inside them searchable and syncs the library through your own iCloud.

This plugin connects Claude to your CloudShots library on your Mac. Claude can search by text and tags, read a screenshot's recognized text and see the image, rename, tag and mark screenshots, move them to Trash and back, pin one to the screen, and capture a new screenshot into the library.

CloudShots on a Mac: the history panel searches "budget" and the open screenshot shows its recognized text and tags

Requirements

  • CloudShots for Mac (download) with an active Pro subscription.

  • In CloudShots for Mac, Settings > AI & integrations: turn on "Allow AI agents to use your library".

  • Node.js installed on the Mac (the plugin runs one small script with node).

Related MCP server: Screen View MCP

Install

/plugin marketplace add romacv/cloudshots-plugin
/plugin install cloudshots@cloudshots

Claude asks for the access key when you enable the plugin.

Where to copy the access key

Open CloudShots for Mac > Settings > AI & integrations. On the MCP server card choose Copy Access Key and paste it when Claude asks. The key is stored in your system's secure credential store. Reset Key on the same card makes a new key and invalidates the old one.

Other MCP clients

The same server is the npm package cloudshots-mcp. Add it to any MCP client that starts stdio servers, with the access key in CLOUDSHOTS_ACCESS_KEY:

{
  "mcpServers": {
    "cloudshots": {
      "command": "npx",
      "args": ["-y", "cloudshots-mcp"],
      "env": { "CLOUDSHOTS_ACCESS_KEY": "<your access key>" }
    }
  }
}

Most clients keep this file in plain text, so the key is readable by anything that can read the file.

Tools

Tool

What it does

search_screenshots

Search the library by text and tags.

list_screenshots

Page through the library.

get_screenshot

Details and recognized text of one screenshot.

get_screenshot_image

The image of one screenshot.

rename_screenshot

Set the name.

move_to_trash

Move to Trash.

restore_from_trash

Restore from Trash.

list_tags

Your tags with the number of screenshots holding each.

update_tags

Add and remove tags on up to 200 screenshots.

mark_processed

Set or clear the processed marker on up to 200 screenshots.

take_screenshot

Capture a display, a window or a region into the library.

get_original_file

The original file as captured, with its path.

mark_private

Mark up to 200 screenshots private (one-way).

restore_original

Discard your edits to one screenshot.

copy_to_clipboard

Put one screenshot's image or text on the clipboard.

pin_to_screen

Pin one screenshot to the screen, or unpin it.

Nothing is deleted permanently: the most any tool does is move a screenshot to Trash. Private screenshots are never returned.

Example prompts

  • "Find the screenshots from last week that show an error message and tag them bug."

  • "List my tags and tell me which ones are used only once."

  • "Take a screenshot of the Safari window and rename it to 'pricing page'."

  • "Show me the screenshot with the flight confirmation and copy its text."

  • "Move every screenshot tagged temp to Trash."

How it works

The plugin is a small script, server.js, that Claude starts with node. It reads one JSON-RPC message per line from Claude, sends each one to the CloudShots server that runs inside the Mac app at http://cloudshots.local:47819/mcp, and writes the answer back. The name is used only when it resolves to a loopback address on this Mac; if it does not resolve, or resolves to anything else, the script uses http://127.0.0.1:47819/mcp instead, so the access key is never sent to another machine. The server listens on the loopback interface only. A request that gets no answer within two minutes fails with an error instead of hanging. While CloudShots cannot be reached, the script answers the handshake and the tool list itself from tools.json, a copy of the app's tool list, so Claude still connects and each tool call reports that CloudShots is not running. Every request carries your access key as a bearer token. The script has no dependencies and no other network use.

Privacy Policy

The plugin sends nothing off your Mac. Requests go only to the loopback address of this computer (127.0.0.1, or cloudshots.local when it resolves there), where the CloudShots app listens. The plugin collects no data, keeps no logs of your library and has no analytics. What Claude does with results it receives is governed by your Claude plan. The CloudShots privacy policy is at https://cloudshots.app/privacy.

Troubleshooting

  • "CloudShots is not running, or 'Allow AI agents to use your library' is off, or Pro is not active": open CloudShots for Mac, check that Pro is active and that the switch in Settings > AI & integrations is on, then try again.

  • "The CloudShots access key is wrong": copy the key again from the MCP server card and update the plugin's access key (/plugin, then the plugin's settings). If you used Reset Key, the old key no longer works.

  • Taking a screenshot fails: allow Screen Recording for CloudShots in System Settings > Privacy & Security.

  • node not found: install Node.js and restart Claude.

Support and terms

Documentation: https://cloudshots.app/connect-ai-agents-mac. Support: https://cloudshots.app/support. Terms: https://cloudshots.app/terms.

License

MIT, see LICENSE.

Available Tools

16 tools
copy_to_clipboardCopy to the clipboardA

Puts a screenshot on the user's clipboard, replacing what it held. what "image" copies the picture the way Copy Image does, with annotations and redactions applied; "text" copies the recognized text and is refused when the screenshot has redactions. Use it only when the user asked for something to be copied.

Inputs: id (required), what (required).

get_original_fileGet the original fileA

Returns the stored original file of a screenshot, never a preview or an edited copy: normally the file as captured or imported, with no annotations, crop or background the user applied. The exception is a screenshot that is or was shared, whose annotations are baked into this file when it is shared. The bytes come as an embedded resource with the file's MIME type, and the text part gives the file's path and filename on this Mac. Use it when you need the exact pixels or the file itself; use get_screenshot_image just to look at a screenshot. Screenshots with redactions are refused, since the file holds the pixels the user hid. A file too large to embed (over 8 MB) comes back as path and filename only, with a note. If the original is not on this Mac it is downloaded first; if that fails the call fails.

Inputs: id (required).

get_screenshotGet screenshot detailsA

Everything CloudShots knows about one screenshot as JSON: capture date, pixel size, source device, AI-generated name and summary, category, scene tags (sceneTags), the user's own tags (tags), when it was marked processed (processedAt), the recognized text, detected data (links, codes, emails, phone numbers, dates), barcode and QR payloads, and whether it is in the Trash. When the user hid part of the screenshot with a redaction, the text, name, summary and scene tags are withheld and "hasRedactions" is true.

Inputs: id (required).

get_screenshot_imageGet screenshot imageA

Returns the screenshot itself as an image so you can look at it, including any annotations the user drew. Redacted areas are blacked out. The image is scaled down so its longer side is at most max_dimension pixels (default 2048); pass 0 for the original size. If the full-size file is not on this Mac and cannot be fetched, a smaller preview is returned and a text note says so. Screenshots whose redactions cannot be applied are refused.

Inputs: id (required), max_dimension.

list_screenshotsList recent screenshotsA

List screenshots newest first, optionally only those taken at or after a date. Use it to walk the library in order or to see what arrived since the last time you looked: remember the createdAt of the newest row you handled and pass it as since next time. Rows have the same shape as in search_screenshots. Trashed and private screenshots are never returned.

Inputs: limit, since, offset.

list_tagsList the user's tagsA

Lists the tags the user has put on screenshots, each with the number of screenshots that carry it, most used first. Tags that differ only in letter case are one tag. Use it to reuse the user's existing names before inventing new ones. Trashed and private screenshots are not counted.

Inputs: no named parameters.

mark_privateMark screenshots privateA

Marks up to 200 screenshots private, the same as the user's Mark as Private. A private screenshot is hidden from the library, synced as private, and from then on refused by every tool here, so an agent cannot undo this or see the screenshot again; only the user can make it visible. The result has one entry per id with an error when that screenshot was left unchanged: not_found (also for a screenshot that is already private) or failed (retry).

Inputs: ids (required).

mark_processedMark screenshots processedA

Marks up to 200 screenshots as processed, or clears the mark with processed=false, so an agent can tell what it has already handled: search_screenshots with processed=false returns what is left. The mark syncs to the user's other devices and shows as processedAt in every row. The result has one entry per id with its processedAt and an error when that screenshot was left unchanged, as in update_tags.

Inputs: ids (required), processed.

move_to_trashMove screenshots to TrashA

Moves screenshots to the CloudShots Trash. This is recoverable: the user can restore them from the Trash, and restore_from_trash undoes it. Nothing is deleted permanently. Only move screenshots you were asked to remove. The result lists which ids moved and why any did not.

Inputs: ids (required).

pin_to_screenPin a screenshot to the screenA

Pins a screenshot in a floating window above the user's other windows, the same as Pin to Screen in CloudShots, or closes that window with pinned=false. The user sees it on their screen at once, so pin only what they asked to keep in view.

Inputs: id (required), pinned.

rename_screenshotRename a screenshotA

Gives a screenshot a new name, the same as the user renaming it in CloudShots. The name replaces the AI-generated one and syncs to the user's other devices. Pick a short, descriptive title of what the screenshot shows, without a file extension.

Inputs: id (required), name (required).

restore_from_trashRestore screenshots from TrashA

Puts screenshots that are in the CloudShots Trash back into the library. Only ids that are currently in the Trash are restored; the result lists which ids were restored and why any were not.

Inputs: ids (required).

restore_originalRestore the original pictureA

Discards the user's edits to one screenshot (annotations, crop, background) and puts back the picture as captured, the same as Restore Original in CloudShots. This cannot be undone from here. It is refused when there is nothing to restore, when the screenshot has redactions (restoring would remove them), and when it is shared, since restoring stops sharing.

Inputs: id (required).

search_screenshotsSearch screenshotsA

Find screenshots in the user's CloudShots library by what is on them. Matches recognized text, AI-generated names and summaries, and tags (the user's own and the scene tags). The query also understands date words such as "yesterday" or "last week", so "receipt last week" works. Results are newest first. Every row has id, createdAt (ISO 8601), name, category, source, a short summary, the user's tags and processedAt (null until mark_processed); call get_screenshot for the full text of one row or get_screenshot_image to look at the picture. Omit the query to filter only by category, source or dates. Trashed and private screenshots are never returned.

Inputs: tags, limit, query, since, +5 more.

take_screenshotTake a screenshot of the screenA

Captures this Mac's screen into the user's CloudShots library, the same way the user's capture shortcut does: it syncs, gets a name, recognized text and tags, and honors the user's save-a-copy setting. mode "display" captures a whole display (display 0 is the main display, 1 and up are the others, left to right); "window" captures the frontmost on-screen window whose app name contains 'app' and whose title contains 'window_title' (case-insensitive; pass at least one); "region" captures the rectangle x, y, width, height in points in global screen coordinates with the origin at the top-left of the main display. delay waits 0 to 10 seconds first, for example to open a menu. Needs CloudShots to have Screen Recording permission: it never asks for it, so when it is missing the call fails and the user must grant it in System Settings > Privacy & Security. The result has the new id and the same JSON as get_screenshot; the name, recognized text and tags are generated a moment later, so call get_screenshot again for them. duplicate is true when the screen matched a screenshot already in the library, whose id is returned instead.

Inputs: mode (required), x, y, app, +5 more.

update_tagsAdd or remove tagsA

Adds and removes the user's own tags on up to 200 screenshots in one call, the same tags the user sets in CloudShots; they sync to the user's other devices and can be searched with search_screenshots. Removals apply first, then additions. A tag is 1 to 40 characters, capitalization is ignored when comparing, and a screenshot holds at most 32. The result has one entry per id with the tags it holds afterwards, and an error when that screenshot was left unchanged: not_found (also for private or locked screenshots), shared (a screenshot shared with or by someone cannot be tagged), newer_format (tagged by a newer CloudShots version than this one reads), limit (it would pass 32 tags), or failed (the library could not be written; retry).

Inputs: ids (required), add, remove.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 16 tools

    Disambiguation5/5

    Each tool targets a distinct action on the screenshot library, and the trickiest cluster (get_screenshot, get_screenshot_image, get_original_file) is explicitly separated by purpose (metadata JSON vs. rendered view vs. exact file bytes) with guidance on when to use each. search_screenshots vs. list_screenshots and restore_from_trash vs. restore_original are also clearly differentiated in their descriptions (content search vs. ordered walk; trash vs. original edits).

    Naming Consistency5/5

    All 16 tools follow a strict verb_noun snake_case pattern (list_screenshots, get_screenshot_image, move_to_trash, mark_processed, take_screenshot). The verb choice is meaningful and consistent: list/search/get for reads, update/mark/rename for mutations, restore/move for lifecycle changes.

    Tool Count4/5

    16 tools is slightly above the ideal 3-15 band but the scope is broad (capture, retrieve, organize, tag, trash/privacy, clipboard/pin), and each tool earns its place without obvious redundancy. It is at the edge of feeling heavy rather than genuinely bloated.

    Completeness4/5

    The surface covers the full lifecycle: capture, search/list, metadata and image retrieval, rename, tag management, processed marking, trash/restore, privacy, and clipboard/pin actions. Minor gaps remain: sharing is referenced in errors and behavior (shared screenshots resist tagging/restoring) but there is no share/unshare tool, and there is no category/source editing or permanent deletion.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers