External plugins from marketplace load as MCP servers even when enabledPlugins is empty
Resolved 💬 3 comments Opened Mar 1, 2026 by tuncay Closed Mar 4, 2026
Description
External plugins from the official marketplace directory (~/.claude/plugins/marketplaces/claude-plugins-official/external_plugins/) appear to be loaded as MCP servers even when enabledPlugins is {} in settings.json and installed_plugins.json has no plugins.
Steps to Reproduce
- Have
"enabledPlugins": {}in~/.claude/settings.json - Have
"plugins": {}in~/.claude/plugins/installed_plugins.json - The marketplace repo is auto-cloned to
~/.claude/plugins/marketplaces/claude-plugins-official/viaknown_marketplaces.json - Start a new Claude Code session
- The GitHub MCP server (and possibly others) from
external_plugins/appears to be loaded despite nothing being enabled or installed
Expected Behavior
When enabledPlugins is empty and no plugins are installed, no external plugin MCP servers should be loaded.
Actual Behavior
The GitHub MCP server from external_plugins/github/.mcp.json is visible/loaded in new sessions.
Workaround
Empty known_marketplaces.json to {} and delete the marketplaces/ directory to prevent auto-cloning.
Environment
- Platform: Linux (Arch)
- Claude Code: latest
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗