propose_plugin_preview
Propose a plugin via MCP and generate a live preview URL for the user to review in the web UI. Once the user approves it (either in the UI or via approve_plugin_preview), it becomes a fully saved plugin.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"name": "<name>",
"schema_json": "<schema_json>"
},
"name": "propose_plugin_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Plugin ID (kebab-case) | |
| name | Yes | Human readable plugin name | |
| modules | No | Optional additional files (e.g. { "utils.ts": "..." }) | |
| category | No | Plugin category (e.g. "content", "visual") | |
| scene_code | No | The main React source code for Scene.tsx | |
| description | No | Short description of what the block does | |
| schema_json | Yes | A JSON string of the block's schema | |
| dependencies | No | npm dependencies the plugin imports (package -> semver) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| previewUrl | No |