@instacodeio/icloud-drive-mcp-server
MCP server for iCloud Drive on macOS — Spotlight search, Finder tags, .icloud placeholder handling, and safe Trash-based deletion.
Versions
0.1.4latest0.1.30.1.20.1.10.1.0Tools 9
list_folder List entries in a folder under the iCloud root. Shows name, type, size, mtime, and whether each entry is a not-yet-downloaded .icloud placeholder.
read_file Read a file's contents. If it is a .icloud placeholder, triggers `brctl download` and waits for materialization (up to 30s by default).
write_file Create or overwrite a file inside the iCloud root. Requires overwrite=true to replace an existing file. Requires ICLOUD_MCP_WRITE=true.
delete_file Move a file or folder to the macOS Trash (never permanent unlink). Requires ICLOUD_MCP_WRITE=true.
download_placeholder Trigger `brctl download` for a .icloud placeholder file and wait for it to materialize, without reading its contents.
search_files Full-text + filename search via `mdfind`, scoped to ICLOUD_MCP_ROOT (or a sub-scope). Pass raw=true to use a structured Spotlight query string.
recent_files Files modified in the last N days (default 7), sorted by mtime descending. Uses Spotlight's content-change-date predicate.
get_tags Read macOS Finder tags from a file or folder.
set_tags Replace the macOS Finder tag set on a file or folder. Pass an empty array to clear all tags. Requires ICLOUD_MCP_WRITE=true.
Permissions 3
env_vars low shell high filesystem low