Plugin Marketplace
The Plugin Marketplace is the catalog of plugins that extend StudioBrain. You browse it from the app, install a plugin, and turn it on or off.
Overview
- Browse the catalog with search and filtering (page:
/plugins/marketplace, the unified marketplace shared with core). - Install a plugin. On the SaaS (
app.studiobrain.ai) an install is recorded per project (aplugin_installationsrow keyed by tenant, project, and plugin). - Enable / disable an installed plugin without removing it.
- Uninstall a plugin (self-hosted / native server only; see the SaaS note below).
- Trust tiers distinguish Official, Partner, and Community content.
Plugins run as sandboxed WASM components. Official cloud plugins are delivered as one Worker per plugin, compiled at deploy time; the app never fetches and compiles plugin code at runtime in the cloud.
Using the Marketplace
- Open Plugins > Marketplace.
- Search or filter the catalog.
- Click Install. Installs start disabled.
- Enable the plugin and configure its settings if it has any.
A workspace admin can restrict which plugins may be installed through tenant plugin policy; if policy blocks a plugin, the install or enable call is rejected with reason: "tenant_policy".
Trust and Verification
- Official / Verified: plugins from Biloxi Studios, trusted vendors, and reviewed partners carry the Verified badge.
- Community: submitted by third parties and validated automatically (for example, they must use the WASM sandbox). They do not carry the Verified badge, review the requested permissions before installing, and installing one requires an explicit trust consent.
API Reference
All routes are under /api/plugins/marketplace and require authentication. The self-hosted sb-server implements the full family (crates/sb-server/src/routes/plugins.rs in core). On api.studiobrain.ai, the sb-server-worker forwards only a subset to the accounts worker (see “SaaS differences”).
| Method | Path | Purpose |
|---|---|---|
| GET | /api/plugins/marketplace | List catalog plugins (query: category, search, featured, limit, offset) |
| GET | /api/plugins/marketplace/info | Catalog summary and install-quota snapshot |
| GET | /api/plugins/marketplace/{plugin_id} | One catalog entry |
| POST | /api/plugins/marketplace/sync | Refresh the catalog |
| GET | /api/plugins/marketplace/tenant/installed | Installed plugins (enabled_only filter) |
| POST | /api/plugins/marketplace/tenant/install | Install: body { "plugin_id", "source", "source_url" }. plugin_id and source are required |
| POST | /api/plugins/marketplace/tenant/{plugin_id}/enable | Enable (self-hosted) |
| POST | /api/plugins/marketplace/tenant/{plugin_id}/disable | Disable (self-hosted) |
| DELETE | /api/plugins/marketplace/tenant/{plugin_id} | Uninstall (self-hosted) |
| POST | /api/plugins/marketplace/tenant/{plugin_id}/grant | Grant requested capabilities |
| GET | /api/plugins/marketplace/tenant/{plugin_id}/capabilities | Read a plugin’s capabilities |
| POST / DELETE | /api/plugins/marketplace/{plugin_id}/rate | Submit or remove a rating |
| GET | /api/plugins/marketplace/{plugin_id}/rating-summary | Rating summary |
| GET | /api/plugins/marketplace/{plugin_id}/reviews | Reviews |
Marketplace info
GET /api/plugins/marketplace/info returns catalog counts and the install snapshot. On the self-hosted server no install quota is enforced:
{
"total_plugins": 12,
"featured_plugins": 3,
"categories": ["creative", "export"],
"status": "available",
"source": "r2-catalog",
"mode": "self_hosted",
"tier": null,
"max_plugins": null,
"enabled_plugin_count": null,
"can_install_more": true
}max_plugins: null and can_install_more: true mean there is no numeric plugin cap.
SaaS differences
On api.studiobrain.ai the install state lives in the accounts worker’s D1 plugin_installations table and is scoped to the project (X-Project-Id):
GET /api/plugins/marketplace,/info,/tenant/installed, andPOST /syncare forwarded to the accounts worker.POST /tenant/installis the real install path.- Enable and disable use
PATCH /api/plugins/marketplace/tenant/installed/{plugin_id}with body{ "enabled": true | false }, not thePOST .../enableand.../disableroutes above.GET /api/plugins/marketplace/tenant/workspace/installedreturns the workspace roll-up. - The
POST .../enable,POST .../disable,DELETE .../tenant/{plugin_id}, grant, and rating routes are not forwarded on the SaaS; the server answers them with a named 501.
Ratings and Reviews
The rating and review endpoints exist on the self-hosted server, but there is no full review experience yet. Do not rely on them for display.
Troubleshooting
- Install fails with
tenant_policy: the workspace’s plugin policy does not allow that plugin. Ask a workspace admin. - Install returns 422:
plugin_idandsourceare both required. - Install fails because the plugin is unknown: the
plugin_idmust resolve against the catalog; check it withGET /api/plugins/marketplace. - Enable rejected: tenant policy is also checked when turning a plugin on.
Related Documentation
- Plugin User Guide - How to use plugins
- Plugin Development - Building plugins
- Plugin Iframe Protocol - Developer API reference
- Agent Skills Marketplace - Similar system for AI skills