This guide covers how to publish your plugins to the CortexPrism Marketplace for distribution to all users.
Before publishing, you need a marketplace account:
- Register at cortexprism.io/register
- Create an account with your email and username
- Verify your email address
Ensure your plugin has a complete manifest and is tested:
# Test locally
cortex plugins install ./my-plugin
cortex plugins enable my-plugin
# Verify it works in a chat session
cortex chat- Go to the Publish Plugin page
- Fill in the required fields:
- Basic Info: Name, version, description
- Plugin Details: Kind (ESM/MCP/WASM), entry point, capabilities
- Author & Links: Author name, website, repository, license
- Media: Icon (256x256 PNG/SVG recommended), screenshots
- Tags: Add relevant tags for discoverability
- Submit for review
For CI/CD pipelines:
# Authenticate
TOKEN=$(curl -s -X POST https://cortexprism.io/api/auth/login \
-H 'Content-Type: application/json' \
-d '{"email":"user@example.com","password":"your-password"}' \
| jq -r '.token')
# Submit plugin
curl -X POST https://cortexprism.io/api/marketplace/plugins \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "my-plugin",
"version": "1.0.0",
"description": "Does awesome things",
"kind": "esm",
"entryPoint": "mod.ts",
"capabilities": ["tools", "network:fetch"],
"tags": ["text", "processing"],
"repository": "https://github.com/user/my-plugin",
"license": "MIT"
}'After submission:
- Status is set to pending
- An admin reviews your submission (typically within 48 hours)
- You receive notification of approval or rejection
- If approved, your plugin is live on the marketplace
Check submission status on your Dashboard.
| Requirement | Details |
|---|---|
| Naming | kebab-case, unique across marketplace |
| Version | Valid semver (e.g., 1.0.0) |
| Entry point | Must be accessible and valid |
| Capabilities | At least one capability defined |
| License | SPDX identifier required (MIT, Apache-2.0, etc.) |
| README | Strongly recommended: usage instructions, examples |
| Icon | Recommended: 256x256 PNG or SVG |
For full submission standards including repository structure, versioning rules, and AI disclosure requirements, see Submission Standards.
Update your plugin by submitting a new version:
curl -X PUT https://cortexprism.io/api/marketplace/plugins/my-plugin \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"version": "1.1.0",
"description": "Added new capabilities",
"entryPoint": "mod.ts",
"capabilities": ["tools", "network:fetch", "fs:read"]
}'Each published version is stored in the version history. Users can see the changelog and update their local installations via cortex plugins update.
| Endpoint | Method | Description |
|---|---|---|
/api/marketplace/plugins |
GET | List plugins with search/filter/pagination |
/api/marketplace/plugins |
POST | Submit a new plugin |
/api/marketplace/plugins/:id |
GET | Get plugin details |
/api/marketplace/plugins/:id |
PUT | Update plugin |
/api/marketplace/plugins/:id/download |
GET | Download plugin manifest |
/api/marketplace/plugins/:id/reviews |
GET | List reviews |
/api/marketplace/plugins/:id/reviews |
POST | Submit a review |
See the OpenAPI docs for the complete specification.
- Write a clear description — Explain what your plugin does and how to use it
- Add tags — Use relevant tags for search discoverability
- Include a README — Provide detailed usage instructions within the plugin
- Use screenshots — Show the plugin in action
- Version carefully — Follow semantic versioning
- Respond to reviews — Engage with user feedback
- Keep dependencies minimal — Faster install, fewer conflicts
- Add a license — Clearly state usage terms
- Link to source — If open source, link the repository