@clipwright/mcp-server 0.9.0 → 0.11.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/README.md +9 -6
- package/SKILL.md +34 -6
- package/dist/server.js +11 -0
- package/dist/server.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -7,12 +7,13 @@ the agent gets a `run_id` and polls until a video URL is ready.
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
claude mcp add clipwright
|
|
11
|
-
-e CLIPWRIGHT_API_KEY="cw_your_token" \
|
|
12
|
-
-e CLIPWRIGHT_CLIENT_ID="$(uuidgen | tr -d '-')" \
|
|
13
|
-
-- npx -y @clipwright/mcp-server
|
|
10
|
+
claude mcp add clipwright -e CLIPWRIGHT_API_KEY=cw_... -- npx -y -p @clipwright/mcp-server clipwright-mcp
|
|
14
11
|
```
|
|
15
12
|
|
|
13
|
+
Put your own key in place of `cw_...`. The command is one line and gives the
|
|
14
|
+
shell nothing to expand, so bash, zsh and PowerShell run it alike. It needs
|
|
15
|
+
Node.js 20 or newer.
|
|
16
|
+
|
|
16
17
|
Any MCP host works — the server speaks JSON-RPC over stdio.
|
|
17
18
|
|
|
18
19
|
## Environment
|
|
@@ -20,13 +21,15 @@ Any MCP host works — the server speaks JSON-RPC over stdio.
|
|
|
20
21
|
| Variable | Required | Meaning |
|
|
21
22
|
|---|---|---|
|
|
22
23
|
| `CLIPWRIGHT_API_KEY` | yes | Your `cw_*` token. The process exits immediately without it. |
|
|
23
|
-
| `CLIPWRIGHT_CLIENT_ID` |
|
|
24
|
+
| `CLIPWRIGHT_CLIENT_ID` | recommended | Identifies this **installation** and enters the idempotency key, so two installations never collapse into one run. Left unset, the server keeps one in `~/.clipwright/client-id`, which suits a single laptop. Set it yourself where a home directory is shared, cloned or read-only — containers, CI, copied images — as `SKILL.md` §2 explains. |
|
|
24
25
|
| `CLIPWRIGHT_API_URL` | no | Defaults to the hosted API. |
|
|
25
26
|
|
|
26
27
|
## Tools
|
|
27
28
|
|
|
28
29
|
- `list_voices` — voice catalog. Free, spends no credits.
|
|
29
|
-
- `quote_ugc` — estimated duration and price
|
|
30
|
+
- `quote_ugc` — estimated duration and price, plus a warning when `make_ugc`
|
|
31
|
+
with the same input would be refused for money or access. Free.
|
|
32
|
+
- `get_account` — balance, debt and holds of the account. Free.
|
|
30
33
|
- `make_ugc` — **renders a clip; this is the call that costs money.** Returns a
|
|
31
34
|
`run_id` immediately instead of blocking, because a render takes minutes.
|
|
32
35
|
- `get_run` — status of a run. Free; poll it every few seconds.
|
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
|
|
163
|
+
returns seven tools: `make_ugc`, `get_run`, `quote_ugc`, `list_actors`, `list_voices`, `upload_image`, `get_account`.
|
|
164
164
|
|
|
165
165
|
## 2. `CLIPWRIGHT_CLIENT_ID` — required, and WHY
|
|
166
166
|
|
|
@@ -243,8 +243,8 @@ every start — a silent fallback would disable deduplication entirely
|
|
|
243
243
|
|
|
244
244
|
**The server does NOT die in that case, and this is verified by a test run.** The
|
|
245
245
|
identity resolves lazily — only on the first `make_ugc`. In an environment where
|
|
246
|
-
`~/.clipwright` is not writable the server starts, `tools/list` returns
|
|
247
|
-
|
|
246
|
+
`~/.clipwright` is not writable the server starts, `tools/list` returns every
|
|
247
|
+
tool, and `quote_ugc`, `get_run` and `list_voices` work: they do not need the
|
|
248
248
|
identity. Only `make_ugc` refuses, and its refusal names the variable that fixes
|
|
249
249
|
it. So the action to take is to set `CLIPWRIGHT_CLIENT_ID` explicitly — not to
|
|
250
250
|
hunt for a bug and not to reinstall the package.
|
|
@@ -293,7 +293,7 @@ frame could only come from the vendor's centre crop, which we do not do silently
|
|
|
293
293
|
To get `1:1`, select an actor with a verified square variant or pass an `image`
|
|
294
294
|
with a square public https source. An unavailable actor format is refused before payment.
|
|
295
295
|
|
|
296
|
-
## 4. The
|
|
296
|
+
## 4. The seven tools
|
|
297
297
|
|
|
298
298
|
Schemas come from the single source of truth `@clipwright/core`
|
|
299
299
|
(`packages/core/src/skills.ts`, barrel `packages/core/src/index.ts`); MCP does not
|
|
@@ -307,14 +307,26 @@ them here would mean offering what the server punishes you for (section 3).
|
|
|
307
307
|
|
|
308
308
|
`script` (required while `segments` is rejected; length is limited by the resolved
|
|
309
309
|
TTS model, as reported by `tools/list`: `eleven_v3` allows 5000 characters,
|
|
310
|
-
`
|
|
311
|
-
as two characters. There is no word-count limit or fixed
|
|
310
|
+
`eleven_flash_v2_5` and `eleven_turbo_v2_5` allow 10000. Spaces, audio tags and stress
|
|
311
|
+
marks count; emoji may count as two characters. There is no word-count limit or fixed
|
|
312
|
+
duration implied by it), `tts_model` (every preset speaks `eleven_v3`, the most
|
|
313
|
+
expressive model; `eleven_flash_v2_5` and `eleven_turbo_v2_5` cost less and suit
|
|
314
|
+
languages other than Russian), optionally `person` OR
|
|
312
315
|
`image` (a public `https` URL), plus `name`, `captions` (defaults to `false` —
|
|
313
316
|
**captions are opt-in, ASK THE USER FIRST**), `caption_style`
|
|
314
317
|
(`hormozi`/`tiktok`/`minimal`), `look` (`natural`/`commercial`/`raw_iphone`),
|
|
315
318
|
`aspect_ratio` (`9:16`/`1:1`, with NO default — silence and an explicit choice
|
|
316
319
|
differ), `resolution` (`720p`/`1080p`/`4k`), `voice`/`voice_id`.
|
|
317
320
|
|
|
321
|
+
**Russian stress marks.** Tell a user who writes in Russian that they can fix stress:
|
|
322
|
+
write the stressed vowel as a capital inside a lowercase word — `потОм`, `зАмок` — and
|
|
323
|
+
Clipwright sends `eleven_v3` the stress mark U+0301 (`пото́м`). A capital that starts a
|
|
324
|
+
word stays a capital, a word with a second capital or an inner capital consonant
|
|
325
|
+
(`ВУЗы`, all caps) stays as written, and a U+0301 typed directly is kept. A single
|
|
326
|
+
inner capital vowel always reads as stress, so `ЯндексЕда` needs a space. Keep Russian scripts on `eleven_v3`: the 2.5 models misread the mark, so a script
|
|
327
|
+
carrying it draws a warning there, and so does any Cyrillic script. Retrying never
|
|
328
|
+
fixes stress; only the text does.
|
|
329
|
+
|
|
318
330
|
The exact list is always available from the tool schema itself: `tools/list` is
|
|
319
331
|
generated from the same shape, and fields that are not honoured carry
|
|
320
332
|
`NOT HONORED YET` right in their own `description`.
|
|
@@ -477,6 +489,22 @@ one call `list_voices` again; never store it. A voice with no sample carries no
|
|
|
477
489
|
`preview_url` at all — the sample does not exist, rather than having been dropped
|
|
478
490
|
from the answer.
|
|
479
491
|
|
|
492
|
+
### `get_account` — free, no input
|
|
493
|
+
|
|
494
|
+
Returns the body of `GET /v1/account`: `balance_credits`, `debt_credits`,
|
|
495
|
+
`holds_credits` and the unexpired `grants`. It costs nothing and creates no run.
|
|
496
|
+
|
|
497
|
+
- `debt_credits` above zero blocks `make_ugc` with `debt_outstanding`, whatever
|
|
498
|
+
the balance, until the account buys credits.
|
|
499
|
+
- With no debt, `balance_credits` is what a new run can spend.
|
|
500
|
+
- `holds_credits` are reserved for runs in progress; they settle when those
|
|
501
|
+
runs finish.
|
|
502
|
+
|
|
503
|
+
`quote_ugc` already warns in `warnings[]` when `make_ugc` with the same input
|
|
504
|
+
would be refused for money or access, so a render rarely needs this call first.
|
|
505
|
+
Call it when the user asks how many credits are left, or to show the numbers
|
|
506
|
+
behind such a warning.
|
|
507
|
+
|
|
480
508
|
## 5. Retrying a failed run is NOT a permanent refusal
|
|
481
509
|
|
|
482
510
|
If `get_run` returned a terminal `FAILED` and you call `make_ugc` AGAIN with the
|
package/dist/server.js
CHANGED
|
@@ -118,6 +118,17 @@ export function createServer(client) {
|
|
|
118
118
|
}, async () => withFailureReport(async () => ({
|
|
119
119
|
content: [{ type: "text", text: JSON.stringify({ actors: await client.listActors() }) }],
|
|
120
120
|
})));
|
|
121
|
+
// Остаток счёта без траты попытки: иначе его узнают только отказом 402 (clipwright#135).
|
|
122
|
+
server.registerTool("get_account", {
|
|
123
|
+
description: "Read this account's credits. Free, spends nothing. debt_credits above zero means make_ugc " +
|
|
124
|
+
"is refused with debt_outstanding whatever the balance, until the account buys credits; " +
|
|
125
|
+
"with no debt, balance_credits is what a new run can spend. holds_credits are reserved for " +
|
|
126
|
+
"runs still in progress and settle when they finish. grants lists unexpired credit grants. " +
|
|
127
|
+
"quote_ugc already warns when make_ugc would be refused; this tool gives the numbers behind it.",
|
|
128
|
+
inputSchema: {},
|
|
129
|
+
}, async () => withFailureReport(async () => ({
|
|
130
|
+
content: [{ type: "text", text: JSON.stringify(await client.getAccount()) }],
|
|
131
|
+
})));
|
|
121
132
|
return server;
|
|
122
133
|
}
|
|
123
134
|
//# sourceMappingURL=server.js.map
|
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,yBAAyB,EACzB,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,a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AAI,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.11.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.
|
|
32
|
-
"@clipwright/sdk": "0.
|
|
31
|
+
"@clipwright/core": "0.11.0",
|
|
32
|
+
"@clipwright/sdk": "0.11.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^26.1.1"
|