[BUG] Marketplace removal via /plugin does not persist after restart

Resolved 💬 3 comments Opened Jan 20, 2026 by jmcdonald Closed Jan 20, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When removing a marketplace via the /plugin command, the removal appears successful (confirmation message shown), but the marketplace reappears after restarting Claude Code.

Note: This may be related to #9537 (settings.json not being cleaned up), but that issue is from an older version. Confirming this behavior persists in 2.1.12.

What Should Happen?

  1. Marketplace removal should persist across Claude Code restarts
  2. The underlying configuration (settings.json or equivalent) should be updated to reflect the removal

Error Messages/Logs

Removal appears successful:
- Pressed 'r' to remove marketplace
- Pressed 'y' to confirm
- Received message: "Removed 1 marketplace"
- No error displayed

However, removal does not persist.

Steps to Reproduce

  1. Run claude in terminal
  2. Type /plugin
  3. Tab to Marketplaces
  4. Select a marketplace
  5. Press r to remove
  6. Press y to confirm removal
  7. Observe confirmation message: "Removed 1 marketplace"
  8. Exit Claude Code completely
  9. Relaunch Claude Code
  10. Type /plugin → Tab to Marketplaces
  11. Expected: Removed marketplace is gone
  12. Actual: Marketplace has reappeared in the list

Claude Model

Opus 4.5

Is this a regression?

Possibly — see #9537 for earlier reports of similar behavior

Last Working Version

N/A

Claude Code Version

2.1.12

Platform

Claude Max

Operating System

macOS (Darwin 25.2.0)

Terminal/Shell

Ghostty / zsh

Additional Information

Related issues:

  • #9537 — Earlier report of marketplace removal not cleaning up settings.json
  • #19382 — Spacebar toggle broken in Marketplaces browse flow
  • #19383 — Navigation incorrectly resets to Discover in Marketplaces flow

This is part of a broader pattern of issues with the Marketplaces tab functionality. The removal confirmation is shown, suggesting the UI action fires correctly, but the state change is not being persisted to disk.

Workaround attempted: Tried removing marketplace to reinstall plugins fresh—workaround failed due to this persistence bug.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗