Tidyware

MCP server · App Intents · CLI

TwinSweep
pour les agents IA

Chaque fonctionnalité peut être appelée par un assistant IA. Tout s’exécute localement sur le Mac — l’IA envoie une requête, TwinSweep fait le travail, et TwinSweep n’envoie rien en ligne.

Connexion en un clic

03

Claude Desktop / Cursor

Ouvrez TwinSweep → Réglages → IA → Connecter. Redémarrez l’app d’IA.

Claude Code

Réglages → IA → Copier la commande, puis collez-la dans Terminal.

Siri et Raccourcis

Les actions apparaissent dans l’app Raccourcis, sous TwinSweep.

Configuration MCP manuelle :

{
  "mcpServers": {
    "twinsweep": {
      "command": "/Applications/TwinSweep.app/Contents/MacOS/twinsweep",
      "args": ["mcp"]
    }
  }
}

Outils

9

Les noms et descriptions des outils sont affichés en anglais — exactement ce que reçoit votre assistant IA.

OutilRôleModifie des fichiers ?
find_duplicatesScan folders for identical files and (optionally) near-duplicate photos. Changes nothing. Returns a scan_id, space that can be freed (by kind), and each group with the copy to keep and why. Skips system/app-data folders, app bundles, photo libraries, code projects, hidden files, symlinks and iCloud files not downloaded.Non
get_scanShow all groups of a previous scan ("latest" or a scan_id). Read-only.Non
trash_duplicatesMove extra copies from a scan to the Trash. By default only identical copies; similar photos only with include_similar or when their groups are listed. At least one copy per group is always kept. Each file is re-checked first; network drives are never touched. Undo with undo. Ask the user before calling.Oui
list_cleanupsPast cleanups (newest first) with how many files and whether they were undone. Read-only.Non
undoPut files from a cleanup back from the Trash to their original folders (default: the most recent cleanup; or give cleanup_id from list_cleanups). Never overwrites a file that now exists at the original path.Oui
undo_lastSame as undo with no cleanup_id.Oui
find_photo_duplicatesFind identical and near-duplicate photos in the Apple Photos library (optionally one year or the last N days). Changes nothing. Uses the TwinSweep app (it asks for Photos access the first time). Returns a scan_id and groups with the photo to keep (favorites first, then highest resolution).Non
album_photo_duplicatesPut the extra photos from a photo scan into the album "TwinSweep – Duplicates" so the user can review and delete them in Photos. Never deletes anything.Oui
delete_photo_duplicatesDelete the extra copies from a photo scan the standard Photos way: macOS shows its own confirmation, and photos go to Recently Deleted for 30 days (recoverable). By default only identical groups; similar groups only with include_similar or when listed. Favorites are never deleted. Ask the user first.Oui

Exemples de requêtes

05

Ligne de commande

CLI
twinsweep list
twinsweep find_duplicates --folders ~/Downloads --similar_images true