@writepanda/mcp 1.23.0 → 1.24.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.
Files changed (2) hide show
  1. package/bin/server.mjs +39 -1
  2. package/package.json +1 -1
package/bin/server.mjs CHANGED
@@ -588,7 +588,11 @@ const TOOLS = [
588
588
  path: { type: "string" },
589
589
  atMs: { type: "number" },
590
590
  durationMs: { type: "number" },
591
- depth: { type: "number", description: "1 (mild) - 6 (extreme). Default 3" },
591
+ depth: {
592
+ type: "number",
593
+ description:
594
+ "1 (mild) - 6 (extreme). Default 2 (1.5×) — soft, modern feel. Use 3-4 for emphasis beats, 5-6 for dramatic punch-ins.",
595
+ },
592
596
  focusX: { type: "number", description: "Normalised 0-1 horizontal center. Default 0.5" },
593
597
  focusY: { type: "number", description: "Normalised 0-1 vertical center. Default 0.5" },
594
598
  soundUrl: {
@@ -1344,6 +1348,40 @@ const TOOLS = [
1344
1348
  inputSchema: { type: "object", properties: {} },
1345
1349
  command: "motion.themes",
1346
1350
  },
1351
+ {
1352
+ name: "media_generate_image",
1353
+ description:
1354
+ 'Generate a single image via Replicate gpt-image-2 — for B-roll, concept stills, reference frames. Project-agnostic; writes to <userData>/generated-images/ and returns { imagePath, prompt, aspectRatio, predictionId }. The canonical B-roll workflow is: media_generate_image → motion_render_html (Ken-Burns + vignette wrap to a WebM) → project_add_motion_graphic — see SKILL.md "B-roll generation". Aspect ratios are gpt-image-2 native (1:1 / 3:2 / 2:3). For 16:9 video B-roll, generate 3:2 and crop in the wrap; for 9:16, generate 2:3. Requires the user\'s Replicate API key (Settings → Integrations).',
1355
+ inputSchema: {
1356
+ type: "object",
1357
+ properties: {
1358
+ prompt: {
1359
+ type: "string",
1360
+ description:
1361
+ "Image-gen prompt. Be visual: lighting, framing, palette, mood. Avoid mentioning text overlays — those land better via the motion-graphic wrap.",
1362
+ },
1363
+ aspectRatio: {
1364
+ type: "string",
1365
+ description: "'1:1' | '3:2' (default) | '2:3'.",
1366
+ },
1367
+ quality: {
1368
+ type: "string",
1369
+ description: "'low' (~½ cost, good for iteration) | 'medium' (default) | 'high'.",
1370
+ },
1371
+ referenceImagePath: {
1372
+ type: "string",
1373
+ description:
1374
+ "Optional reference image — absolute path or https URL — for style transfer / continuity across multiple B-roll stills.",
1375
+ },
1376
+ outputName: {
1377
+ type: "string",
1378
+ description: "Optional file-stem hint. Slugified; timestamp appended automatically.",
1379
+ },
1380
+ },
1381
+ required: ["prompt"],
1382
+ },
1383
+ command: "media.generate-image",
1384
+ },
1347
1385
  {
1348
1386
  name: "motion_generate",
1349
1387
  description:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@writepanda/mcp",
3
- "version": "1.23.0",
3
+ "version": "1.24.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",