Skip to content
MCP server
Registry

Derived MCP Server

Inspect and safely clean local Xcode, Simulator, and XCTest storage.

Derived scores 61 (Good), licensed MIT and written in Swift. It installs as a local process. It declares 3 tools. Filed under File systems. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by adiaz0511MITSwift0 stars
Trust score
61Good
Trust score 61 of 100, Good

Good trust

61 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 61 comes from

22 + 15 + 0 + 10 + 4 + 10 = 61. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "adiaz0511-derived": {      "command": "npx",      "args": [        "-y",        "https://github.com/adiaz0511/Derived/releases/download/v0.2.0/Derived-MCP-0.2.0-macOS-universal.mcpb"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools3Tool docs quality grade D

All capabilities

About

[!CAUTION] Derived permanently deletes selected developer data instead of moving it to the Trash. Review the cleanup plan before confirming deletion.

Overview

Derived finds and removes storage created by Xcode, Simulator, and XCTest. It reports verified reclaimable space, keeps APFS clone sizes separate, and protects active or high-risk targets.

Use Derived through the macOS app, the derived CLI, or the local derived-mcp server. All three interfaces use the same scanner, path validation, and cleanup workflow. Derived runs locally and does not collect analytics.

InterfaceIntended use
macOS appInteractive scans, cleanup selection, scheduling, and history
CLITerminal workflows, shell scripts, and structured JSON output
MCP serverStructured access for Codex, Claude Code, Cursor, and other MCP clients

Install the macOS app

Homebrew (recommended)

brew tap adiaz0511/derived
brew trust adiaz0511/derived
brew install --cask derived

The trust command is required once for the third-party tap.

Update the app with:

brew update
brew upgrade --cask derived

Disk image

  1. Download the DMG from the latest GitHub release.
  2. Open the disk image.
  3. Drag Derived.app to Applications.
  4. Open Derived from Applications.

Install the CLI and MCP server

The agent tools include the derived CLI, the derived-mcp server, and the derived-cleanup skill. The macOS app is not required.

Homebrew (recommended)

brew tap adiaz0511/derived
brew trust adiaz0511/derived
brew install --cask derived-tools
derived integrations install

derived integrations install detects Codex, Claude Code, and Cursor on the Mac. It registers the MCP server and installs the skill for each detected client.

Update the tools and refresh their integrations with:

derived integrations update

The CLI checks for new versions at most once per day during interactive commands. Update notices never appear in JSON or MCP output.

Disk image

The latest Derived DMG also includes Derived Agent Tools for installation without Homebrew.

  1. Open the DMG.
  2. Open Derived Agent Tools.
  3. Select Install for Codex.
  4. Restart Codex.

When the app and DMG-installed tools are both present, Derived offers to update the tools after an app update. Without the app, download the latest DMG and run Derived Agent Tools again.

MCPB installation

Clients that support MCPB bundles can install Derived-MCP-VERSION-macOS-universal.mcpb from the latest release. The MCPB contains the MCP server, but it does not install the derived CLI or portable skill.

Use Derived with coding agents

Check which clients are configured:

derived --version
derived integrations status

Then start a new session in Codex, Claude Code, or Cursor and ask:

Use $derived-cleanup to scan my developer storage.

See Agent Integrations for client-specific commands, manual configuration, and uninstallation.

Use the CLI

The CLI provides aligned tables for interactive use and JSON for scripts and agents.

CommandPurpose
derived scanScan Xcode, Simulator, and XCTest storage and print a scan ID
derived listList candidates from one category in a previous scan
derived prepareCreate an expiring cleanup plan for selected items or categories
derived deleteExecute a prepared plan with its exact confirmation phrase
derived integrations installConfigure the MCP server and skill for supported coding agents
derived integrations statusReport installed agent integrations
derived integrations updateUpdate Homebrew-managed tools and refresh their integrations

Start with a scan:

derived --version
derived scan

Use the scan ID printed by derived scan to inspect a category and prepare a plan:

derived list --scan SCAN_ID --category derivedData --limit 20
derived prepare --scan SCAN_ID --category previewData

Replace SCAN_ID with the UUID printed by the scan. Do not include angle brackets. The prepare command prints the exact confirmation phrase and complete derived delete command for that plan.

Use --json when another program will consume the output:

derived scan --json
derived list --scan SCAN_ID --category derivedData --limit 20 --json

Scan IDs expire after 30 minutes. Cleanup plans expire after 10 minutes and can be executed once.

Features

Storage discovery

  • Scans Derived Data, SwiftUI previews, XCTest devices, simulators, runtimes, Device Support, logs, caches, archives, and temporary data.
  • Reports verified reclaimable bytes separately from logical APFS clone sizes.
  • Groups cleanup candidates by category and recommendation status.

Cleanup and automation

  • Cleans individual candidates, complete categories, or cross-category selections.
  • Uses simctl to remove simulator devices and runtimes through supported system operations.
  • Schedules cleanup for Derived Data, Xcode logs, and Xcode caches.
  • Supports Launch at Login and maintains a local JSON Lines cleanup history.

Safety

  • Detects active development tools and protects active targets.
  • Requires an expiring cleanup plan and exact confirmation before deletion.
  • Revalidates every candidate immediately before cleanup.
  • Never selects archives or simulator runtimes automatically.

Safety model

Derived validates every cleanup target against a fixed allowlist. It rejects category roots, paths outside approved developer directories, malformed simulator identifiers, active targets, symbolic-link escapes, and candidates that changed after the plan was created.

Automatic cleanup waits until related development tools are closed and fails safely when process inspection is unavailable. XCTest APFS clone sizes are reported as logical sizes and excluded from verified reclaimable totals.

See Safety for the complete deletion model and approved paths.

Requirements

Run Derived

  • macOS 14.0 or later
  • Xcode for Simulator discovery and simctl-backed cleanup

The DMG contains prebuilt universal applications and command-line tools. Building from source is not required.

Derived is intentionally not sandboxed because it manages files under ~/Library/Developer and invokes xcrun simctl.

Build from source

  • Xcode 26.4 or later
  • Swift 6.2 toolchain

Clone the repository, open Derived.xcodeproj, select the Derived scheme, and build the macOS target.

Command-line build:

xcodebuild \
  -project Derived.xcodeproj \
  -scheme Derived \
  -configuration Debug \
  -derivedDataPath /tmp/DerivedBuild \
  CODE_SIGNING_ALLOWED=NO \
  build

Run the application tests:

xcodebuild \
  -project Derived.xcodeproj \
  -scheme Derived \
  -configuration Debug \
  -destination 'platform=macOS' \
  -derivedDataPath /tmp/DerivedTests \
  CODE_SIGNING_ALLOWED=NO \
  test

Build and test the CLI and MCP server:

swift test
scripts/test-agent-protocol.sh
swift build -c release

Launch at Login requires a signed application installed in a stable location. It may not work from an unsigned development build.

Project structure

  • Derived/App: application lifecycle, menu-bar item, and panel management
  • Derived/Features: SwiftUI presentation grouped by feature
  • Derived/Models: cleanup, scan, automation, and reporting models
  • Derived/Services: scanning, validation, process inspection, deletion, and persistence
  • Derived/Shared: shared formatting and design constants
  • Derived/AgentIntegration: shared CLI and MCP models, state, and safety workflow
  • DerivedTests: safety and behavior tests
  • DerivedCLITests: CLI argument, version, and human-readable output tests
  • DerivedCoreTests: agent integration and destructive-operation safeguards
  • Tools: native CLI and MCP executables
  • Integrations: portable agent skills and packaging metadata

Privacy

Derived operates locally. It does not include analytics, advertising, accounts, or network services. See Privacy.

Contributing

Contributions are welcome. Read Contributing before changing scanner, validation, or deletion behavior.

Maintainers should follow Releasing Derived for signing, notarization, DMG generation, and MCP publication.

License

Derived is available under the MIT License.

Frequently asked questions

What is Derived MCP Server?

Inspect and safely clean local Xcode, Simulator, and XCTest storage.

How do I install Derived MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Derived MCP Server runs locally from the MCP bundle https://github.com/adiaz0511/Derived/releases/download/v0.2.0/Derived-MCP-0.2.0-macOS-universal.mcpb with the command npx -y https://github.com/adiaz0511/Derived/releases/download/v0.2.0/Derived-MCP-0.2.0-macOS-universal.mcpb.

Is Derived MCP Server free and open source?

Yes. Derived MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Derived MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Derived MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does Derived MCP Server provide?

Derived MCP Server provides 3 tools: DerivedCLITests, DerivedCoreTests, and DerivedTests. See the full tool list for descriptions and parameters.

How is Derived MCP Server's trust score calculated?

Derived MCP Server scores 61 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server