@clipwright/mcp-server 0.6.0 → 0.8.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/SKILL.md CHANGED
@@ -160,7 +160,7 @@ Environment variables:
160
160
  | `CLIPWRIGHT_CLIENT_ID` | YES (see section 2) | Unique identifier of this INSTALLATION. |
161
161
 
162
162
  After connecting, restart or reopen the MCP host and confirm that `tools/list`
163
- returns five tools: `make_ugc`, `get_run`, `quote_ugc`, `list_voices`, `upload_image`.
163
+ returns six tools: `make_ugc`, `get_run`, `quote_ugc`, `list_actors`, `list_voices`, `upload_image`.
164
164
 
165
165
  ## 2. `CLIPWRIGHT_CLIENT_ID` — required, and WHY
166
166
 
@@ -265,7 +265,8 @@ is spent:
265
265
  | Response field | What it tells you |
266
266
  |---|---|
267
267
  | `credits_estimate` | the price — show it to the user BEFORE generating |
268
- | `source` | dimensions of the source frame: a probed `image`, or the default actor (432×768) |
268
+ | `source` | dimensions of the selected actor variant, a probed `image`, or the default actor (432×768) |
269
+ | `actor` | selected `actor_id`, `version` and `gender`; default `{gender}` when no face is selected; `null` for caller-supplied `image` |
269
270
  | `resolved_aspect_ratio` | the aspect ratio that will ACTUALLY be rendered for this input |
270
271
  | `warnings[]` | which of the parameters you passed will not be honoured |
271
272
  | `contract_version` | which contract version this price was quoted under |
@@ -280,18 +281,19 @@ schema, and the server answers 400 `rejected_field` before a run is even created
280
281
 
281
282
  | Field | Use instead |
282
283
  |---|---|
283
- | `character` | `person` — describe the actor in words, or nothing (default actor) |
284
+ | `character` | `actor_id` from `list_actors`, an `image`, or nothing (default actor); `person` does not select a face |
284
285
  | `webhook_url` | poll `get_run` — webhooks are not delivered at all |
285
286
  | `segments`, `broll_url` | a single `script`; segmented clips are not available yet |
286
287
  | `disclosure_overlay` | nothing: the AI disclosure is already in the run response and in the file |
287
288
  | `image` with the killswitch off | omit it — the render runs on the default actor |
288
289
 
289
290
  **The aspect ratio can be refused.** Requesting `aspect_ratio: "1:1"` without an
290
- `image` returns a refusal: the default actor is vertical (432×768), and a square
291
+ `image` or `actor_id` returns a refusal: the default actor is vertical (432×768), and a square
291
292
  frame could only come from the vendor's centre crop, which we do not do silently.
292
- To get `1:1`, pass an `image` with a square public https source.
293
+ To get `1:1`, select an actor with a verified square variant or pass an `image`
294
+ with a square public https source. An unavailable actor format is refused before payment.
293
295
 
294
- ## 4. The four tools
296
+ ## 4. The six tools
295
297
 
296
298
  Schemas come from the single source of truth `@clipwright/core`
297
299
  (`packages/core/src/skills.ts`, barrel `packages/core/src/index.ts`); MCP does not
@@ -303,8 +305,10 @@ The input is `offeredUgcInputShape` (`packages/mcp-server/src/server.ts`), that
303
305
  is, the contract MINUS the rejected fields: they simply are not there, and listing
304
306
  them here would mean offering what the server punishes you for (section 3).
305
307
 
306
- `script` (≤10000 chars, word count ≤`MAX_SCRIPT_WORDS` ≈45 s of speech; formally
307
- `.optional()`, but required while `segments` is rejected), optionally `person` OR
308
+ `script` (required while `segments` is rejected; length is limited by the resolved
309
+ TTS model, as reported by `tools/list`: `eleven_v3` allows 5000 characters,
310
+ `eleven_multilingual_v2` allows 10000. Spaces and audio tags count; emoji may count
311
+ as two characters. There is no word-count limit or fixed duration implied by it), optionally `person` OR
308
312
  `image` (a public `https` URL), plus `name`, `captions` (defaults to `false` —
309
313
  **captions are opt-in, ASK THE USER FIRST**), `caption_style`
310
314
  (`hormozi`/`tiktok`/`minimal`), `look` (`natural`/`commercial`/`raw_iphone`),
@@ -372,9 +376,13 @@ Two mutually exclusive optional fields in the `make_ugc` input:
372
376
  OUTSIDE the catalog, cloned ones included. It is checked for free against the
373
377
  account at the start of the run (not during `quote`): a non-existent id fails the
374
378
  run BEFORE any paid call.
375
- - **Set neither unless the user asks.** The default voice is already matched to
376
- the current avatar; there is no need to change it. `list_voices` is a curated
377
- catalog by design, not the vendor's full voice list.
379
+ - **The default voice matches the default actor.** Selecting another actor does
380
+ not automatically change the voice. Read both catalogs when the user requests
381
+ a new face and voice; preserve any explicit voice choice.
382
+ - **Read `actor` in the quote before rendering.** It describes the selected
383
+ actor (`null` means the client sent `image`). Compare its gender with the voice
384
+ metadata when choosing a pair. The API honors the two selections independently;
385
+ a difference in gender labels does not silently replace either choice.
378
386
 
379
387
  ### `get_run` — status polling
380
388
 
@@ -432,6 +440,18 @@ is not in `TERMINAL_STATES`) is a deliberate degradation: `isTerminal` returns
432
440
  keep polling a run that has already finished. That is accepted prototype behaviour
433
441
  — MCP and the API ship as one version — not a formatter bug.
434
442
 
443
+ ### `list_actors` — free, no input
444
+
445
+ Returns the permanent actor catalog from `/v1/actors`, including stable
446
+ `actor_id`, version, name, gender, approximate age and verified image formats.
447
+ Each variant has dimensions, `preview_url` and `preview_expires_at`. Preview
448
+ links expire; retain `actor_id` for reuse and call the catalog again for fresh previews.
449
+
450
+ Pass `actor_id` to both `quote_ugc` and `make_ugc`. It cannot be combined with
451
+ `image` or `person`. An unavailable actor or format returns an error before paid
452
+ work; it never substitutes the default face. Existing runs retain the selected
453
+ version and image hash even if the catalog changes later.
454
+
435
455
  ### `list_voices` — free, no input
436
456
 
437
457
  Returns the curated preset catalog for the `voice` field of `make_ugc`
@@ -479,14 +499,22 @@ The loop "failed → bump → failed → bump" burns real credits on every itera
479
499
  So:
480
500
 
481
501
  - **read the `error` of the failed run before retrying.** Refusals such as
482
- `rejected_field`, `aspect_conflict` or `daily_cap_exceeded` are NOT fixed by
483
- retrying — they are determined by the input or by a cap, and the next attempt
484
- fails the same way, only now for money;
502
+ `rejected_field`, `aspect_conflict` or `script_encoding_lost` are NOT fixed by
503
+ retrying — they are determined by the input, and the next attempt fails the
504
+ same way, only now for money. `script_encoding_lost` in particular cannot be
505
+ fixed at all by sending the same text again: the bytes were lost before the
506
+ request reached us, so re-send the script decoded as UTF-8;
507
+ - **`speech_too_short_for_script` is almost never fixed by retrying either.**
508
+ The vendor's pronunciation and stress are determined by the text; only the
509
+ length varies, and only within the vendor's measured spread. A take just under
510
+ the threshold may pass on a second try, but a take far under it will not —
511
+ change the text or the voice instead;
485
512
  - **bump `attempt` only for a refusal that looks temporary** (vendor timeout, 5xx,
486
513
  a dropped connection);
487
- - **the cap exists and it is daily.** Exhausting it gives you
488
- `daily_cap_exceeded` — that is a protection doing its job, not a broken product.
489
- Wait for the next day or ask the owner to raise the limit.
514
+ - **no daily cap stands between you and your credits (0.8.0).** Not on your
515
+ account, and not on the service either: `global_cap_exceeded` is no longer
516
+ produced. What still stops a run before any paid call is your own balance, an
517
+ unpaid debt, and our killswitch.
490
518
 
491
519
  ## 5.1. Server refusals are read from fields, not guessed (0.2.0)
492
520
 
@@ -673,9 +701,8 @@ Before you start, make sure of two different things.
673
701
 
674
702
  Tell two classes of failure apart, because they are fixed differently:
675
703
 
676
- - **`rejected_field`, `aspect_conflict`, `daily_cap_exceeded`** — a contract or a
677
- protection doing its job, not a defect. Read the error text: it names both the
678
- reason and the replacement;
704
+ - **`rejected_field`, `aspect_conflict`** — a contract doing its job, not a
705
+ defect. Read the error text: it names both the reason and the replacement;
679
706
  - **everything else** (timeout, 5xx, empty response, tool not found) — a candidate
680
707
  for a real defect. Here, run the same two curl commands from section 6: if curl
681
708
  reaches a playable link and MCP does not, the cause is in the MCP packaging
package/dist/server.js CHANGED
@@ -8,7 +8,7 @@ import { z } from "zod";
8
8
  // `rejected` не должны предлагаться вызывателю, которого мы за их использование
9
9
  // накажем четырёхсотым (блокер B4). Множество выводится из реестра диспозиций,
10
10
  // поэтому смена решения по полю переносит его между поверхностями одной строкой.
11
- import { offeredUgcInputShape, agentRetryShape, runId, MAKE_UGC_DESCRIPTION, MAKE_UGC_AGENT_PROTOCOL, UPLOAD_IMAGE_DESCRIPTION, UPLOAD_MAX_BYTES, sniffUploadMediaType, } from "@clipwright/core";
11
+ import { offeredUgcInputShape, SCRIPT_LENGTH_DESCRIPTION, agentRetryShape, runId, MAKE_UGC_DESCRIPTION, MAKE_UGC_AGENT_PROTOCOL, UPLOAD_IMAGE_DESCRIPTION, UPLOAD_MAX_BYTES, sniffUploadMediaType, } from "@clipwright/core";
12
12
  import { formatGetRun, withFailureReport } from "./format.js";
13
13
  // Версия — из манифеста: литерал расходился с ним молча, а импорт JSON не проходит `rootDir`.
14
14
  const packageVersion = () => createRequire(import.meta.url)("../package.json").version;
@@ -101,7 +101,7 @@ export function createServer(client) {
101
101
  "of `voice`. The current avatar already has a matched default voice; do NOT change it unless the " +
102
102
  "user explicitly asks for a different one. This catalog is CURATED BY DESIGN, not the vendor's " +
103
103
  "full voice list: the paid vendor's full catalog is intentionally not proxied here, so its API " +
104
- "key does not need to leave the worker process.",
104
+ "key does not need to leave the worker process. " + SCRIPT_LENGTH_DESCRIPTION,
105
105
  inputSchema: {},
106
106
  }, async () => withFailureReport(async () => {
107
107
  // Каталог статический (US-513 core), тула лишь ретранслирует /v1/voices —
@@ -109,6 +109,12 @@ export function createServer(client) {
109
109
  const voices = await client.listVoices();
110
110
  return { content: [{ type: "text", text: JSON.stringify({ voices }) }] };
111
111
  }));
112
+ server.registerTool("list_actors", {
113
+ description: "List saved Clipwright actors with stable IDs, gender, age and verified image formats. Choose actor_id for quote_ugc and make_ugc. Preview URLs expire; actor IDs remain reusable. Do not combine actor_id with image or person.",
114
+ inputSchema: {},
115
+ }, async () => withFailureReport(async () => ({
116
+ content: [{ type: "text", text: JSON.stringify({ actors: await client.listActors() }) }],
117
+ })));
112
118
  return server;
113
119
  }
114
120
  //# sourceMappingURL=server.js.map
@@ -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,oFAAoF;AACpF,4EAA4E;AAC5E,8EAA8E;AAC9E,gFAAgF;AA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gG;YAChG,kGAAkG;YAClG,kGAAkG;YAClG,gGAAgG;YAChG,gGAAgG;YAChG,iDAAiD,GAAG,yBAAyB;QAC/E,WAAW,EAAE,EAAE;KAChB,EACD,KAAK,IAAI,EAAE,CACT,iBAAiB,CAAC,KAAK,IAAI,EAAE;QAC3B,0EAA0E;QAC1E,kEAAkE;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,EAAE,CAAC;QACzC,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;IAC3E,CAAC,CAAC,CACL,CAAC;IAEF,MAAM,CAAC,YAAY,CAAC,aAAa,EAAE;QACjC,WAAW,EAAE,iOAAiO;QAC9O,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,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC,UAAU,EAAE,EAAE,CAAC,EAAE,CAAC;KACzF,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.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "MCP server for Clipwright: generate UGC videos from your coding agent",
5
5
  "keywords": [
6
6
  "mcp",
@@ -28,8 +28,8 @@
28
28
  "dependencies": {
29
29
  "@modelcontextprotocol/sdk": "^1.29.0",
30
30
  "zod": "^4.4.3",
31
- "@clipwright/core": "0.6.0",
32
- "@clipwright/sdk": "0.6.0"
31
+ "@clipwright/core": "0.8.0",
32
+ "@clipwright/sdk": "0.8.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "^26.1.1"