Create and manage plugin marketplaces to distribute Claude Code extensions across teams and communities.
Plugin marketplaces are catalogs of available plugins that make it easy to discover, install, and manage Claude Code extensions. This guide shows you how to use existing marketplaces and create your own for team distribution.
A marketplace is a JSON file that lists available plugins and describes where to find them. Marketplaces provide:
- Centralized discovery: Browse plugins from multiple sources in one place
- Version management: Track and update plugin versions automatically
- Team distribution: Share required plugins across your organization
- Flexible sources: Support for git repositories, GitHub repos, local paths, and package managers
- Claude Code installed and running
- Basic familiarity with JSON file format
- For creating marketplaces: Git repository or local development environment
Add marketplaces using the /plugin marketplace commands to access plugins from different sources:
/plugin marketplace add owner/repo/plugin marketplace add https://gitlab.com/company/plugins.git/plugin marketplace add ./my-marketplace/plugin marketplace add ./path/to/marketplace.json/plugin marketplace add https://url.of/marketplace.jsonOnce you've added marketplaces, install plugins directly:
/plugin install plugin-name@marketplace-name/pluginAfter adding a marketplace:
- List marketplaces: Run
/plugin marketplace listto confirm it's added - Browse plugins: Use
/pluginto see available plugins from your marketplace - Test installation: Try installing a plugin to verify the marketplace works correctly
Set up automatic marketplace installation for team projects by specifying required marketplaces in .claude/settings.json:
{
"extraKnownMarketplaces": {
"team-tools": {
"source": {
"source": "github",
"repo": "your-org/claude-plugins"
}
},
"project-specific": {
"source": {
"source": "git",
"url": "https://git.company.com/project-plugins.git"
}
}
}
}When team members trust the repository folder, Claude Code automatically installs these marketplaces and any plugins specified in the enabledPlugins field.
Build and distribute custom plugin collections for your team or community.
- Git repository (GitHub, GitLab, or other git hosting)
- Understanding of JSON file format
- One or more plugins to distribute
Create .claude-plugin/marketplace.json in your repository root:
{
"name": "company-tools",
"owner": {
"name": "DevTools Team",
"email": "devtools@company.com"
},
"plugins": [
{
"name": "code-formatter",
"source": "./plugins/formatter",
"description": "Automatic code formatting on save",
"version": "2.1.0",
"author": {
"name": "DevTools Team"
}
},
{
"name": "deployment-tools",
"source": {
"source": "github",
"repo": "company/deploy-plugin"
},
"description": "Deployment automation tools"
}
]
}| Field | Type | Description |
|---|---|---|
name |
string | Marketplace identifier (kebab-case, no spaces) |
owner |
object | Marketplace maintainer information |
plugins |
array | List of available plugins |
| Field | Type | Description |
|---|---|---|
metadata.description |
string | Brief marketplace description |
metadata.version |
string | Marketplace version |
metadata.pluginRoot |
string | Base path for relative plugin sources |
Required fields:
| Field | Type | Description |
|---|---|---|
name |
string | Plugin identifier (kebab-case, no spaces) |
source |
string|object | Where to fetch the plugin from |
Standard metadata fields:
| Field | Type | Description |
|---|---|---|
description |
string | Brief plugin description |
version |
string | Plugin version |
author |
object | Plugin author information |
homepage |
string | Plugin homepage or documentation URL |
repository |
string | Source code repository URL |
license |
string | SPDX license identifier (e.g., MIT, Apache-2.0) |
keywords |
array | Tags for plugin discovery and categorization |
category |
string | Plugin category for organization |
tags |
array | Tags for searchability |
strict |
boolean | Require plugin.json in plugin folder (default: true) 1 |
Component configuration fields:
| Field | Type | Description |
|---|---|---|
commands |
string|array | Custom paths to command files or directories |
agents |
string|array | Custom paths to agent files |
hooks |
string|object | Custom hooks configuration or path to hooks file |
mcpServers |
string|object | MCP server configurations or path to MCP config |
1 - When strict: true (default), the plugin must include a plugin.json manifest file, and marketplace fields supplement those values. When strict: false, the plugin.json is optional. If it's missing, the marketplace entry serves as the complete plugin manifest.
For plugins in the same repository:
{
"name": "my-plugin",
"source": "./plugins/my-plugin"
}{
"name": "github-plugin",
"source": {
"source": "github",
"repo": "owner/plugin-repo"
}
}{
"name": "git-plugin",
"source": {
"source": "url",
"url": "https://gitlab.com/team/plugin.git"
}
}Plugin entries can override default component locations and provide additional metadata. Note that ${CLAUDE_PLUGIN_ROOT} is an environment variable that resolves to the plugin's installation directory (for details see Environment variables):
{
"name": "enterprise-tools",
"source": {
"source": "github",
"repo": "company/enterprise-plugin"
},
"description": "Enterprise workflow automation tools",
"version": "2.1.0",
"author": {
"name": "Enterprise Team",
"email": "enterprise@company.com"
},
"homepage": "https://docs.company.com/plugins/enterprise-tools",
"repository": "https://github.com/company/enterprise-plugin",
"license": "MIT",
"keywords": ["enterprise", "workflow", "automation"],
"category": "productivity",
"commands": [
"./commands/core/",
"./commands/enterprise/",
"./commands/experimental/preview.md"
],
"agents": [
"./agents/security-reviewer.md",
"./agents/compliance-checker.md"
],
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [{"type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate.sh"}]
}
]
},
"mcpServers": {
"enterprise-db": {
"command": "${CLAUDE_PLUGIN_ROOT}/servers/db-server",
"args": ["--config", "${CLAUDE_PLUGIN_ROOT}/config.json"]
}
},
"strict": false
}Choose the best hosting strategy for your plugin distribution needs.
GitHub provides the easiest distribution method:
- Create a repository: Set up a new repository for your marketplace
- Add marketplace file: Create
.claude-plugin/marketplace.jsonwith your plugin definitions - Share with teams: Team members add with
/plugin marketplace add owner/repo
Benefits: Built-in version control, issue tracking, and team collaboration features.
Any git hosting service works for marketplace distribution, using a URL to an arbitrary git repository.
For example, using GitLab:
/plugin marketplace add https://gitlab.com/company/plugins.gitTest your marketplace locally before distribution:
/plugin marketplace add ./my-local-marketplace/plugin install test-plugin@my-local-marketplace/plugin marketplace listShows all configured marketplaces with their sources and status.
/plugin marketplace update marketplace-nameRefreshes plugin listings and metadata from the marketplace source.
/plugin marketplace remove marketplace-nameRemoves the marketplace from your configuration.
Removing a marketplace will uninstall any plugins you installed from it.Symptoms: Can't add marketplace or see plugins from it
Solutions:
- Verify the marketplace URL is accessible
- Check that
.claude-plugin/marketplace.jsonexists at the specified path - Ensure JSON syntax is valid using
claude plugin validate - For private repositories, confirm you have access permissions
Symptoms: Marketplace appears but plugin installation fails
Solutions:
- Verify plugin source URLs are accessible
- Check that plugin directories contain required files
- For GitHub sources, ensure repositories are public or you have access
- Test plugin sources manually by cloning/downloading
Test your marketplace before sharing:
claude plugin validate ./plugin marketplace add ./path/to/marketplace/plugin install test-plugin@marketplace-nameFor complete plugin testing workflows, see Test your plugins locally. For technical troubleshooting, see Plugins reference.
- Discover community marketplaces: Search GitHub for Claude Code plugin collections
- Contribute feedback: Report issues and suggest improvements to marketplace maintainers
- Share useful marketplaces: Help your team discover valuable plugin collections
- Build plugin collections: Create themed marketplace around specific use cases
- Establish versioning: Implement clear versioning and update policies
- Community engagement: Gather feedback and maintain active marketplace communities
- Documentation: Provide clear README files explaining your marketplace contents
- Private marketplaces: Set up internal marketplaces for proprietary tools
- Governance policies: Establish guidelines for plugin approval and security review
- Training resources: Help teams discover and adopt useful plugins effectively
- Plugins - Installing and using plugins
- Plugins reference - Complete technical specifications and schemas
- Plugin development - Creating your own plugins
- Settings - Plugin configuration options