npm @dzg-studio/mcp-server-mintstdioMITupdated 27d ago
Use Mint as the on-device storage intelligence and file-operation safety layer for AI agents on macOS.
Mint — Safe Mac Storage Actions 能做什么?
Mint MCP Server
Use Mint as the on-device storage intelligence and file-operation safety layer for AI agents on macOS.
This npm package is a small open-source launcher. It locates the signed mint-cli bundled with the direct edition of Mint and starts its local stdio MCP server. It does not contain Mint itself and does not upload file contents, scan results, or operation history.
Requirements
- macOS 14 Sonoma or later
- Node.js 18 or later
- The direct edition of Mint from mint.dzgapp.com
Install Mint and launch it once from Finder. Mint normally links mint-cli into /opt/homebrew/bin or /usr/local/bin; the launcher can also use the binary inside /Applications/Mint.app.
Configure an MCP client
{
"mcpServers": {
"mint": {
"command": "npx",
"args": ["-y", "@dzg-studio/mcp-server-mint@1.0.0"]
}
}
}
Or, if mint-cli is already on PATH:
mint-cli mcp
Set MINT_CLI_PATH=/absolute/path/to/mint-cli to use a nonstandard installation.
Tools
mint_status— disk trends, recent activity, and managed-folder status.mint_why— storage-growth attribution or operations involving a path.mint_scan— read-only reclaimable-space survey.mint_recentandmint_activity— operation history and reasons.mint_rules— list and dry-run cleanup rules.mint_execute— journaled, trash-only cleanup with a reason and returnedbatchId.
Safety model
mint_execute only moves items to the Trash — permanent deletion is not available to agents at all. It only accepts paths inside Mint’s cleanup roots: the scan targets it reports (developer and app caches, logs) and folders the user manages with Mint, with the user’s excluded paths always refused and symlinks resolved before checking. Actions enter Mint’s operation journal (up to 90 days of history) and can be undone from Mint.app while both the journal entry and the trashed item remain available.
The server instructs agents to use Mint instead of raw rm or unjournaled trash commands. This keeps the action visible in Mint’s activity history and gives the user a receipt and recovery reference.
License
The launcher in this repository is MIT licensed. Mint is commercial software published by DZG Studio LLC under its own terms.
安装
把 Mint — Safe Mac Storage Actions 添加到你的客户端。选择你正在使用的那个。
claude mcp add mcp-server-mint -- npx -y @dzg-studio/mcp-server-mintcodex mcp add mcp-server-mint -- npx -y @dzg-studio/mcp-server-mintamp mcp add mcp-server-mint -- npx -y @dzg-studio/mcp-server-mint{
"mcpServers": {
"mcp-server-mint": {
"command": "npx",
"args": [
"-y",
"@dzg-studio/mcp-server-mint"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-server-mint": {
"command": "npx",
"args": [
"-y",
"@dzg-studio/mcp-server-mint"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp-server-mint","command":"npx","args":["-y","@dzg-studio/mcp-server-mint"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp-server-mint": {
"command": "npx",
"args": [
"-y",
"@dzg-studio/mcp-server-mint"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-server-mint": {
"command": "npx",
"args": [
"-y",
"@dzg-studio/mcp-server-mint"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-server-mint": {
"command": "npx",
"args": [
"-y",
"@dzg-studio/mcp-server-mint"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-server-mint": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@dzg-studio/mcp-server-mint"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-server-mint": {
"command": {
"path": "npx",
"args": [
"-y",
"@dzg-studio/mcp-server-mint"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @dzg-studio/mcp-server-mintRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
6 个工具
Mint — Safe Mac Storage Actions 向已连接的智能体提供 6 个工具。
- mint_status
- disk trends, recent activity, and managed-folder status.
- mint_why
- storage-growth attribution or operations involving a path.
- mint_scan
- read-only reclaimable-space survey.
- mint_recent
- and `mint_activity` — operation history and reasons.
- mint_rules
- list and dry-run cleanup rules.
- mint_execute
- journaled, trash-only cleanup with a reason and returned `batchId`.
评分
71 / 100
良好
- 文档18/25
- 维护19/25
- 可信度16/20
- 能力6/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 19 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 6 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.0.0最新 | 2026年8月10日 |