Doctor and Artifact Cleanup
Environment doctor
CLI
bash
pnpm run doctorMCP maintenance tool
doctor_environment
It checks:
- optional packages like
camoufox-jsandplaywright-core - external toolchain commands like wabt, binaryen, and jadx
- local bridge endpoints such as Ghidra, IDA, and Burp
- active transport, profile, extension roots, and retention config
- platform limitations
Artifact cleanup
MCP maintenance tool
cleanup_artifacts
Supports:
retentionDaysmaxTotalBytesdryRun
Environment variables
MCP_ARTIFACT_RETENTION_DAYSMCP_ARTIFACT_MAX_TOTAL_MBMCP_ARTIFACT_CLEANUP_ON_STARTMCP_ARTIFACT_CLEANUP_INTERVAL_MINUTES
Managed directories
artifacts/screenshots/debugger-sessions/
Recommended strategy
- On developer machines, start with
dryRun. - On long-running instances, enable startup cleanup and interval-based cleanup.
- In short-lived CI environments, keep retention windows very small.