Sluice
Disk space tools for coding agents on developer Macs: check free space before a native build, scan what Xcode, Docker, Gradle, node_modules and package caches left behind, and clean it (dry run by default). macOS 14 or later.
文件
Sluice MCP server
Disk space for developer Macs, for your coding agent. Sluice checks free space before a native build and cleans what dev tools leave behind: Xcode DerivedData and simulators, Docker, Gradle, node_modules, package caches.
| Tool | What it does |
|---|---|
disk_status | Free space, how tight it is, and whether a build is running |
check_space | Whether at least a given amount is free, e.g. 25G before a native build |
scan | What can be cleaned per category, stale items and the largest ones |
clean | Removes what scan found. A dry run unless dry_run is false (real cleaning needs Sluice Pro) |
history | Recent cleanups: when, how much, and what started them |
macOS 14 Sonoma or later, Apple silicon and Intel.
Why
Coding agents start native builds without knowing how much disk is left. On our build Mac a 17 GB iOS build filled the disk and took Docker down with it. With Sluice the agent calls check_space first, and when space is short, scan shows what can go. Sluice never cleans while a build is running.
Install
Claude Desktop: download sluice.mcpb and open it.
Claude Code, Cursor, Codex and others: install the app, which puts the sluice command on your PATH, then add the server:
brew install --cask qraft/tap/sluice
claude mcp add sluice -- sluice mcp
Without Homebrew: download Sluice and use /Applications/Sluice.app/Contents/Helpers/sluice mcp as the command.
More on sluiceapp.com/agents.
About this repository
This repository holds the MCP bundle and its registry entry (server.json, published in the MCP Registry as io.github.qraft/sluice). The Sluice source is not public. Questions and bugs: open an issue.