@clipwright/mcp-server 0.26.1 → 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 +80 -0
- package/README.md +12 -0
- package/SKILL.md +57 -3
- package/dist/server.js +53 -1
- package/dist/server.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,86 @@ 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
|
+
|
|
50
|
+
## [0.27.0] - 2026-10-13
|
|
51
|
+
|
|
52
|
+
The shots of a finished video can be read, and the draft of an edit can be kept: `getRunShots`, `getRunEdit` and
|
|
53
|
+
`saveRunEdit` in the SDK, `shots`, `edit-show` and `edit-save` in the CLI, and the MCP tool `get_run_shots`. A draft
|
|
54
|
+
charges nothing and renders nothing, and no call makes a video from it yet.
|
|
55
|
+
|
|
56
|
+
### Added
|
|
57
|
+
|
|
58
|
+
- *Server-side:* the API reads the shots of a run and keeps the draft of an edit. `GET /v1/runs/{id}/shots` returns
|
|
59
|
+
each shot of a finished video: its span in frames, its kind, the words it covers, its description and a signed link
|
|
60
|
+
to its source picture or clip. A run with no shots to show answers `planned: false` with the reason, which is an
|
|
61
|
+
answer and not an error. `GET` and `POST /v1/runs/{id}/edit` read and save a draft: a document of the wanted
|
|
62
|
+
timeline, stored with a version. A save names the version it was written against and is refused with 409
|
|
63
|
+
`edit_conflict` when the draft has another. The three calls are free. A draft charges nothing and renders
|
|
64
|
+
nothing, and no call makes a video from it. (clipwright#604)
|
|
65
|
+
- `@clipwright/sdk`: `getRunShots(runId)`, `getRunEdit(runId)` and `saveRunEdit(runId, { base_version, document })`.
|
|
66
|
+
The two 409 refusals of a draft arrive as `ClipwrightApiError` with their fields: `failure.version` on
|
|
67
|
+
`edit_conflict`, `failure.state` and `failure.reason` on `run_not_editable`. `saveRunEdit` sends one request and
|
|
68
|
+
never repeats it. (clipwright#604)
|
|
69
|
+
- `@clipwright/cli`: `shots <run>` lists the shots of a run, `edit-show <run>` prints the draft as JSON, and
|
|
70
|
+
`edit-save <run> --file <path>` saves the file `edit-show` printed. A save answered 409 reads the draft once: when
|
|
71
|
+
the draft already holds the file's document one version later, an earlier send went through and the save is
|
|
72
|
+
reported as done; otherwise the command reports the conflict and the stored version. (clipwright#604)
|
|
73
|
+
- `@clipwright/mcp-server`: the tool `get_run_shots`, read-only. The MCP server now lists fifteen tools. The draft
|
|
74
|
+
of an edit has no tool: it is read and saved over REST, the SDK and the CLI. (clipwright#604)
|
|
75
|
+
- `@clipwright/core` exports the contract of these calls, also on the subpath `@clipwright/core/edit`: `runShots`,
|
|
76
|
+
`runEdit` and `saveRunEdit`, which the API emits and takes, and `runShotsRead` and `runEditRead`, which a client
|
|
77
|
+
parses a response with. The read schemas take as plain strings the names a later API may add: a kind of shot, an
|
|
78
|
+
action, a line, the code of an issue. The document of a draft keeps the keys a client does not know.
|
|
79
|
+
`parseApiFailure` returns the kinds `edit_conflict` and `run_not_editable` for the two 409 bodies, and
|
|
80
|
+
`agentFailureReport` carries `version`, `state` and `reason`. (clipwright#604)
|
|
81
|
+
|
|
82
|
+
### Changed
|
|
83
|
+
|
|
84
|
+
- **Breaking:** `@clipwright/core`, for TypeScript callers: the union `ApiFailure` has two more members,
|
|
85
|
+
`edit_conflict` and `run_not_editable`. A `switch` over `failure.kind` that is checked for exhaustiveness does not
|
|
86
|
+
compile until it handles them, and a 409 body with either code no longer parses as `client_error`. Code that
|
|
87
|
+
does not switch on the kind is not affected. (clipwright#604)
|
|
88
|
+
- `@clipwright/sdk`: a `ClipwrightResponseError` of a call that starts no run now reads "No run was created and no
|
|
89
|
+
credits were spent, and a retry creates no run and spends none." in place of "Nothing was created; retrying is
|
|
90
|
+
safe.". The old sentence was false of `setActorDefaults` and would be of `saveRunEdit`: such a call may have
|
|
91
|
+
stored what it was sent. (clipwright#604)
|
|
92
|
+
- *Dashboard:* the table "When a call fails" of the API docs lists the two refusals of a draft, and its row of
|
|
93
|
+
ordinary refusals names status 422, which an upload that is not a readable image is answered with.
|
|
94
|
+
(clipwright#604)
|
|
95
|
+
- *Server-side:* an uploaded image is kept for 30 days instead of 7, as long as the media of a finished run. The
|
|
96
|
+
link returned by `POST /v1/uploads` is still valid for 24 hours; upload the same file again to get a fresh one.
|
|
97
|
+
`@clipwright/core` states the period as `UPLOAD_OBJECT_RETENTION_DAYS`, now 30. (clipwright#607)
|
|
98
|
+
|
|
19
99
|
## [0.26.1] - 2026-10-09
|
|
20
100
|
|
|
21
101
|
A metadata patch: the npm description of `@clipwright/mcp-server` no longer carries a catalog claim token.
|
package/README.md
CHANGED
|
@@ -48,6 +48,18 @@ Any MCP host works — the server speaks JSON-RPC over stdio.
|
|
|
48
48
|
- `make_ugc` — **renders a clip; this is the call that costs money.** Returns a
|
|
49
49
|
`run_id` immediately instead of blocking, because a render takes minutes.
|
|
50
50
|
- `get_run` — status of a run. Free; poll it every few seconds.
|
|
51
|
+
- `get_run_shots` — the shots of a finished video: the span, kind, description
|
|
52
|
+
and preview link of each, with the narration words and their timing. Free and
|
|
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`.
|
|
51
63
|
- `upload_image` — a local PNG/JPEG → signed https url to pass as `image`. Free;
|
|
52
64
|
20 per day, the url lives 24 hours. Set `aspect_ratio` explicitly afterwards.
|
|
53
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
|
|
168
|
-
`
|
|
169
|
-
`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
|
|
|
@@ -521,6 +521,60 @@ is not in `TERMINAL_STATES`) is a deliberate degradation: `isTerminal` returns
|
|
|
521
521
|
keep polling a run that has already finished. That is accepted prototype behaviour
|
|
522
522
|
— MCP and the API ship as one version — not a formatter bug.
|
|
523
523
|
|
|
524
|
+
### `get_run_shots` — free, read-only
|
|
525
|
+
|
|
526
|
+
Takes a `run_id` and returns the shots of that video as the API states them
|
|
527
|
+
(`GET /v1/runs/{id}/shots`). It changes nothing and starts nothing.
|
|
528
|
+
|
|
529
|
+
- `planned: true` — the answer holds `frame`, `timebase.fps`, `duration_frames`,
|
|
530
|
+
the narration `words` with their timing, and `tracks[]`. Each shot has an `id`,
|
|
531
|
+
`start_frame` and `end_frame`, a `kind`, the words it covers, a `description`
|
|
532
|
+
and a `preview_url`. Spans are whole frames at `timebase.fps`.
|
|
533
|
+
- `planned: false` — a normal answer, not an error. The run has no shots to show,
|
|
534
|
+
and `editable.state` with `editable.reason` says why: the run did not succeed,
|
|
535
|
+
its `line` is one the API reads no shots for, or it kept no record of its
|
|
536
|
+
media. Tell the user that reason; do not retry.
|
|
537
|
+
|
|
538
|
+
`preview_url` is a signed link to the shot's source picture or clip, which is a
|
|
539
|
+
large file. It expires: call the tool again for a fresh link and never store it.
|
|
540
|
+
A field named in `withheld` is null on every shot, so a null `description` or
|
|
541
|
+
`preview_url` there means "not shown", not "missing".
|
|
542
|
+
|
|
543
|
+
`editable.media_available_until` is how long the media of the run are stored.
|
|
544
|
+
`paid_edits.enabled` says whether a video can be made from an edit; while it is
|
|
545
|
+
`false`, none can, and `revise_run` answers `editing_disabled`. Read `kind`, `line`,
|
|
546
|
+
`editable.state` and each shot's `operations` as open strings, because a later
|
|
547
|
+
API may name values this text does not list.
|
|
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
|
+
|
|
524
578
|
### `list_actors` — free, no input
|
|
525
579
|
|
|
526
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,6 +41,58 @@ export function createServer(client) {
|
|
|
41
41
|
const run = await client.getRun(run_id);
|
|
42
42
|
return formatGetRun(run);
|
|
43
43
|
}));
|
|
44
|
+
// The editor's read tool; the draft of an edit stays on REST, the SDK and the CLI.
|
|
45
|
+
server.registerTool("get_run_shots", {
|
|
46
|
+
title: "Get the shots of a run",
|
|
47
|
+
annotations: { readOnlyHint: true, destructiveHint: false },
|
|
48
|
+
description: "Read the shots of a video made by make_faceless or make_ugc. Pass the run_id. Free and read-only: " +
|
|
49
|
+
"it changes nothing and starts nothing. With planned=true the answer holds the frame size, the frame " +
|
|
50
|
+
"rate, the narration words with their timing, and for each shot its id, its span in frames, its kind, " +
|
|
51
|
+
"the words it covers, its description and preview_url, a signed link to the shot's source picture or " +
|
|
52
|
+
"clip. That link is a large file and it expires: read the shots again for a fresh one, never store " +
|
|
53
|
+
"it. A field named in `withheld` is null on every shot. planned=false is a normal answer, not an " +
|
|
54
|
+
"error: the run has no shots to show, and editable.state with editable.reason says why. " +
|
|
55
|
+
"editable.media_available_until is how long the media of the run are stored. paid_edits.enabled " +
|
|
56
|
+
"says whether a video can be made from an edit; while it is false, none can.",
|
|
57
|
+
inputSchema: { run_id: runId },
|
|
58
|
+
}, async ({ run_id }) => withFailureReport(async () => ({
|
|
59
|
+
content: [{ type: "text", text: JSON.stringify(await client.getRunShots(run_id)) }],
|
|
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 }))));
|
|
44
96
|
server.registerTool("quote_ugc", {
|
|
45
97
|
title: "Quote a video",
|
|
46
98
|
annotations: { readOnlyHint: true, destructiveHint: false },
|
package/dist/server.js.map
CHANGED
|
@@ -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,KAAK,EACL,oBAAoB,EACpB,uBAAuB,EACvB,yBAAyB,EACzB,4BAA4B,EAC5B,iBAAiB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AC;AAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clipwright/mcp-server",
|
|
3
|
-
"version": "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.
|
|
38
|
-
"@clipwright/sdk": "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"
|