Skip to content

Claude Code /doctor reports duplicate MCP server when plugin is loaded via marketplace #1854

Description

@indeeeah

Summary

When chrome-devtools-mcp is installed as a Claude Code plugin via marketplace, /doctor reports:

Plugin Errors
└ 1 plugin error(s) detected:
  └ plugin:chrome-devtools-mcp:chrome-devtools [chrome-devtools-mcp]: MCP server "chrome-devtools" skipped — same command/URL as already-configured "chrome-devtools"

Root Cause

The marketplace structure has source: "./" in marketplace.json, which means the marketplace root directory is the plugin directory. This causes the same plugin.json (containing mcpServers.chrome-devtools) to be loaded twice:

  1. First load from ~/.claude/plugins/marketplaces/chrome-devtools-plugins/.claude-plugin/plugin.json
  2. Second load from the cached copy at ~/.claude/plugins/cache/chrome-devtools-plugins/chrome-devtools-mcp/latest/.claude-plugin/plugin.json

Both contain the identical mcpServers block:

{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["chrome-devtools-mcp@latest"]
    }
  }
}

The second registration is skipped as a duplicate, producing the warning.

Impact

  • Functional: None — the MCP server loads correctly on the first registration
  • UX: Persistent error in /doctor output that cannot be resolved by the user

Possible Fix

  • Remove mcpServers from plugin.json and keep it only in .mcp.json (or vice versa), ensuring only one source of truth
  • Or adjust the caching/loading logic so source: "./" doesn't result in double-loading

Environment

  • Claude Code v2.1.104
  • macOS (Darwin 25.3.0)
  • Plugin version: latest

Activity

  1. added theissue type on May 21, 2026
  2. nroscino commented on May 22, 2026

    @nroscino
    Contributor

    This was resolved by: #2095

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions