@writepanda/mcp 1.32.1 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/server.mjs +23 -0
- package/package.json +1 -1
package/bin/server.mjs
CHANGED
|
@@ -566,6 +566,29 @@ const TOOLS = [
|
|
|
566
566
|
},
|
|
567
567
|
command: "project.set-overlay-backdrop-blur",
|
|
568
568
|
},
|
|
569
|
+
{
|
|
570
|
+
name: "project_set_overlay_crop",
|
|
571
|
+
description:
|
|
572
|
+
"Set or clear a source-pixel crop on a media overlay (image / video / motion graphic). Coordinates are normalized 0–1 over the overlay's NATIVE source dimensions (NOT the canvas) — independent of where the overlay is positioned on the timeline. Common uses: cut black bars off b-roll before compositing; isolate the centre column of a 16:9 clip when stacking it into a 9:16 short; zoom into one quadrant of a motion graphic. Omit x/y/width/height (or pass identity {0,0,1,1}) to clear the crop entirely. The renderer clamps out-of-range values so a malformed crop is at worst 'whole source'.",
|
|
573
|
+
inputSchema: {
|
|
574
|
+
type: "object",
|
|
575
|
+
properties: {
|
|
576
|
+
id: { type: "string" },
|
|
577
|
+
path: { type: "string" },
|
|
578
|
+
regionId: {
|
|
579
|
+
type: "string",
|
|
580
|
+
description: "Media-overlay region id from project.read.",
|
|
581
|
+
},
|
|
582
|
+
x: { type: "number", description: "Crop x origin in [0, 1) of source width." },
|
|
583
|
+
y: { type: "number", description: "Crop y origin in [0, 1) of source height." },
|
|
584
|
+
width: { type: "number", description: "Crop width in (0, 1] of source width." },
|
|
585
|
+
height: { type: "number", description: "Crop height in (0, 1] of source height." },
|
|
586
|
+
expectedRevision: { type: "number" },
|
|
587
|
+
},
|
|
588
|
+
required: ["regionId"],
|
|
589
|
+
},
|
|
590
|
+
command: "project.set-overlay-crop",
|
|
591
|
+
},
|
|
569
592
|
{
|
|
570
593
|
name: "project_add_fx",
|
|
571
594
|
description: "Drop an FX overlay (bundled fxId or custom video URL) onto the timeline.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@writepanda/mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.33.0",
|
|
4
4
|
"description": "Model Context Protocol server for PandaStudio. Exposes the desktop video editor's automation surface to Cursor, Continue, Cline, Claude Desktop, and any MCP-compliant client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pandastudio",
|