You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
runUninstall() can fail to remove a default npx MCP registration because ownership detection in isOwnedRegistration() expects npx registrations to have args.length === 1, while setup writes npx -y <package> mcp.
Reproduction
Configure a client with REA’s default registration:
command: "npx"
args: ["-y", "rea-agents", "mcp"]
Run runUninstall() (or rea uninstall).
Observe uninstall status for that client.
Expected
The REA rea registration should be considered owned and removed, matching configureJsonClient/configureTomlClient behavior.
Actual
isOwnedRegistration only accepts:
command === "npx" && args.length === 1 && args[0] === "mcp"
so the default npx registration does not match and is retained as non-REA-owned.
Why this matters
Uninstall leaves an actionable MCP registration behind in common install modes, requiring manual cleanup.
Triage on current main (6a3fd5b): this report is not reproducible. Since e651cb6, isOwnedRegistration() has matched the setup-owned npx layout exactly as ["-y", PRODUCT_IDENTITY.packageName, "mcp"]. The uninstall lifecycle coverage passes in the full suite.
Activity
N0zoM1z0 commentedon Jul 14, 2026
Triage on current
main(6a3fd5b): this report is not reproducible. Sincee651cb6,isOwnedRegistration()has matched the setup-owned npx layout exactly as["-y", PRODUCT_IDENTITY.packageName, "mcp"]. The uninstall lifecycle coverage passes in the full suite.