@clipwright/mcp-server 0.3.0 → 0.4.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 +6 -6
- package/package.json +3 -3
package/SKILL.md
CHANGED
|
@@ -98,7 +98,7 @@ at the end of this section; it differs only in `command`/`args`.
|
|
|
98
98
|
"args": ["/absolute/path/to/clipwright/packages/mcp-server/dist/index.js"],
|
|
99
99
|
"env": {
|
|
100
100
|
"CLIPWRIGHT_API_KEY": "cw_...",
|
|
101
|
-
"CLIPWRIGHT_API_URL": "https://api
|
|
101
|
+
"CLIPWRIGHT_API_URL": "https://api.clipwright.io",
|
|
102
102
|
"CLIPWRIGHT_CLIENT_ID": "<see section 2 — generate BEFORE the first run>"
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -111,7 +111,7 @@ at the end of this section; it differs only in `command`/`args`.
|
|
|
111
111
|
```bash
|
|
112
112
|
claude mcp add clipwright \
|
|
113
113
|
-e CLIPWRIGHT_API_KEY=cw_... \
|
|
114
|
-
-e CLIPWRIGHT_API_URL=https://api
|
|
114
|
+
-e CLIPWRIGHT_API_URL=https://api.clipwright.io \
|
|
115
115
|
-e CLIPWRIGHT_CLIENT_ID="$(node -e "console.log(crypto.randomUUID().replaceAll('-',''))")" \
|
|
116
116
|
-- node /absolute/path/to/clipwright/packages/mcp-server/dist/index.js
|
|
117
117
|
```
|
|
@@ -128,7 +128,7 @@ claude mcp add clipwright \
|
|
|
128
128
|
"args": ["-y", "-p", "@clipwright/mcp-server@latest", "clipwright-mcp"],
|
|
129
129
|
"env": {
|
|
130
130
|
"CLIPWRIGHT_API_KEY": "cw_...",
|
|
131
|
-
"CLIPWRIGHT_API_URL": "https://api
|
|
131
|
+
"CLIPWRIGHT_API_URL": "https://api.clipwright.io",
|
|
132
132
|
"CLIPWRIGHT_CLIENT_ID": "<see section 2 — generate BEFORE the first run>"
|
|
133
133
|
}
|
|
134
134
|
}
|
|
@@ -141,7 +141,7 @@ As a single command:
|
|
|
141
141
|
```bash
|
|
142
142
|
claude mcp add clipwright \
|
|
143
143
|
-e CLIPWRIGHT_API_KEY=cw_... \
|
|
144
|
-
-e CLIPWRIGHT_API_URL=https://api
|
|
144
|
+
-e CLIPWRIGHT_API_URL=https://api.clipwright.io \
|
|
145
145
|
-e CLIPWRIGHT_CLIENT_ID="$(node -e "console.log(crypto.randomUUID().replaceAll('-',''))")" \
|
|
146
146
|
-- npx -y -p @clipwright/mcp-server@latest clipwright-mcp
|
|
147
147
|
```
|
|
@@ -156,7 +156,7 @@ Environment variables:
|
|
|
156
156
|
| Variable | Required | Meaning |
|
|
157
157
|
|---|---|---|
|
|
158
158
|
| `CLIPWRIGHT_API_KEY` | YES | Bearer token shaped `cw_*`. Without it the process exits immediately with an error (`src/index.ts`). The token is ISSUED TO YOU PERSONALLY: it lives in the `api_tokens` table, is bound to an account, and is revoked independently of anyone else's. Do not forward it — a second person gets their own. What separates people is the ACCOUNT, not the token: accounts cannot see each other's runs, each has its own daily cap and its own idempotency axis, and several tokens on one account share all of it. |
|
|
159
|
-
| `CLIPWRIGHT_API_URL` | no | Production URL. Left unset, the SDK supplies `https://api
|
|
159
|
+
| `CLIPWRIGHT_API_URL` | no | Production URL. Left unset, the SDK supplies `https://api.clipwright.io` itself. Set it explicitly only when you target another environment. |
|
|
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`
|
|
@@ -594,7 +594,7 @@ carries no scripts):
|
|
|
594
594
|
|
|
595
595
|
```bash
|
|
596
596
|
TOKEN=cw_... # the same value as CLIPWRIGHT_API_KEY, section 1.3
|
|
597
|
-
API=https://api
|
|
597
|
+
API=https://api.clipwright.io
|
|
598
598
|
|
|
599
599
|
# 1. Start a run. The idempotency key is required and must be UNIQUE per call:
|
|
600
600
|
# a repeated key returns the earlier run instead of a new one (section 2).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clipwright/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.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.4.0",
|
|
32
|
+
"@clipwright/sdk": "0.4.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^26.1.1"
|