Skip to main content
Glama
Disk Whisk MCP Server

Disk Whisk MCP Server

README.md
# Disk Whisk for AI agents

Let your AI agent see what's filling your Mac and clean up safely. **Your agent proposes. You approve in [Disk Whisk](https://diskwhisk.com). Nothing moves until you do.**

Works with Claude Code, Claude, Codex, Cursor, VS Code and any MCP client. Needs the Disk Whisk app: [download it](https://diskwhisk.com/download/) (free to scan, macOS 14 or later) and open it once.

## Install

**Claude Code** (plugin: the MCP server plus a skill that knows the cleanup workflow)

```
/plugin install disk-whisk --marketplace miyurusagarage/diskwhisk-mcp
```

Or from a terminal:

```sh
claude plugin marketplace add miyurusagarage/diskwhisk-mcp
claude plugin install disk-whisk@diskwhisk
```

**Claude Desktop:** download [`disk-whisk.mcpb`](https://github.com/miyurusagarage/diskwhisk-mcp/releases/latest/download/disk-whisk.mcpb) and open it.

**Codex**

```sh
codex mcp add disk-whisk -- npx -y @diskwhisk/mcp
```

**Cursor, VS Code and other clients**

```json
{
  "mcpServers": {
    "disk-whisk": { "command": "npx", "args": ["-y", "@diskwhisk/mcp"] }
  }
}
```

One-click buttons for Cursor and VS Code are on [diskwhisk.com/mcp](https://diskwhisk.com/mcp/). Disk Whisk's **Agents** settings can also connect Claude Code, Codex and Claude for you.

## Tools

| Tool | What it does |
|---|---|
| `disk_status` | Free space on each disk, and what's still in the Trash |
| `largest_items` | What takes space in a folder, largest first. Much faster than `du` |
| `storage_changes` | What grew or shrank since a date, down to the folder |
| `measure_paths` | Size of up to 200 paths or a glob, hard links counted once |
| `cleanup_suggestions` | Caches, logs, old installers, build output and more, each labelled Safe or Review |
| `propose_cleanup` | Opens a review in Disk Whisk. The person approves or declines |
| `cleanup_status` | Where a proposed cleanup stands |
| `cleanup_receipts` | Past cleanups and what can still be restored |
| `restore_cleanup` | Puts a cleanup back from the Trash |

Reading tools answer from Disk Whisk's saved storage map, so they're instant and never walk the disk.

## Guardrails

- Agents can't delete anything. `propose_cleanup` only opens a review; the person decides.
- Approved items go to the Trash with a receipt, and can be restored.
- Your file list never leaves your Mac. No telemetry.

## What's in this repository

The Disk Whisk app is closed source. This repository holds only the open pieces that connect agents to it (MIT licensed):

| Path | What it is |
|---|---|
| `bin/diskwhisk-mcp.js` | The launcher behind `npx @diskwhisk/mcp`. It finds Disk Whisk and starts the MCP server built into the app (`DiskWhisk.app/Contents/MacOS/… mcp`). Without the app, it tells your agent where to get it. Set `DISKWHISK_APP` to use an app at another path. |
| `plugins/disk-whisk/` | The Claude Code plugin: that server and the `free-up-mac-space` skill |
| `mcpb/` | The Claude Desktop extension, built by `scripts/build-mcpb.sh` |
| `server.json` | The [MCP Registry](https://registry.modelcontextprotocol.io) entry, `com.diskwhisk/disk-whisk` |

## Links

[diskwhisk.com](https://diskwhisk.com) · [Download](https://diskwhisk.com/download/) · [Support](https://diskwhisk.com/support/) · [Privacy](https://diskwhisk.com/privacy/)