mac-cleaner
Cleans Android build and cache directories (e.g., Gradle/Android caches) to free disk space.
Cleans Docker reclaimable space such as dangling images, containers, and volumes.
Cleans Gradle build caches used by Android and Java projects.
Cleans Homebrew cache files to recover disk space.
Cleans iOS DeviceSupport files that accumulate on the system from device connections.
Click on "Install 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., "@mac-cleanerScan for junk and show what can be cleaned"
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.
mac-cleaner-mcp
A conservative macOS developer/storage cleaner exposed through the official Model Context Protocol TypeScript SDK. It is not a full disk optimizer: it reports first, refuses broad destructive locations, and supports dry runs.
Tools
scan_junk: DerivedData, iOS DeviceSupport, Gradle/Android cache, Homebrew cache, Node package cache, Docker reclaimable space,~/Library/Caches, large Downloads files (>100 MB), and discoverednode_modules.clean_junk: accepts categories and defaults todryRun: true. Only DerivedData, DeviceSupport, Android/Gradle, Homebrew, and Docker can be cleaned. Downloads, node_modules, and broad cache roots are intentionally refused.get_disk_usage: runsdffor a selected path.
Related MCP server: cacheout-mcp
Install and run
Requires macOS, Node.js 20+, and optionally Docker. Do not run as root.
git clone https://github.com/FFFames/mac-cleaner-mcp.git
cd mac-cleaner-mcp
npm install
npm run build
node dist/index.jsMCP uses stdio, so the process should be launched by the MCP client. Cleaning can delete files; inspect the dry-run output and keep backups before setting dryRun: false.
Claude Desktop / Cursor
Add the absolute path to dist/index.js in the client's MCP configuration:
{"mcpServers":{"mac-cleaner":{"command":"node","args":["/ABSOLUTE/PATH/mac-cleaner-mcp/dist/index.js"]}}}Restart the client, call scan_junk, then call clean_junk with selected categories and dryRun: true. Use false only after reviewing the result. Cursor supports the same stdio MCP server configuration through its MCP settings.
Poke / remote bridge
For a local Poke-compatible bridge, run this server as a child process and proxy MCP JSON-RPC stdin/stdout over an authenticated HTTPS endpoint. A simple option is an SSH/HTTP bridge or ngrok in front of your own bridge process:
ngrok http 8787Configure the bridge's upstream command as node /ABSOLUTE/PATH/mac-cleaner-mcp/dist/index.js, then register the HTTPS ngrok URL with your Poke/MCP connection. Never expose an unauthenticated endpoint; use an ngrok auth token, allowlist callers, and rotate the URL/token. The cleaner itself is local-only and has no network listener.
Safety
The implementation uses explicit category allowlists, no shell wildcard expansion, dry-run by default, and refuses Downloads, node_modules, and the entire user cache root. Review source and test on a noncritical account before use.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides safe shell command execution capabilities for AI agents and tools like VS Code Copilot through a whitelist-based filtering system.

cacheout-mcpofficial
AlicenseAqualityCmaintenanceMCP server for macOS disk cache management. Enables AI agents to free disk space on demand by scanning and clearing developer caches.131Sustainable Use v1.0- AlicenseAqualityAmaintenanceLocal-only GitHub Actions and CI maintenance scanner for AI-built apps. Exposes scan, explanation, and fix-planning tools to MCP clients; modifies nothing and makes no outbound requests by default.3842MIT
- AlicenseNot gradedqualityAmaintenanceUnifies fast on-disk read and search with complete AppleScript writes, behind a mandatory safety layer with read-only mode, batch caps, dry-run, and undo for reversible operations.GPL 3.0
Related MCP Connectors
Static MCP manifest and tool-policy security preflight with signed input-redacted receipts
Compliance & security scan for your app: secrets, exposed files, headers, privacy, AI-disclosure.
Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/FFFames/mac-cleaner-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server