Skip to content

Marketplace: Typed Package Catalog ​

The marketplace is a CLI-first discovery and installation system for official and community packages. It resolves human-readable names from one or more catalog sources, downloads or clones the matching package, and registers it so the DCC adapter discovers it on the next restart or reload_skill_paths call.

Architecture ​

┌──────────────┐     ┌──────────────────┐     ┌──────────────────┐
│  CLI (CLAP)  │ ──▶ │ Application      │ ──▶ │ Domain           │
│ marketplace  │     │ marketplace.rs   │     │ marketplace.rs   │
│ subcommand   │     │ (business logic) │     │ (types/sources)  │
└──────────────┘     └──────────────────┘     └──────────────────┘
       │                        │                       │
       │                        ▼                       │
       │              ┌──────────────────┐              │
       │              │ dcc-mcp-catalog  │              │
       └──────────────│ (parse/search)   │──────────────┘
                      └──────────────────┘
                              │
                              ▼
                     ┌──────────────────┐
                     │  Gateway         │
                     │  gateway://catalog│
                     │  MCP resources   │
                     └──────────────────┘

The marketplace code lives in three layers:

  1. Domain (crates/dcc-mcp-cli/src/domain/marketplace.rs) — types: MarketplaceSource, MarketplaceHit, MarketplaceSearchResult, InstalledMarketplacePackage, OutdatedMarketplacePackage, etc.

  2. Application (crates/dcc-mcp-cli/src/application/marketplace.rs) — business logic: source management, search across sources, installation, uninstallation, update checks.

  3. Catalog (crates/dcc-mcp-catalog/) — standalone package that parses marketplace.json / catalog.yml files, searches entries by keyword and DCC type, and inspects individual entries.

The gateway also exposes catalog data through MCP resources (gateway://catalog) with a 5-minute cache (see catalog.md).

Sources ​

A marketplace source is a named reference to a catalog file. Sources are persisted in ~/.dcc-mcp/marketplace/sources.json.

Remote sources and install URLs must use HTTPS. Loopback HTTP remains available for local development servers. Local catalog files and path installs continue to use filesystem paths.

Source typeExample
Official (built-in)dcc-mcp/marketplace
GitHub slugmy-org/my-skills
Raw JSON URLhttps://example.com/catalog.json
Local file/path/to/local-catalog.yml

Source Precedence ​

  1. Built-in official source (dcc-mcp/marketplace)
  2. User-configured sources (persisted in sources.json)
  3. Environment variable sources (DCC_MCP_MARKETPLACE_SOURCES)
  4. Explicit --source CLI flag

Set DCC_MCP_MARKETPLACE_NO_DEFAULT_SOURCES=1 to disable the built-in source.

CLI Commands ​

CommandDescription
marketplace add <source>Register a marketplace source
marketplace listList configured sources
marketplace search --query <q>Fuzzy-rank entries across all sources; current builds also accept positional query words
marketplace inspect <name>Show full entry metadata
marketplace install <name> --dcc <dcc> --reloadInstall a plugin, bundle, or Skill and refresh running adapters
marketplace install <name> --target <kind:id>Install a generic package such as a CUA Profile
marketplace list-installed --dcc <dcc>List installed packages
marketplace list-installed --target <kind:id>List packages for an application target
marketplace uninstall <name> [--dcc <dcc>] [--reload]Remove an installed package and optionally refresh the adapter
marketplace outdated [name] --dcc <dcc>Check for newer versions
marketplace update [name] --allUpgrade installed packages
marketplace add-repo <repo> --commit <oid> [--dcc]Install an immutable Git commit directly
marketplace pack <path> --out dist/Build a zip package and SHA-256 digest
marketplace publish <path> --catalog <file>Upsert a catalog entry for a package

Full argument reference: cli-reference.md.

One Install for Every Declared Host ​

An entry that declares several hosts — dcc: ["maya", "blender", "houdini"] — ships a single tree that all of those hosts can load, so marketplace install writes it once. Both of these install the same package:

bash
# No host given, or the explicit shared-install spelling.
dccmcp marketplace install dcc-asset-polyhaven
dccmcp marketplace install dcc-asset-polyhaven --dcc all
Entry declares--dccLanding spot
One host (["maya"])omitted, or mayamarketplace/maya/<name>/
Several hostsomitted, all, or anymarketplace/any/<name>/
Host-neutral (["any"])omitted, all, any, or a hostmarketplace/any/<name>/

The shared any directory is already part of every host's skill search path, so one copy is found by all of them. Shared marketplace roots are searched before host-specific roots, which keeps one canonical multi-host version from being shadowed by an older per-host copy. --dcc all on an entry that declares a single concrete host is rejected: such an entry is host-specific and keeps landing in its own directory.

Because a host really does load shared packages, marketplace list-installed --dcc <host> reports them and marketplace uninstall <name> --dcc <host> removes them.

Packages installed before this behaviour existed left one copy per host behind. Installing the shared copy reports those paths in the install JSON as superseded; they remain duplicate files and keep costing disk until they are removed:

bash
dccmcp marketplace uninstall dcc-asset-polyhaven --dcc maya

Package Shapes ​

The install command accepts all existing single-Skill packages and bundles. It also recognizes Agent Plugins 1.0 when the package has a root plugin.json. Agent Plugin Skills are discovered only from immediate skills/<name>/SKILL.md children; the manifest schema, plugin name, and resolved path containment are validated before install.

package.format: agent-plugin advertises that portable layout. package.format: skill-bundle advertises the existing DCC-MCP layout with multiple source.skillRoots. In both cases package.skills provides the component names shown by the marketplace UI. DCC-MCP currently installs Skill components and ignores optional Agent Plugin mcp.json because DCC adapters already own the runtime MCP connection.

Catalog v2 also supports generic targets and typed components. Target kinds are dcc, application, game, and web; package formats are skill, skill-bundle, agent-plugin, cua-profile, and composite. A CUA Profile entry has one cua-profile component with a package-relative root:

json
{
  "name": "the-bazaar-profile",
  "description": "The Bazaar semantic profile",
  "targets": [{"kind": "game", "id": "the-bazaar"}],
  "package": {
    "format": "cua-profile",
    "components": [
      {"kind": "cua-profile", "id": "the-bazaar", "root": "."}
    ]
  }
}

The Marketplace delegates Profile validation, installation, and removal to dcc-cua profile validate|install|uninstall with exact process arguments. Core does not parse the Profile schema. DCC_MCP_CUA_BINARY may select an explicit binary; otherwise the CLI checks its sibling directory and then PATH.

Installation Types ​

Three install types are supported, controlled by the catalog entry's install.type field. Adapter entries may also set install.instructions_url to the raw adapter-maintained install.md; the install command exposes that URL as a read-install-instructions next step so agents follow the latest host-specific setup runbook instead of core-hardcoded DCC instructions. Use install.python_path only when the catalog intentionally pins a host Python interpreter; the older mayapy_path spelling remains a backward-compatible input alias and should not be used for new entries.

Git (install.type: git) ​

Requires a full 40-character commit object ID, fetches that exact object, checks it out detached, and verifies HEAD before installation. Branches, tags, short object IDs, and missing refs fail before Git starts. Updates reinstall the next catalog-pinned commit through the same staging boundary.

yaml
- name: dcc-mcp-maya-skills
  install:
    type: git
    url: "https://github.com/example/dcc-mcp-maya-skills.git"
    ref: "0123456789abcdef0123456789abcdef01234567"

Zip (install.type: zip) ​

Downloads a ZIP archive (from HTTPS URL or local path) and extracts it. Remote archives require sha256 verification. The archive root must contain exactly one top-level directory, which is flattened automatically.

yaml
- name: dcc-asset-hunyuan-download
  install:
    type: zip
    url: "https://example.com/packages/hunyuan-v2.zip"
    sha256: "sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"

Path (install.type: path) ​

Copies files from a local directory. Useful for development or internal tooling.

yaml
- name: my-internal-skills
  install:
    type: path
    url: "/share/skills/my-internal-skills"

Release Packaging (pack / publish) ​

Use pack in package repositories to build a zip and digest, then upload the zip with GitHub's release tooling and use publish to update a local marketplace.json checkout:

bash
dccmcp marketplace pack . --out dist/
gh release upload v0.1.0 dist/my-skill.zip --clobber
dccmcp marketplace publish . \
  --catalog ../marketplace/marketplace.json \
  --install-url https://github.com/<owner>/<repo>/releases/download/v0.1.0/my-skill.zip \
  --sha256 sha256:<digest>

Publish a Profile package with explicit typed metadata:

bash
dccmcp marketplace publish . \
  --catalog ../marketplace/marketplace.json \
  --install-url https://example.com/the-bazaar-profile.zip \
  --name the-bazaar-profile \
  --description "The Bazaar semantic profile" \
  --target game:the-bazaar \
  --format cua-profile \
  --component cua-profile:the-bazaar=.

This is the recommended path for stable packages. Development packages can still use install.type: git, but must publish the exact commit being tested.

Minimal GitHub Actions shape for package repositories:

yaml
on:
  push:
    tags: ["v*"]

permissions:
  contents: write

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Pack marketplace package
        run: dccmcp marketplace pack . --out dist/
      - name: Upload release asset
        run: gh release upload "${GITHUB_REF_NAME}" dist/*.zip --clobber
        env:
          GH_TOKEN: ${{ github.token }}

Direct GitHub Install (add-repo) ​

Inspired by npx skills, the marketplace add-repo command installs a Skill or Agent Plugin directly from a GitHub repository without requiring a marketplace.json catalog entry. It clones the repo, validates a root plugin.json when present, and installs either the complete plugin or the matching Skill.

Usage ​

bash
# Install from GitHub shorthand (owner/repo → https://github.com/owner/repo.git)
dccmcp marketplace add-repo dcc-mcp/dcc-mcp-maya --dcc maya

# Install from full URL
dccmcp marketplace add-repo https://github.com/dcc-mcp/dcc-mcp-maya --dcc maya

# List available skills in a repo without installing
dccmcp marketplace add-repo dcc-mcp/dcc-mcp-maya --list

# Install a subpath within a repo (e.g., owner/repo@subdir)
dccmcp marketplace add-repo my-org/skill-repo@maya-skills --dcc maya

# Force replace an existing installation
dccmcp marketplace add-repo dcc-mcp/dcc-mcp-maya --dcc maya --force

How It Works ​

  1. Clone: runs git clone --depth 1 of the target repo to a temporary staging directory.
  2. Discover: scans the repo root and immediate subdirectories for SKILL.md files.
  3. Parse: extracts name, description, and dcc (from metadata.dcc-mcp.dcc) from the YAML frontmatter.
  4. Select: if the repo contains exactly one skill, it is installed automatically. If multiple skills exist, --dcc is required to select one.
  5. Install: copies the skill directory to ~/.dcc-mcp/marketplace/<dcc>/<name>/. Host-neutral entries and multi-DCC entries install once under ~/.dcc-mcp/marketplace/any/<name>/.
  6. Record: the installation is persisted in installed.json and discoverable via list-installed.

SKILL.md Discovery ​

Skills are discovered by finding SKILL.md files — first checking the repo root, then nested skill directories. The frontmatter must contain at least a name field. The dcc field (under metadata.dcc-mcp.dcc) is optional but recommended; use --dcc when it is absent.

Repo Reference Formats ​

FormatExample
GitHub shorthanddcc-mcp/dcc-mcp-maya
Full HTTPS URLhttps://github.com/dcc-mcp/dcc-mcp-maya.git
SSH URLgit@github.com:dcc-mcp/dcc-mcp-maya.git
With subpathdcc-mcp/dcc-mcp-maya@subdir

Comparison with Catalog Install ​

Aspectmarketplace installmarketplace add-repo
Requires catalog entryYesNo
Source resolutionVia sources.json / --sourceDirect GitHub clone
Version trackingCatalog version + commit OIDExplicit --commit OID
Update mechanismCatalog-driven update checkRe-clone (future)
SKILL.md discoveryVia catalog entry metadataFilesystem scan

Directory Layout ​

Installed packages land under:

~/.dcc-mcp/marketplace/
├── sources.json              # registered source list
├── installed.json            # installed-package state
├── any/                      # shared packages for every DCC host
│   └── dcc-cross-dcc-skill/
├── maya/
│   ├── dcc-mcp-maya-skills/  # installed git clone
│   ├── my-custom-skill/      # installed path copy
│   └── .packages/
│       └── rig-plugin/       # one manifest for unified bundle uninstall
└── blender/
    └── dcc-blender-skills/

DCC adapters automatically include ~/.dcc-mcp/marketplace/any, the legacy ~/.dcc-mcp/marketplace/all, and then ~/.dcc-mcp/marketplace/<dcc> in their skill search paths (see collect_skill_search_paths() in server_base.py), so installed skills appear on adapter startup or reload_skill_paths. Shared marketplace packages use one canonical version across DCC hosts, so the shared root has priority when the same skill name exists in multiple marketplace roots.

Environment Variables ​

VariableDefaultDescription
DCC_MCP_MARKETPLACE_SOURCESunsetComma-separated extra sources
DCC_MCP_MARKETPLACE_SOURCES_FILE~/.dcc-mcp/marketplace/sources.jsonSources persistence path
DCC_MCP_MARKETPLACE_NO_DEFAULT_SOURCESunsetDisable built-in official source
DCC_MCP_MARKETPLACE_INSTALL_ROOT~/.dcc-mcp/marketplaceInstall root directory override
DCC_MCP_MARKETPLACE_OFFLINEunsetForce local-only catalog mode
DCC_MCP_MARKETPLACE_CATALOG_URLofficial marketplace URLOverride remote catalog URL

Security ​

  • Path traversal protection: marketplace_path_component() rejects empty components, ., .., leading dots, and non-ASCII alphanumeric characters.
  • SHA256 verification: Remote zip installs require install.sha256 and reject mismatches without modifying existing packages.
  • HTTPS transport: Remote catalogs, git sources, and package archives reject public HTTP URLs.
  • Archive escape detection: Zip extraction rejects entries that escape the install root directory.
  • Uninstall root protection: Recorded package paths must remain below the DCC marketplace root before deletion is attempted.
  • ClawHub packaging: ClawHub archives omit VCS metadata, caches, bytecode, and symlinked files before publication.
  • Force mode: --force re-attempts install on failure but preserves the existing package when the replacement itself fails.

Gateway Integration ​

The gateway exposes catalog data through MCP resources:

python
# Search all catalog entries
result = client.resources_read("gateway://catalog?query=physics")

# Single entry by exact name
result = client.resources_read("gateway://catalog/dcc-mcp-physics-sim")

The gateway fetches the remote marketplace.json on a 5-minute cache cycle, falling back to the local dcc-mcp-catalog.yml when offline. Set DCC_MCP_MARKETPLACE_OFFLINE=1 to force local-only mode.

Catalog Entry Format ​

yaml
- name: dcc-mcp-maya-skills          # unique kebab-case identifier
  description: "Official Maya skill pack"
  dcc: [maya]                        # supported DCC types
  url: "https://github.com/..."      # project URL
  tags: [skills, maya, official]     # searchable tags
  version: "1.2.0"                   # current version
  min_core_version: ">=0.17.0"       # minimum dcc-mcp-core version
  install:
    type: git                        # git | zip | path
    url: "https://github.com/..."
    ref: "0123456789abcdef0123456789abcdef01234567" # full commit OID (git)
    sha256: "sha256:<64-hex-digest>" # mandatory content hash (zip)
  package:
    format: agent-plugin              # agent-plugin | skill-bundle
    skills: [maya-rig, rig-review]    # displayed package components
  maintainer: "team@example.com"     # optional contact

Admin Workflow ​

The Marketplace panel in the Admin Dashboard provides the same capabilities as the CLI marketplace subcommand through a graphical interface. It is accessible from the left navigation in the Admin Dashboard.

Accessing the Panel ​

Navigate to the Admin Dashboard (/admin) and select Marketplace from the left navigation. The panel loads the catalog from all configured sources and displays the Browse tab by default.

Browsing and Installing ​

  1. Browse tab: use the search bar to find packages by name, description, or tags. Use the DCC type Chip row to filter by application type. Search and DCC filter can be combined.
  2. Inspect: click any package card to open the detail modal, which shows full metadata including version, included Skills, DCC type, tags, maintainer, project URL, source, install type, and min_core_version compatibility information.
  3. Install: click the Install button on a card or in the detail modal. On success, an inline notice appears with a View in Skills deep link that jumps to the Skills panel and highlights the newly loaded skill.

Managing Installed Packages ​

Switch to the Installed tab to see all currently installed packages. Each card shows the package name, version, DCC type, and install type. Click Uninstall to remove a package. Both install and uninstall operations automatically refresh the skill index when the backend reports a reload_required flag.

Adding Sources from the UI ​

The Marketplace panel reflects the same source configuration as the CLI. Source management is available through the Admin API (POST /admin/api/marketplace/sources) and is also accessible from the panel's source management interface.

Note that marketplace add-repo (direct GitHub install) is a CLI-only feature and does not require a catalog source entry. Admin UI support is planned for a future phase.

Relationship Between CLI and Admin UI ​

AspectCLIAdmin UI
Catalog searchmarketplace search --query <q>Browse tab with search + DCC filter
Installmarketplace install <name> --dcc <dcc> --reloadInstall button on card or detail modal
Uninstallmarketplace uninstall <name> [--dcc <dcc>] [--reload]Uninstall button in Installed tab
List installedmarketplace list-installed --dcc <dcc>Installed tab
Add sourcemarketplace add <source>Source management in panel
Direct GitHub installmarketplace add-repo <repo> --commit <oid> --dcc <dcc>Admin API (planned)
Updatemarketplace update [name] --allAdmin API (POST /admin/api/marketplace/update)
Live adapter refreshBundled with install --reload; standalone after update/uninstallAutomatic when the backend reports reload_required

Both interfaces share the same installed package state, but live adapters only see newly installed CLI packages after startup or an explicit dccmcp reload-skills --dcc-type <dcc>. The Admin UI triggers that reload automatically when its backend reports reload_required.

See Also ​

Released under the MIT License.