cua icon indicating copy to clipboard operation
cua copied to clipboard

Release uninstaller should remove only release-owned Claude MCP registrations

Open c8dhjp4tyv-bit opened this issue 3 months ago • 0 comments

Problem

The release libs/cua-driver/scripts/uninstall.sh can leave stale Claude MCP registrations after removing a release install. The shared cua-computer-use name is also used by other install shapes, so cleanup must not remove registrations by name alone.

Expected behavior

For the release uninstaller:

  • inspect Claude registrations before deleting release launchers/package trees;
  • remove an entry only when its command path (or resolved target) is owned by the selected release install;
  • keep ownership scope-specific when the same MCP name exists in multiple Claude scopes;
  • preserve source-built cua-driver-local, Swift, side-by-side, and unrelated same-basename registrations;
  • fail clearly rather than claiming a complete uninstall when ownership-aware cleanup cannot be performed;
  • keep Windows manual guidance ownership-aware.

This issue is intentionally scoped to release installs. The source-built local registration reported in #2936 remains a separate local-uninstaller workflow and should stay open until that path is handled.

c8dhjp4tyv-bit avatar Sep 03 '26 05:09 c8dhjp4tyv-bit