[BUG] strictKnownMarketplaces: [] blocks official marketplace (claude-plugins-official)
Problem
Setting strictKnownMarketplaces to an empty array [] in managed settings blocks access to the official Anthropic marketplace (claude-plugins-official), even though it should be a built-in/trusted marketplace.
The error message shown is:
"Your organization policy does not allow any external marketplaces. Contact your administrator."
Expected Behavior
strictKnownMarketplaces: [] should block only user-added third-party marketplaces, while keeping the official claude-plugins-official marketplace accessible (as it is a built-in, trusted source).
Alternatively, the documentation should clarify how to explicitly allow claude-plugins-official as a source object in the strictKnownMarketplaces array.
Actual Behavior
The official marketplace is also blocked. There is no documented way to reference claude-plugins-official as a source object in the strictKnownMarketplaces array.
Steps to Reproduce
- Set in
managed-settings.json:
``json``
{ "strictKnownMarketplaces": [] }
- Run
/plugin discoverin Claude Code - Error: "Your organization policy does not allow any external marketplaces."
Related Issues
- #16870 (extraKnownMarketplaces in managed-settings.json is ignored)
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗