@clipwright/mcp-server 0.27.0 → 0.28.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/CHANGELOG.md CHANGED
@@ -16,6 +16,37 @@ a customer reading it should not miss what appeared in the product. Like *Server
16
16
  they are live from the day the web app was deployed, not from the package release they are
17
17
  listed under.
18
18
 
19
+ ## [0.28.0] - 2026-10-15
20
+
21
+ The revision of a faceless video is paid and open: `quoteRevision` and `startRevision` in the SDK, `revise-quote` and
22
+ `revise` in the CLI, and the MCP tools `quote_revision` and `revise_run`, which make the server list 17 tools. Three
23
+ failure kinds are new: `editing_closed`, `edit_ceiling_reached` and `edit_invalid`.
24
+
25
+ ### Added
26
+
27
+ - A finished faceless video can be revised: `quoteRevision` and `startRevision` in the SDK, `revise-quote` and
28
+ `revise` in the CLI, and the MCP tools `quote_revision` and `revise_run`. A revision is a new run made from the
29
+ edited document, or from shots named to be generated anew. The quote charges nothing. An identical request returns
30
+ the same run; `attempt` (`--retry` in the CLI) starts a second revision on purpose. A revision that delivers is
31
+ charged its quoted total; one that fails is charged nothing, even when its paid work was already done. While paid
32
+ edits are closed on the server, both calls answer `editing_disabled`. (clipwright#604)
33
+
34
+ ### Changed
35
+
36
+ - **Breaking:** `@clipwright/core`, for TypeScript callers: the union `ApiFailure` has three more members,
37
+ `editing_closed`, `edit_ceiling_reached` and `edit_invalid`. A `switch` over `failure.kind` that is checked for
38
+ exhaustiveness does not compile until it handles them. Code that does not switch on the kind is not affected.
39
+ (clipwright#604)
40
+ - The refusals of the revision routes have failure kinds of their own: `editing_closed` for the 503s
41
+ `editing_disabled`, `editing_not_priced` and `editing_window_not_set`, which are no longer retried as server errors;
42
+ `edit_ceiling_reached` with the limit, the count and the runs counted; `edit_invalid` with the issues of the
43
+ document. They were `server_error` and a `client_error` without their fields. (clipwright#604)
44
+ - *Dashboard:* `/videos` lists faceless videos as well as UGC videos. A faceless video has no still frame, so its
45
+ tile says that no preview was recorded, and a click plays it like any other tile. "Get video link" on the Balance
46
+ page now gives the link of a faceless video, where it used to answer "No video for this run.". (clipwright#604)
47
+ - *Dashboard:* a revision is labelled with the run it revises on the Balance page and on `/videos`, and the docs page
48
+ lists the prices of a revision. (clipwright#604)
49
+
19
50
  ## [0.27.0] - 2026-10-13
20
51
 
21
52
  The shots of a finished video can be read, and the draft of an edit can be kept: `getRunShots`, `getRunEdit` and
package/README.md CHANGED
@@ -51,6 +51,15 @@ Any MCP host works — the server speaks JSON-RPC over stdio.
51
51
  - `get_run_shots` — the shots of a finished video: the span, kind, description
52
52
  and preview link of each, with the narration words and their timing. Free and
53
53
  read-only. A run with no shots to show answers with the reason instead.
54
+ - `quote_revision` — price of a revision of a faceless video: what it would
55
+ change and what it costs. Free.
56
+ - `revise_run` — **starts a revision: a new run that renders the video again
57
+ with the shots you change; this costs money.** Pass `changes` (a shot and what
58
+ to generate for it) or the whole edited `document`. A revision that delivers
59
+ is charged its quoted total; one that fails is charged nothing, even when its
60
+ paid work was already done. An identical request returns the same run;
61
+ `attempt` starts a second one on purpose. Returns a `run_id` immediately; poll
62
+ `get_run` until `succeeded`.
54
63
  - `upload_image` — a local PNG/JPEG → signed https url to pass as `image`. Free;
55
64
  20 per day, the url lives 24 hours. Set `aspect_ratio` explicitly afterwards.
56
65
  - `quote_actor` — price of a personal actor before creating one. Free.
package/SKILL.md CHANGED
@@ -164,9 +164,9 @@ Environment variables:
164
164
  | `CLIPWRIGHT_CLIENT_ID` | YES (see section 2) | Unique identifier of this INSTALLATION. |
165
165
 
166
166
  After connecting, restart or reopen the MCP host and confirm that `tools/list`
167
- returns 15 tools: `make_ugc`, `get_run`, `get_run_shots`, `quote_ugc`, `list_actors`, `list_voices`, `upload_image`,
168
- `get_account`, `create_actor`, `quote_actor`, `delete_actor`, `get_actor_defaults`, `set_actor_defaults`,
169
- `quote_faceless`, `make_faceless`.
167
+ returns 17 tools: `make_ugc`, `get_run`, `get_run_shots`, `quote_revision`, `revise_run`, `quote_ugc`, `list_actors`,
168
+ `list_voices`, `upload_image`, `get_account`, `create_actor`, `quote_actor`, `delete_actor`, `get_actor_defaults`,
169
+ `set_actor_defaults`, `quote_faceless`, `make_faceless`.
170
170
 
171
171
  ## 2. `CLIPWRIGHT_CLIENT_ID` — required, and WHY
172
172
 
@@ -542,10 +542,39 @@ A field named in `withheld` is null on every shot, so a null `description` or
542
542
 
543
543
  `editable.media_available_until` is how long the media of the run are stored.
544
544
  `paid_edits.enabled` says whether a video can be made from an edit; while it is
545
- `false`, none can. This server has no tool that changes a video. Read `kind`, `line`,
545
+ `false`, none can, and `revise_run` answers `editing_disabled`. Read `kind`, `line`,
546
546
  `editable.state` and each shot's `operations` as open strings, because a later
547
547
  API may name values this text does not list.
548
548
 
549
+ ### `quote_revision` — free; `revise_run` — paid
550
+
551
+ Both take a `run_id` and exactly one of `changes` (shots to generate anew over
552
+ the run as it is: each a `shot_id` and its `operation`, such as
553
+ `{ "mode": "retake" }`) or `document` (the whole edited document; retimes,
554
+ deletions and uploads go this way). `quote_revision` answers what the revision
555
+ would change (`summary`) and cost (`billing.total_credits`) and spends nothing.
556
+ Show the user that price before `revise_run`.
557
+
558
+ `revise_run` starts a NEW run and returns it at once; poll it with `get_run`.
559
+ Once it succeeded it is editable under its own `run_id`. A revision that
560
+ delivers is charged its quoted total; one that fails is charged nothing, even
561
+ when its paid work was already done. An identical request returns the same run
562
+ it started before, so a call repeated after a lost answer starts nothing new;
563
+ pass `attempt: 2` to start a second revision with the same request on purpose.
564
+
565
+ The refusals are terminal; do not retry them unchanged:
566
+
567
+ - `editing_disabled`, `editing_not_priced`, `editing_window_not_set` (503) —
568
+ paid edits are not open. Nothing was charged and no run was created.
569
+ - `edit_ceiling_reached` (409) — `ceiling: "in_flight"` means a revision of the
570
+ original is still running: follow `run_ids` with `get_run` and start the next
571
+ one after it finishes; if it is held for review, contact support.
572
+ `"failed_or_unfinished"` means support has to raise the limit.
573
+ - `edit_invalid` (422) — the document breaks a rule of the run; `issues` lists
574
+ each, and the rules are in the run's shots.
575
+ - `run_not_editable` (409) with `state: "edit_window_closed"` — the paid window
576
+ of the original has closed.
577
+
549
578
  ### `list_actors` — free, no input
550
579
 
551
580
  Returns the permanent actor catalog from `/v1/actors`, including stable
package/dist/server.js CHANGED
@@ -4,7 +4,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
4
4
  import { z } from "zod";
5
5
  // `offeredUgcInputShape`, not the full shape: fields the server rejects must not
6
6
  // be offered to a caller who would get a 400 for using them.
7
- import { offeredUgcInputShape, actorDefaultsInput, BROLL_POLICY_DESCRIPTION, CATALOG_LANGUAGES, CREATE_ACTOR_DESCRIPTION, createActorInputShape, DEFAULT_FACELESS_VOICE, FACELESS_VOICE_NAMES, MODEL_VOICE_MODEL, MODEL_VOICE_NAMES, SCRIPT_LENGTH_DESCRIPTION, voicesQueryShape, agentRetryShape, runId, MAKE_UGC_DESCRIPTION, MAKE_UGC_AGENT_PROTOCOL, MAKE_FACELESS_DESCRIPTION, MAKE_FACELESS_AGENT_PROTOCOL, makeFacelessInput, offeredFacelessInput, UPLOAD_IMAGE_DESCRIPTION, UPLOAD_MAX_BYTES, sniffUploadMediaType, } from "@clipwright/core";
7
+ import { offeredUgcInputShape, actorDefaultsInput, BROLL_POLICY_DESCRIPTION, CATALOG_LANGUAGES, CREATE_ACTOR_DESCRIPTION, createActorInputShape, DEFAULT_FACELESS_VOICE, FACELESS_VOICE_NAMES, MODEL_VOICE_MODEL, MODEL_VOICE_NAMES, SCRIPT_LENGTH_DESCRIPTION, voicesQueryShape, agentRetryShape, runId, MAKE_UGC_DESCRIPTION, MAKE_UGC_AGENT_PROTOCOL, MAKE_FACELESS_DESCRIPTION, MAKE_FACELESS_AGENT_PROTOCOL, makeFacelessInput, offeredFacelessInput, REVISION_CHARGE_TEXT, revisionRequest, UPLOAD_IMAGE_DESCRIPTION, UPLOAD_MAX_BYTES, sniffUploadMediaType, } from "@clipwright/core";
8
8
  import { formatGetRun, withFailureReport } from "./format.js";
9
9
  // Version from the manifest: a literal drifts, and a JSON import breaks `rootDir`.
10
10
  const packageVersion = () => createRequire(import.meta.url)("../package.json").version;
@@ -41,7 +41,7 @@ export function createServer(client) {
41
41
  const run = await client.getRun(run_id);
42
42
  return formatGetRun(run);
43
43
  }));
44
- // The only tool of the editor: the draft of an edit stays on REST, the SDK and the CLI.
44
+ // The editor's read tool; the draft of an edit stays on REST, the SDK and the CLI.
45
45
  server.registerTool("get_run_shots", {
46
46
  title: "Get the shots of a run",
47
47
  annotations: { readOnlyHint: true, destructiveHint: false },
@@ -58,6 +58,41 @@ export function createServer(client) {
58
58
  }, async ({ run_id }) => withFailureReport(async () => ({
59
59
  content: [{ type: "text", text: JSON.stringify(await client.getRunShots(run_id)) }],
60
60
  })));
61
+ // The revision pair: a flat object for tools/list, and the union parse refuses none or both of `changes` and `document`.
62
+ const [byDocument, byChanges] = revisionRequest.options;
63
+ const revisionShape = {
64
+ run_id: runId.describe("The run to revise: a succeeded make_faceless run, an original or a revision."),
65
+ changes: byChanges.shape.changes.optional()
66
+ .describe("Shots to generate anew over the run as it is: each a shot_id and the operation to generate for it."),
67
+ document: byDocument.shape.document.optional()
68
+ .describe("The whole edited document, as the run's draft holds it; retimes, deletions and uploads go this way."),
69
+ };
70
+ const revisionOf = ({ changes, document }) => revisionRequest.parse({ ...(changes === undefined ? {} : { changes }), ...(document === undefined ? {} : { document }) });
71
+ server.registerTool("quote_revision", {
72
+ title: "Quote a revision of a run",
73
+ annotations: { readOnlyHint: true, destructiveHint: false },
74
+ description: "Price a revision of a run WITHOUT spending credits: what it would change (summary) and what it costs " +
75
+ "(billing.total_credits). Pass run_id and exactly one of changes or document, the same as revise_run. Always " +
76
+ `call this first and show the user the price before revise_run. ${REVISION_CHARGE_TEXT} While paid edits are ` +
77
+ "closed it answers editing_disabled and charges nothing.",
78
+ inputSchema: revisionShape,
79
+ }, async ({ run_id, ...request }) => withFailureReport(async () => ({
80
+ content: [{ type: "text", text: JSON.stringify(await client.quoteRevision(run_id, revisionOf(request))) }],
81
+ })));
82
+ server.registerTool("revise_run", {
83
+ title: "Revise a run",
84
+ annotations: { readOnlyHint: false, destructiveHint: false },
85
+ description: "Start a revision of a run made by make_faceless (paid): a NEW run that renders the video again with the " +
86
+ "shots you change, by changes (a shot and what to generate for it) or by document (the whole edited " +
87
+ "document); pass exactly one. Call quote_revision first and show the user the price. An identical request " +
88
+ "returns the same run it started before, so a call repeated after a lost answer starts nothing new; to " +
89
+ `start a second revision with the same request on purpose, pass attempt 2. ${REVISION_CHARGE_TEXT} An ` +
90
+ "original has a limit on revisions running at once and on revisions failed or unfinished, and paid edits " +
91
+ "of it close some days after it finished; a refusal names which. While paid edits are closed it answers " +
92
+ "editing_disabled and charges nothing. The result is a new run: poll it with get_run; once it succeeded " +
93
+ "it is editable under its own run_id.",
94
+ inputSchema: { ...revisionShape, ...agentRetryShape },
95
+ }, async ({ run_id, attempt, ...request }) => withFailureReport(async () => formatGetRun(await client.startRevision(run_id, revisionOf(request), { attempt }))));
61
96
  server.registerTool("quote_ugc", {
62
97
  title: "Quote a video",
63
98
  annotations: { readOnlyHint: true, destructiveHint: false },
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,iFAAiF;AACjF,6DAA6D;AAC7D,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,eAAe,EACf,KAA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AAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;IACtF,CAAC,CAAC,CACL,CAAC;IAEF,6EAA6E;IAC7E,MAAM,CAAC,YAAY,CAAC,aAAa,EAAE;QACjC,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE;QAC3D,WAAW,EACT,4FAA4F;YAC5F,yFAAyF;YACzF,4FAA4F;YAC5F,4FAA4F;YAC5F,gGAAgG;QAClG,WAAW,EAAE,EAAE;KAChB,EAAE,KAAK,IAAI,EAAE,CAAC,iBAAiB,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;QAC5C,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,MAAM,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC;KAC7E,CAAC,CAAC,CAAC,CAAC;IAEL,OAAO,MAAM,CAAC;AAChB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clipwright/mcp-server",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "MCP server for Clipwright: generate UGC videos from your coding agent",
5
5
  "mcpName": "io.clipwright/mcp",
6
6
  "keywords": [
@@ -34,8 +34,8 @@
34
34
  "dependencies": {
35
35
  "@modelcontextprotocol/sdk": "^1.31.0",
36
36
  "zod": "^4.4.3",
37
- "@clipwright/core": "0.27.0",
38
- "@clipwright/sdk": "0.27.0"
37
+ "@clipwright/core": "0.28.0",
38
+ "@clipwright/sdk": "0.28.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/node": "^26.1.1"