disk-cleanup
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@disk-cleanup Find duplicate files in my Downloads folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-disk-cleanup
Local disk cleanup scanning MCP Server (stdio transport, zero API keys, zero networking, read-only scanning).
Let MCP-compatible clients such as Qoder / Qodo / Claude / Cursor scan your disk directly, find large files, duplicate files, junk extensions, and files not accessed for a long time, and generate a cleanup list—list only, delete nothing.
Provided tools
Tool | Status | Description |
| ✅ Available | Lists files larger than the threshold, sorted by size descending |
| ✅ Available | Finds duplicate files by content hash |
| ✅ Available | Scans by extension (.tmp/.log/.cache…) |
| ✅ Available | Scans files not modified for a long time |
| ✅ Available | Directory health check: total size / file count / type ratio |
Related MCP server: SpaceLens MCP Server
Local integration (development)
Add an entry to the client's mcp.json, pointing to the local venv interpreter:
{
"mcpServers": {
"disk-cleanup": {
"command": "E:/pycharm/mcp-disk-cleanup/.venv/Scripts/python.exe",
"args": ["E:/pycharm/mcp-disk-cleanup/server.py"]
}
}
}Post-release integration (PyPI / uvx)
{
"mcpServers": {
"disk-cleanup": {
"command": "uvx",
"args": ["mcp-disk-cleanup"]
}
}
}Local run / debug
.venv/Scripts/python.exe server.py
# 或用官方 Inspector 可视化调试:
npx @modelcontextprotocol/inspector .venv/Scripts/python.exe server.pySecurity
All tools perform read-only scans; they do not delete, move, or modify any files.
Deletion is disabled by default; if cleanup is needed, manually confirm and act based on the scan list.
Available Tools
5 toolsscan_by_extB
按文件后缀扫描(默认扫常见垃圾后缀 .tmp/.log/.cache/.bak/.old)。
Inputs: dirs (required), exts. Returns: result
scan_duplicatesA
按内容 hash 找出重复文件,按重复组返回(含可释放空间估算)。
先按文件大小初筛,仅对"大小相同"的文件做内容 hash,性能更友好。
Inputs: dirs (required), min_size_mb. Returns: result
scan_largeA
列出指定目录下体积大于 min_mb MB 的文件,按大小降序返回前 top_n 个。
Inputs: dir (required), top_n, min_mb. Returns: result
scan_oldB
扫描多久未修改过的文件(默认 90 天)。
Inputs: dirs (required), days. Returns: result
summarizeB
目录体检:总大小、文件数、按类型(后缀)占比 Top10。
Inputs: dir (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a uniquely identifiable scan dimension: large files, duplicates, extension-based, old files, and summary. Even the four scan_* tools are clearly distinct by their filtering criteria, leaving no real ambiguity for an agent.
The scan_* prefix creates a predictable pattern for the four scanning tools, and the criterion is clear in each name. summarize deviates from the prefix pattern but is still a sensible, readable action name rather than a random inconsistency.
Five tools is well-scoped for a disk cleanup helper: the main scan dimensions are covered, and there is no redundant bloat. The set feels complete enough to be useful without overwhelming an agent.
The server can identify cleanup candidates but offers no cleanup action such as delete or move-to-trash, so an agent cannot complete an actual disk cleanup workflow. This is a significant functional gap given the server name and stated purpose.
Maintenance
Related MCP Connectors
Scans remote MCP servers for protocol, security, and TLS issues; exposes scan tools via MCP.
Read-only local AI advice, shared reports and website audits. No PC scan or local actions.
Scan any website or MCP server for agent readiness: 0-100 score, a fix per failing check. Free.
Scan AI agent skills, MCP server packages and MCP configs before you install them. Static analysis.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables read-only analysis of local disk usage to identify cleanup targets by size, type, recency, and duplicates.613 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables local AI assistants to inspect Windows disk usage with treemap and folder X-ray views, retrieve cleanup previews, and receive application removal guidance, while exposing only non-destructive commands through MCP.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to scan a developer machine for disk space hogs, audit git worktrees for stale or orphaned ones, re-check individual findings, and run allowlisted cleanup actions as dry runs unless explicitly confirmed. Risky items are reported with warnings and refused by default.58 npm2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to inspect local RAM, commit, page file, disk usage, top processes, disk scans, duplicate files, startup apps, recent changes, and reports. It also generates approval-gated plans for cleanup, file moves, and startup disabling without changing the PC.MIT