[BUG] strictKnownMarketplaces: [] blocks official marketplace (claude-plugins-official)

Resolved 💬 4 comments Opened Mar 16, 2026 by tokutoku3 Closed Apr 13, 2026

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

  1. Set in managed-settings.json:

``json
{ "strictKnownMarketplaces": [] }
``

  1. Run /plugin discover in Claude Code
  2. Error: "Your organization policy does not allow any external marketplaces."

Related Issues

  • #16870 (extraKnownMarketplaces in managed-settings.json is ignored)

View original on GitHub ↗

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