Works with AI agents

Connect your AI agent to Zofle

Mac and Windows · free · no account, no network, nothing leaves your computer

Zofle is a local MCP server. Your agent starts the Zofle you already have with --mcp, over stdio, and gets twelve tools: find files by name or by the words inside them, list a folder or a plugged-in drive, see what fills your disks and which folders take the space, see which apps hold a file open and whether it is safe to move, clean up the way Zofle does it, and move files to an external drive, with you in the loop. No window opens, no port is listened on, and nothing is sent anywhere.

Safe by design. Cleanup is always two steps: zofle_cleanup_preview returns a plan, zofle_cleanup_apply needs that plan. Files go to the Trash (Mac) or Recycle Bin (Windows) only, never deleted for good, and zofle_cleanup_undo puts them back. Moving files to a drive works the same way: zofle_move_to_drive previews first, copies and checks each file on the drive before the original goes to the Trash or Recycle Bin, and undoes the move on request. Database files and anything Zofle marks "check first" are never touched. In Settings › Agents you can turn agent cleanup off and see the last 20 agent actions.

1. Get Zofle

Download the free app from zofle.com: Zofle 1.2 or later on macOS 14+, Zofle 0.2.0 or later on Windows 10/11. External drives and zofle_move_to_drive come with Zofle 1.5 on the Mac and Zofle 0.3.0 on Windows. The space map tools (zofle_space_tree, zofle_who_uses, zofle_can_move) come with Zofle 1.8 on the Mac and the next Windows version. Open it once so it can do its first scan. On the Mac, the agent tools are in the download from this site.

2. Copy the configuration

Settings › Agents inside Zofle shows this snippet with your exact path and a Copy button. These are the defaults:

Windows

{"mcpServers": {"zofle": {
  "command": "C:\\Users\\<you>\\AppData\\Local\\Programs\\Zofle\\Zofle.exe",
  "args": ["--mcp"]}}}

Mac

{"mcpServers": {"zofle": {
  "command": "/Applications/Zofle.app/Contents/MacOS/Zofle",
  "args": ["--mcp"]}}}

3. Add it to your agent

Claude Code

One command in a terminal (use your own path):

# Mac
claude mcp add zofle -- /Applications/Zofle.app/Contents/MacOS/Zofle --mcp

# Windows
claude mcp add zofle -- "C:\Users\<you>\AppData\Local\Programs\Zofle\Zofle.exe" --mcp

Then /mcp inside Claude Code lists zofle with its tools (twelve in Zofle 1.8 for Mac).

Claude Desktop

Settings › Developer › Edit Config opens claude_desktop_config.json. Paste the mcpServers block above (merge it if the file already has one), save and restart Claude Desktop. The tools appear under the tools icon in a new chat.

Cursor

Cursor Settings › MCP › Add new global MCP server opens ~/.cursor/mcp.json (or put a .cursor/mcp.json in one project). Paste the same mcpServers block and save; the server shows green when it started.

Codex

Add to ~/.codex/config.toml:

# Mac
[mcp_servers.zofle]
command = "/Applications/Zofle.app/Contents/MacOS/Zofle"
args = ["--mcp"]

# Windows
[mcp_servers.zofle]
command = "C:\\Users\\<you>\\AppData\\Local\\Programs\\Zofle\\Zofle.exe"
args = ["--mcp"]

Any other MCP client

Anything that can start a stdio MCP server works: command = the Zofle executable, one argument --mcp. Zofle answers initialize with the tools capability and speaks MCP protocol version 2025-06-18.

What your agent can do

ToolWhat it does
zofle_infoPlatform, Zofle version, your disks with total and free space, when the last scan ran, and the cleanup groups this platform knows.
zofle_searchFind files by name or by the words inside them (like grep): match case, whole word, regular expressions, exclude patterns, context lines, up to 1000 results.
zofle_list_folderList a folder sorted by size, name or date, the way Explore shows it. A drive's root works too.
zofle_storageWhat fills each disk, from the last scan, or measure again with refresh. Also lists the drives plugged in right now (USB drives, SD cards, external disks) with free space and the root path to search or list.
zofle_cleanup_scanEverything Zofle would offer to clean up: old installers, duplicate downloads, old screenshots, caches, logs, unused apps, build outputs, package caches, simulators and emulators, Docker leftovers, tool downloads, render caches, each with size, reason and a recommendation.
zofle_cleanup_previewChecks the items you picked again (still there, same size, not in use) and returns a plan that is valid for ten minutes.
zofle_cleanup_applyMoves the planned items to the Trash or Recycle Bin and returns what was freed plus an undo id. Refused when "Let agents clean up" is off in Settings › Agents.
zofle_cleanup_undoPuts the files from an apply back where they were.
zofle_move_to_driveMoves files to an external drive in three steps. preview plans it (target folder Zofle moved/<date> on the drive, files skipped with the reason: not enough room, a name the drive won't take, over 4 GB on a FAT32 drive, already there) and copies nothing. apply copies each file, checks it on the drive and only then moves the original to the Trash or Recycle Bin; refused when "Let agents clean up" is off. undo puts the originals back; the copies stay on the drive.
zofle_space_treeThe space map: what each file and folder inside a folder takes on disk (size on disk and file size, file and folder counts), largest first, like the Space screen.
zofle_who_usesWhich apps hold a file, or files inside a folder, open right now. It only reports them; it never closes an app.
zofle_can_moveWhether a file or folder can safely move, with every reason it should stay: the system, an app or service that needs it, sync folders, links, or files in use.

Things to try: "What is using the most space on my Mac?", "Find every file that mentions invoice 2024-118", "Show me what Zofle would clean up, then clean up only the old installers", "Undo that", "Move my videos from 2022 to the USB drive".

Questions

Does the agent see my files?

Only what it asks Zofle for: search results, folder listings and the cleanup list, with names, paths and sizes. Zofle reads only your own folders and the developer caches it already knows, and never sends anything to us. What your agent does with the answers depends on the agent you use.

Can it delete something important?

It can only move files to the Trash or Recycle Bin, only after a preview, and never items Zofle marks "check first" such as databases. Everything it moved is in the Trash or Recycle Bin and in Settings › Agents, and zofle_cleanup_undo puts it back. Turn "Let agents clean up" off and the agent can only look.

Can it move files to my USB drive?

Yes, in Zofle 1.5 for Mac (Windows with its next version). The agent sees the drives you have plugged in, previews the move, and Zofle copies and checks every file on the drive before the original goes to the Trash or Recycle Bin. Only files move, only to external drives, and if you pull the drive out mid-copy the original stays where it was.

Does Zofle need to be open?

No. The agent starts a headless Zofle when it needs it. A scan an agent runs shows in the app afterwards, and the app's last scan is what the agent reads.

Which versions have it?

Zofle 1.2 and later on macOS, downloaded from this site, and Zofle 0.2.0 and later on Windows. The drive tools need Zofle 1.5 on the Mac or Zofle 0.3.0 on Windows. The download buttons on the home page always give you the current one.

Get Zofle, free

Disk cleanup you can check, a file finder that looks inside files, and now tools for your agent.

Download for Mac or Windows