Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Disk Inventory MCP
概览
作者提供的说明(英文原文)
Read-only macOS disk analysis with bounded scans, size queries, and extension breakdowns.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i尚未统计★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 网店与支付
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 注册中心没有列出需要填写的密钥。
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 LemmaLemming 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“网店与支付”中的其他服务器比较i
- 星标数多于此分类中其他 2536 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 2536 个服务器的 35% 更新
- 基础检查结果等于或优于此分类中其他 2536 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Disk Inventory MCP 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.1.0)于2个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。
有什么可以替代它?
同一分类中有:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Stripe MCP
MCP server integrating with Stripe - tools for customers, products, payments, and more.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Disk Inventory MCP
A local, read-only disk analyzer for macOS, with a CLI and an MCP server in one native executable. Find large files and folders, inspect file-extension breakdowns, and see exactly where a scan was incomplete.
v0.1.0 is a read-only preview. It has no deletion, Trash, cleanup execution, or content-reading tools. Requires macOS 13 or later. No runtime dependencies beyond macOS frameworks.
Install
Recommended: install from the project's Homebrew tap (builds from source; requires Xcode Command Line Tools with Swift 5.9 or later):
brew install LemmaLemming/tap/disk-inventory-mcp
disk-inventory --version
GitHub Releases also provides a universal Intel/Apple Silicon .tar.gz, an MCP bundle (.mcpb), corresponding source, and SHA256SUMS. Downloadable binaries are ad-hoc signed, not Developer ID signed or Apple notarized. Homebrew builds from source. MCP bundle import depends on client support and may be subject to macOS security checks.
CLI
disk-inventory scan ~/Downloads
disk-inventory scan ~/Downloads --json disk-inventory scan ~/Downloads --json --limit 50 --max-entries 200000 --max-seconds 60
JSON output includes summary, top_children, and file_types. Byte counts are decimal strings to preserve 64-bit precision. Top children are immediate children of the root; directory totals include their descendants. CLI exit codes: 0 complete, 2 invalid invocation, 3 incomplete (JSON remains usable).
MCP setup
Configure any MCP client that launches local stdio servers. Replace the example paths with absolute paths on your computer; use command -v disk-inventory to find the installed executable. The example below uses the usual Apple Silicon Homebrew location:
{
"mcpServers": { "disk-inventory": { "command": "/opt/homebrew/bin/disk-inventory", "args": ["mcp", "--root", "/Users/YOU/Downloads"] } } }
Add more --root, PATH pairs to grant additional directories. The server refuses to launch without an explicit root and rejects scan paths outside those roots, including symlink escapes. An MCPB-compatible client can instead import the release bundle and prompt for one allowed directory.
Example prompts:
- “Show the largest folders in my Downloads directory and tell me whether the scan missed anything.”
- “Within that scan, find the largest
.zipfiles.” - “Break down the observed files by extension and explain the difference between logical and allocated bytes.”
| Tool | Purpose |
|---|---|
list_roots | Show directories granted at launch |
scan_start | Start a bounded background metadata scan; return a scan ID |
scan_status | Progress, final totals, skipped paths, and accounting caveats |
scan_cancel | Cooperatively stop the active scan |
query_usage | Sort/filter results, paginate, or drill into a directory ID |
file_types | Paginated file-extension groups |
The server implements newline-delimited JSON-RPC over stdio, initialization, ping, and tools. It negotiates protocol versions 2025-11-25, 2025-06-18, and 2025-03-26. Tool results include both structured JSON and serialized text. Scan jobs are application-level IDs; this release does not advertise the optional MCP Tasks capability. Poll status at sensible intervals (for example once per second).
Accounting and limits
- Default budget: 100,000 entries and 30 seconds. Maximum per scan: 500,000 entries and 300 seconds. Directory traversal depth is capped at 128. Time and cancellation checks occur between filesystem calls; an OS call blocked on a filesystem can delay either.
- One active scan and the two latest finished scans are retained in memory. Starting further scans evicts older finished results. Restarting the process discards all scans. There is no persistent database or scan comparison yet.
- Queries return at most 200 entries per page. The root has ID
0. IDs are meaningful only within their scan.parent_idreturns immediate children; omitting it considers all descendants. Avoid summing directory totals with their children. - Logical bytes count each observed regular-file or symlink path. Allocated bytes use
st_blocks * 512, with device/inode deduplication for hard links. Shared hard-link storage is assigned to the first encountered path, so per-folder attribution can vary with enumeration order. - Directory metadata is excluded. APFS clones and snapshot-retained blocks are not deduplicated; allocated bytes are not reclaimable bytes. Nothing here establishes that a file is safe to delete.
- Descendant symlinks are measured without following them. Other filesystems are skipped and reported. The root path is canonicalized at launch; traversal opens components without following symlinks. Disk Inventory X's special firmlink traversal is not copied into this implementation.
- Permission errors, vanished entries, limits, mount boundaries, and invalid UTF-8 names set
complete=false. Totals then describe only observed data. Up to 100 issue details are returned, with a full issue count. Entries can report zero observed bytes andcomplete=false; that does not mean empty. - Scans are live observations, not atomic filesystem snapshots. Contents and directories may change during traversal. The tool does not request elevated privileges or bypass macOS privacy protections.
- File types are inferred only from filename extensions, not content or application ownership. The scanner makes no file-content reads; browsing cloud-provider directories can still involve provider metadata activity.
Privacy
The executable makes no network requests, contains no telemetry, and writes no scan cache. It returns paths, sizes, and error details to the invoking CLI or MCP client. That client may send tool results to its model provider or retain logs according to its own settings. Treat filenames as untrusted data. Keep granted roots limited to what you intend to analyze.
Development
swift build -c release
DISK_INVENTORY_BIN="$PWD/.build/release/disk-inventory" python3 tests/integration.py bash scripts/package.sh
The integration tests use generated temporary fixtures: regular files, hard links, sparse files, symlink loops/escapes, unreadable directories, hostile filenames, pagination, cancellation, CLI exit codes, and MCP protocol errors. They do not scan personal directories. Optional interoperability tests use the official Python MCP SDK; see tests/sdk_interop.py.
License and provenance
GPL-3.0-or-later; see LICENSE. This is a new Swift implementation informed by the assessment of Tjark Derlien's Disk Inventory X and TreeMapView. It does not bundle their Objective-C source, artwork, TreeMapView, Omni frameworks, or CocoaTech components, and is not an official release of Disk Inventory X. The GPL license text is reproduced from the public Disk Inventory X checkout. Original upstream ownership and notices remain in their respective repositories.
Planned follow-ups: persistent scan comparisons, evidence-based cleanup previews, then separately reviewed cleanup execution. These are not features of v0.1.0.