[BUG] Plugin marketplace schema validation error when launching CLI from Claude Desktop Code tab (regression from #14477)
Bug Description
When opening Claude Code CLI from the Code tab within Claude Desktop, the official plugin marketplace fails to load with a schema validation error:
/plugin
⎿ Failed to load all marketplaces. Errors: claude-plugins-official: Invalid schema: name:
Marketplace name cannot impersonate official Anthropic/Claude marketplaces. Names
containing "official", "anthropic", or "claude" in official-sounding combinations are
reserved.
This appears to be a regression from issue #14477, which was reported fixed in v2.0.72. I am experiencing this on v2.0.76.
Steps to Reproduce
- Open Claude Desktop
- Navigate to the Code tab
- Open/launch the CLI from within Claude Desktop
- Run
/plugincommand - Observe the error message about marketplace name validation
Expected Behavior
The claude-plugins-official marketplace should load successfully, as it did before the regression and as it does when launching Claude Code from a regular terminal.
Actual Behavior
The official marketplace fails to load due to schema validation rejecting the name "claude-plugins-official" as potentially impersonating official Anthropic marketplaces.
Environment
- Claude Code Version: 2.0.76
- Platform: macOS (Darwin 24.6.0)
- Launch Method: Claude Desktop → Code tab → CLI
Additional Context
- This is the same error reported in #14477, which was marked as fixed in v2.0.72
- The specific reproduction path (launching from Claude Desktop's Code tab) may be using a different code path than launching from a regular terminal
- The irony is that the validation meant to prevent impersonation of official marketplaces is blocking the actual official marketplace
Possible Cause
The schema validation logic that checks for reserved keywords ("official", "anthropic", "claude") may not be properly exempting the legitimate claude-plugins-official marketplace when the CLI is launched through Claude Desktop's Code tab interface.
---
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗