@mediagraph/mcp 1.0.8 → 1.0.9

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/dist/index.js +10 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2521,8 +2521,15 @@ var workflowTools = {
2521
2521
  },
2522
2522
  {
2523
2523
  name: "approve_workflow_step",
2524
- description: "Approve a workflow step",
2525
- inputSchema: { type: "object", properties: { id: idParam }, required: ["id"] }
2524
+ description: "Approve selected assets in a workflow step, moving them to the next step",
2525
+ inputSchema: {
2526
+ type: "object",
2527
+ properties: {
2528
+ id: idParam,
2529
+ asset_ids: { type: "array", items: { type: "number" }, description: "Array of asset IDs to approve" }
2530
+ },
2531
+ required: ["id", "asset_ids"]
2532
+ }
2526
2533
  }
2527
2534
  ],
2528
2535
  handlers: {
@@ -2533,7 +2540,7 @@ var workflowTools = {
2533
2540
  return successResult(await client2.getWorkflow(args.id));
2534
2541
  },
2535
2542
  async approve_workflow_step(args, { client: client2 }) {
2536
- return successResult(await client2.approveWorkflowStep(args.id));
2543
+ return successResult(await client2.approveWorkflowStep(args.id, args.asset_ids));
2537
2544
  }
2538
2545
  }
2539
2546
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediagraph/mcp",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "MCP server for Mediagraph - Media Asset Management Platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",