@clipwright/mcp-server 0.15.0 → 0.16.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 +40 -0
- package/README.md +7 -0
- package/SKILL.md +2 -1
- package/dist/server.js +26 -1
- package/dist/server.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,46 @@ 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.16.0] - 2026-09-16
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- *Server-side:* a new skill, `create_actor`, builds a personal actor for the
|
|
24
|
+
account from a description of a fictional adult: a 9:16 portrait with exactly
|
|
25
|
+
one face, plus the other requested formats edited from it. `POST
|
|
26
|
+
/v1/skills/create_actor/quote` and `/run` take the description, `gender`,
|
|
27
|
+
`approximate_age`, `name`, `quality` and `aspect_ratios`; the run reports
|
|
28
|
+
`created_actor` when it succeeds, and the returned `actor_id` goes to
|
|
29
|
+
`make_ugc` in the same field a catalog actor does. `GET /v1/actors` lists the
|
|
30
|
+
account's own actors after the catalog, and `DELETE /v1/actors/{id}` takes one
|
|
31
|
+
out of the choice. The skill appears in `GET /v1/public/skills` only while
|
|
32
|
+
generation is switched on; until then quote and run answer 503
|
|
33
|
+
`actor_generation_disabled` and no run is created. (clipwright#120)
|
|
34
|
+
- *Server-side:* runs have a new state, `generating`, which only `create_actor`
|
|
35
|
+
enters. The set of terminal states is unchanged: `succeeded` and `failed`, and
|
|
36
|
+
nothing else. (clipwright#120)
|
|
37
|
+
- Personal actors reached the clients. The SDK gained `quoteActor`,
|
|
38
|
+
`createActor` and `deleteActor`; the CLI gained `quote-actor`, `create-actor`
|
|
39
|
+
and `delete-actor`; the MCP server gained `quote_actor`, `create_actor` and
|
|
40
|
+
`delete_actor`, so `tools/list` now returns ten tools instead of seven. The
|
|
41
|
+
idempotency key of an actor run is built from the actor's own schema: two
|
|
42
|
+
different descriptions are two different keys, and a repeated call with the
|
|
43
|
+
same description returns the run already paid for. (clipwright#120)
|
|
44
|
+
- *Dashboard:* `/actors` shows the account's personal actors next to the
|
|
45
|
+
catalog and deletes one on confirmation. A deleted actor stops being offered
|
|
46
|
+
at once; its images are removed by a daily cleanup. (clipwright#120)
|
|
47
|
+
|
|
48
|
+
### Changed
|
|
49
|
+
|
|
50
|
+
- *Server-side:* a request with `person` and generation switched on gets a
|
|
51
|
+
warning that points at `create_actor` instead of only saying the field is not
|
|
52
|
+
honored. (clipwright#120)
|
|
53
|
+
- *Server-side:* `create_actor` is charged per published image, not per second:
|
|
54
|
+
the portrait and each extra format cost what the quote showed, a partial
|
|
55
|
+
result charges only what was published and names the rest in `warnings`, and a
|
|
56
|
+
failed run costs nothing at all. Refused descriptions and unusable portraits
|
|
57
|
+
are free. (clipwright#120)
|
|
58
|
+
|
|
19
59
|
## [0.15.0] - 2026-09-14
|
|
20
60
|
|
|
21
61
|
### Changed
|
package/README.md
CHANGED
|
@@ -38,6 +38,13 @@ Any MCP host works — the server speaks JSON-RPC over stdio.
|
|
|
38
38
|
- `get_run` — status of a run. Free; poll it every few seconds.
|
|
39
39
|
- `upload_image` — a local PNG/JPEG → signed https url to pass as `image`. Free;
|
|
40
40
|
20 per day, the url lives 24 hours. Set `aspect_ratio` explicitly afterwards.
|
|
41
|
+
- `quote_actor` — price of a personal actor before creating one. Free.
|
|
42
|
+
- `create_actor` — **creates a personal actor from a description; this costs
|
|
43
|
+
money.** Each requested format is a separate charged image. Returns a `run_id`
|
|
44
|
+
immediately; poll `get_run` until `succeeded`, then pass `created_actor.actor_id`
|
|
45
|
+
to `make_ugc` as `actor_id`.
|
|
46
|
+
- `delete_actor` — removes a personal actor of this account. Videos already made
|
|
47
|
+
with it stay as they are. Free.
|
|
41
48
|
|
|
42
49
|
Call `quote_ugc` before `make_ugc`: the quote is where the contract tells you
|
|
43
50
|
what it will and will not honor. Anything the API cannot deliver comes back in
|
package/SKILL.md
CHANGED
|
@@ -164,7 +164,8 @@ 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
|
|
167
|
+
returns ten tools: `make_ugc`, `get_run`, `quote_ugc`, `list_actors`, `list_voices`, `upload_image`, `get_account`,
|
|
168
|
+
`create_actor`, `quote_actor`, `delete_actor`.
|
|
168
169
|
|
|
169
170
|
## 2. `CLIPWRIGHT_CLIENT_ID` — required, and WHY
|
|
170
171
|
|
package/dist/server.js
CHANGED
|
@@ -8,7 +8,7 @@ import { z } from "zod";
|
|
|
8
8
|
// `rejected` не должны предлагаться вызывателю, которого мы за их использование
|
|
9
9
|
// накажем четырёхсотым (блокер B4). Множество выводится из реестра диспозиций,
|
|
10
10
|
// поэтому смена решения по полю переносит его между поверхностями одной строкой.
|
|
11
|
-
import { offeredUgcInputShape, CATALOG_LANGUAGES, SCRIPT_LENGTH_DESCRIPTION, voicesQueryShape, agentRetryShape, runId, MAKE_UGC_DESCRIPTION, MAKE_UGC_AGENT_PROTOCOL, UPLOAD_IMAGE_DESCRIPTION, UPLOAD_MAX_BYTES, sniffUploadMediaType, } from "@clipwright/core";
|
|
11
|
+
import { offeredUgcInputShape, CATALOG_LANGUAGES, CREATE_ACTOR_DESCRIPTION, createActorInputShape, SCRIPT_LENGTH_DESCRIPTION, voicesQueryShape, 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;
|
|
@@ -119,6 +119,31 @@ export function createServer(client) {
|
|
|
119
119
|
}, async () => withFailureReport(async () => ({
|
|
120
120
|
content: [{ type: "text", text: JSON.stringify({ actors: await client.listActors() }) }],
|
|
121
121
|
})));
|
|
122
|
+
// Личный актёр аккаунта (clipwright#120). Схема — та же, что проверяет сервер,
|
|
123
|
+
// поэтому предлагаемое и принимаемое разойтись не могут.
|
|
124
|
+
server.registerTool("create_actor", { description: CREATE_ACTOR_DESCRIPTION, inputSchema: { ...createActorInputShape, ...agentRetryShape } }, async (args) => withFailureReport(async () => {
|
|
125
|
+
// `attempt` живёт в opts SDK: внутри `input` схема срезала бы его молча,
|
|
126
|
+
// и повтор агента возвращал бы первый ран вместо нового.
|
|
127
|
+
const { attempt, ...input } = args;
|
|
128
|
+
const run = await client.createActor(input, { attempt });
|
|
129
|
+
return formatGetRun(run);
|
|
130
|
+
}));
|
|
131
|
+
server.registerTool("quote_actor", {
|
|
132
|
+
description: "Estimate the credit cost of create_actor WITHOUT spending credits. Call this first and show the " +
|
|
133
|
+
"price before create_actor: each requested format is a separate charged image.",
|
|
134
|
+
inputSchema: createActorInputShape,
|
|
135
|
+
}, async (args) => withFailureReport(async () => ({
|
|
136
|
+
content: [{ type: "text", text: JSON.stringify(await client.quoteActor(args)) }],
|
|
137
|
+
})));
|
|
138
|
+
server.registerTool("delete_actor", {
|
|
139
|
+
description: "Delete a personal actor of this account by actor_id. Videos already made with it stay as they are, " +
|
|
140
|
+
"and new runs can no longer use it. An actor used by a run that has not finished is refused until that " +
|
|
141
|
+
"run ends. Catalog actors belong to Clipwright and are not deletable.",
|
|
142
|
+
inputSchema: { actor_id: z.string().min(1).describe("Personal actor id from list_actors.") },
|
|
143
|
+
}, async ({ actor_id }) => withFailureReport(async () => {
|
|
144
|
+
await client.deleteActor(actor_id);
|
|
145
|
+
return { content: [{ type: "text", text: JSON.stringify({ deleted: actor_id }) }] };
|
|
146
|
+
}));
|
|
122
147
|
// Остаток счёта без траты попытки: иначе его узнают только отказом 402 (clipwright#135).
|
|
123
148
|
server.registerTool("get_account", {
|
|
124
149
|
description: "Read this account's credits. Free, spends nothing. debt_credits above zero means make_ugc " +
|
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,oFAAoF;AACpF,4EAA4E;AAC5E,8EAA8E;AAC9E,gFAAgF;AAChF,+EAA+E;AAC/E,iFAAiF;AACjF,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,eAAe,EACf,KAAK,EACL,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAE9D,8FAA8F;AAC9F,MAAM,cAAc,GAAG,GAAW,EAAE,CACjC,aAAa,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,iBAAiB,CAAyB,CAAC,OAAO,CAAC;AAErF;;;;;;;;GAQG;AACH,MAAM,UAAU,YAAY,CAAC,MAAwB;IACnD,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC;IAEhF,iFAAiF;IACjF,MAAM,CAAC,YAAY,CACjB,UAAU,EACV;QACE,WAAW,EAAE,GAAG,oBAAoB,IAAI,uBAAuB,EAAE;QACjE,4EA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,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QACnC,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,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,yFAAyF;IACzF,MAAM,CAAC,YAAY,CAAC,aAAa,EAAE;QACjC,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.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "MCP server for Clipwright: generate UGC videos from your coding agent",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
31
31
|
"zod": "^4.4.3",
|
|
32
|
-
"@clipwright/
|
|
33
|
-
"@clipwright/
|
|
32
|
+
"@clipwright/sdk": "0.16.0",
|
|
33
|
+
"@clipwright/core": "0.16.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^26.1.1"
|