[BUG] Cannot Parse marketplace.json

Resolved 💬 2 comments Opened Mar 18, 2026 by groogiam Closed Mar 18, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Claude cannot seem to parse the marketplace.json file in a local market place folder in the project directory.

What Should Happen?

Claude should parse the local marketplace file and load the local development plugin.

Error Messages/Logs

local (project)
      Failed to parse marketplace file at
      D:\Repro\marketplace\.claude-plugin\marketplace.json: Invalid JSON in
      D:\Repro\marketplace\.claude-plugin\marketplace.json: JSON Parse error:
      Unrecognized token ''

Steps to Reproduce

  1. Create a new directory with the following structure.

.claude/settings.json

{
  "$schema": "https://json.schemastore.org/claude-code-settings.json",
  "extraKnownMarketplaces": {
    "local": {
      "source": {
        "source": "directory",
        "path": "./marketplace"
      }
    }
  },
  "enabledPlugins": {
    "test-plugin@local": true
  }
}

marketplace/.claude-plugin/marketplace.json

{
  "name": "local",
  "owner": {
    "name": "groogiam"
  },
  "plugins": [
    {
      "name": "test-plugin",
      "source": "./test-plugin",
      "description": "A test plugin for local development"
    }
  ]
}
  1. run claude in the newly created folder
  2. run /plugin
  3. Navigate to the error tab.
  4. The error message above will be shown

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.78

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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