MC extension development workflow
MC owns runtime APIs, native panes/viewers/forms, permissions and installation. Develop plugin source in its own repository; installed copies and generated archives are not the source of truth. Filesystem plugins expose a useful hierarchy; tool plugins expose focused commands/forms. Both are self-contained JavaScript providers, not Node applications or arbitrary web panels.
Start with the developer kit
The Max Commander Plugin Author kit contains the skill, API references, examples, validator and packer. AI-assisted development uses the skill in Codex, Claude Code or Gemini CLI; a developer can use the same documentation/scripts manually without an AI agent. Use a developer kit compatible with your installed Max Commander version.
Keep source under plugins/<stable-id>/:
plugin.json identity, version, compatibility, explicit permissionsindex.js self-contained runtime implementationREADME.md setup, permissions, limitations and verificationcatalog.json required when publishing in the official catalogmedia/icon.png original/licensed 512×512 static PNG for the catalogmedia/screenshots/01.png optional real native screenshots, consecutive 01..08dev/SPEC.md design, assumptions and test plan; not packageddev/test.mjs relevant fixtures/tests; not packagedKeep IDs/schemes stable across updates. Credentials use built-in secure.vault; installing the separate Vault plugin is unnecessary. Ordinary non-secret settings use the host schema/config APIs. Network, clipboard, shell, dialogs and mutation APIs need their specific permissions; direct-action APIs must run within a host-owned user action. Use MC's Markdown viewer for descriptions and host UI blocks for forms.
Route A — private/local extension
- Implement manifest, provider, README and relevant tests using the kit contract.
- Run the kit's ordinary validator and packer. Ordinary local packages do not require catalog.json or store artwork.
- Load the .mcx in MC Settings → Plugins, review permissions and enable it explicitly.
- Test the actual installed copy: navigation, previews, settings/actions, missing configuration, denied permissions, offline/auth errors, disable/re-enable and restart.
- Iterate in the source repository, rebuild and reinstall.
From the kit directory:
node ./scripts/validate-plugin.mjs <source-directory>& ./scripts/pack-mcx.ps1 -PluginDirectory <source-directory>MC's ordinary Export to .mcx is an alternative export route for an installed plugin. A private package can later be promoted to the official format by completing Route B; there is no separate runtime implementation.
Route B — official catalog extension
- Complete catalog.json with category, short summary, user-facing Markdown description and changelog. Do not duplicate manifest identity/version/permissions in it.
- Add media/icon.png. Optional screenshots must capture the real MC app and declare caption/native_capture provenance; omit screenshots until they exist. No external image uploads or URLs in the submission.
- Run strict source validation and the official packer; it verifies both source and the actual ZIP. Or use MC's separate Export for store action against an installed source with all required assets.
- Install that exact archive in the target host and collect native smoke evidence; static validation does not prove UX, remote service operation or credential safety.
- Deliver one <id>-<version>-store.mcx to the Sterling catalog operator. Catalog publication is reviewed by Sterling; submitting an archive does not publish it automatically.
- Sterling independently revalidates the archive, derives identity/size/SHA-256, extracts descriptions and images, and publishes immutable package/media resources after review and authorization. The developer does not supply hosting URLs or separate metadata files.
- MC's catalog reads the published release, displays description/media/version/date, and delegates explicit Install/Update to the host permission-review flow. Updates preserve settings and vault namespaces.
node ./scripts/validate-plugin.mjs <source-directory> --official-release& ./scripts/pack-mcx.ps1 -PluginDirectory <source-directory> -OfficialReleasenode ./scripts/validate-plugin.mjs <id>-<version>-store.mcx --official-release --archiveAn official package also works for direct local installation. Export does not publish. Passing strict package validation is structural eligibility; release approval also requires behavioral/security/native checks. See the official package specification below for exact image, text, ZIP and compatibility limits.
Updates and repository convention
Increment the version before changing any published bytes, including description/icon edits. A published id/version is immutable; never rebuild different bytes under it. Keep changelog, manifest and archive filename coherent. Repeat relevant tests, strict packaging and native smoke, then submit the new single archive through the same review path.
Official plugin package
Developers submit one .mcx. Catalog text and images belong to the plugin source and travel inside the package; there is no separate image upload or editorial submission.
Required layout
plugin.jsonindex.jsREADME.mdcatalog.jsonmedia/ icon.png screenshots/ 01.png # optional; continue consecutively through 08.pngplugin.json owns identity, name, author, version, permissions and compatibility. Set readme to README.md. Official releases target Windows with explicit minimum MC version. Never duplicate these release facts in catalog.json.
catalog.json is UTF-8 JSON (maximum 256 KiB) with this shape:
{ "schema_version": 1, "category": "media", "summary": "Browse your media library inside Max Commander.", "description_markdown": "## Setup\nConfigure your server in plugin settings.", "changelog_markdown": "Fix library navigation.", "icon": { "path": "media/icon.png" }, "screenshots": []}Describe what users can do, setup, and limitations. Category is at most 64 characters; summary at most 240. Description and changelog are each at most 65,536 Unicode characters, with additional UTF-8 limits of 128 KiB for description and 64 KiB for changelog. README is the developer/setup document; catalog description is the public store presentation. Don't invent native validation or successful playback.
Images
The required icon is a static 512 × 512 PNG at exactly media/icon.png. Use original or appropriately licensed artwork. Optional screenshots are static PNG files at media/screenshots/01.png through 08.png, consecutively numbered in display order. Maximum eight screenshots, 8192 pixels per dimension and 32 million pixels per image. All bundled images together must fit within 4 MiB. No external image URLs, animation, SVG, JPEG, or WebP in this official source format.
Each screenshot entry contains its fixed relative path, a caption and real-capture metadata:
{ "path": "media/screenshots/01.png", "caption": "Browse a configured media library", "provenance": { "type": "native_capture", "app_version": "0.9.10", "captured_at": "2026-10-06T10:00:00.000Z", "surface": "Max Commander library panel" }}Captions are at most 240 characters; surface at most 120. Use a numeric major.minor.patch app version and a valid UTC RFC3339 capture timestamp ending in Z. Capture the actual app and review credentials, account details and private paths before packaging. Provenance is the developer's attestation, not automated proof. Leave screenshots empty until real captures exist. No unlisted media files belong in the package.
Build and submit
The Plugin Author developer kit supplies scripts/validate-plugin.mjs and scripts/pack-mcx.ps1. Run these from the kit directory (replace the source path):
node scripts/validate-plugin.mjs <source-directory> --official-release& ./scripts/pack-mcx.ps1 -PluginDirectory <source-directory> -OfficialReleaseDefault output is plugins/packed/<id>-<version>-store.mcx next to the source collection. The packer validates the source and the actual completed archive. To inspect a previously built package, run node scripts/validate-plugin.mjs <archive.mcx> --official-release --archive. Ordinary local plugin packaging remains supported separately. MC's store export uses the same requirements. Submit only the resulting .mcx to Sterling's official publication flow.
Sterling revalidates the actual archive, extracts the bundled catalog and images, and hosts images at immutable digest-addressed URLs. Those server URLs are generated by publication, not provided by the developer. Operator review files are internal artifacts, not additional developer submissions. Changes to an already published package require a new version.