@clipy/mcp 0.7.0 → 0.7.1
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/LICENSE +21 -0
- package/README.md +29 -11
- package/dist/index.js +12 -9
- package/package.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Codersera (clipy.online)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
> **⚠️ This directory is no longer the canonical source.**
|
|
2
|
-
> The official Clipy MCP server now lives at
|
|
3
|
-
> **https://github.com/manovagyanik1/clipy-mcp** (public, MIT) — develop and
|
|
4
|
-
> publish `@clipy/mcp` from there. This copy remains temporarily for
|
|
5
|
-
> reference and will be removed in a future cleanup.
|
|
6
|
-
|
|
7
1
|
# @clipy/mcp
|
|
8
2
|
|
|
9
3
|
Give your AI agent access to your [Clipy](https://clipy.online) screen recordings.
|
|
10
4
|
|
|
5
|
+
> This repository is the public mirror of **`@clipy/mcp`** (MIT). The package is developed
|
|
6
|
+
> in the Clipy monorepo and synced here with each npm release, so this is the place to
|
|
7
|
+
> browse the source and file issues. The published package lives on npm as
|
|
8
|
+
> [`@clipy/mcp`](https://www.npmjs.com/package/@clipy/mcp).
|
|
9
|
+
|
|
11
10
|
This is a [Model Context Protocol](https://modelcontextprotocol.io) (MCP) server. It lets
|
|
12
11
|
Claude, Cursor, Windsurf, and other MCP-capable agents **search your recordings and read
|
|
13
12
|
their transcripts and AI summaries** — so you can do things like _"turn this bug-report
|
|
@@ -15,14 +14,32 @@ recording into a Linear ticket"_ without leaving your agent — and, with the `r
|
|
|
15
14
|
tool, **record a web app headlessly** and get it back as a Clipy recording (_"build the
|
|
16
15
|
feature, then record the outcome"_).
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
The read tools need the `recordings:read` scope, which every key gets by default. The
|
|
18
|
+
write tools — `record`, the session tools (`start_recording`, `add_marker`,
|
|
19
|
+
`stop_recording`, `abort_recording`), and `replace_transcript` — additionally need the
|
|
20
|
+
key to carry the `ingest` scope ("Record & upload"), which the server enforces. A
|
|
21
|
+
`recordings:read`-only key can read your recordings but cannot create, modify, or
|
|
22
|
+
delete anything.
|
|
20
23
|
|
|
21
24
|
## Setup
|
|
22
25
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
This is a headless server process, so it authenticates with a Clipy API key in the
|
|
27
|
+
`CLIPY_API_KEY` env var (it looks like `clipy_sk_live_…`). The easiest way to get one is
|
|
28
|
+
the Clipy CLI's browser login:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npx @clipy/cli@latest login
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
It opens your browser; click **Approve** once. The key is saved to
|
|
35
|
+
`~/.config/clipy/config.json` — copy its `apiKey` value into `CLIPY_API_KEY` when you add
|
|
36
|
+
the server below.
|
|
37
|
+
|
|
38
|
+
**Prefer to mint one by hand?** Create a key at
|
|
39
|
+
**https://clipy.online/settings/api-keys** instead (it's shown only once — copy it
|
|
40
|
+
immediately).
|
|
41
|
+
|
|
42
|
+
Then add the server to your MCP client.
|
|
26
43
|
|
|
27
44
|
### Claude Code
|
|
28
45
|
|
|
@@ -86,6 +103,7 @@ or the Windsurf MCP config) directly:
|
|
|
86
103
|
| `add_marker` | Drop a live-timestamped narration marker into the active session — markers become the recording's transcript chapters. Navigations + console errors are added automatically as `[auto]` marks. |
|
|
87
104
|
| `stop_recording` | Finish the session: close the browser, upload, return the share + agent-context URLs. |
|
|
88
105
|
| `abort_recording` | Discard the active session; nothing is uploaded. |
|
|
106
|
+
| `replace_transcript` | **Replace a recording's transcript** with text you author (needs the `ingest` scope). Fix a bad speech-to-text pass, translate, or enrich a silent agent capture; the summary regenerates automatically. Marked as agent-edited, never passed off as speech-to-text. |
|
|
89
107
|
|
|
90
108
|
Read tools accept a recording's **public id** (the slug in its share URL) or the full
|
|
91
109
|
`https://clipy.online/video/<id>` URL.
|
package/dist/index.js
CHANGED
|
@@ -10,9 +10,12 @@
|
|
|
10
10
|
* headline write use case is "build a feature, then record the outcome."
|
|
11
11
|
*
|
|
12
12
|
* Auth: a personal API key (`CLIPY_API_KEY`, looks like `clipy_sk_live_…`),
|
|
13
|
-
* minted at https://clipy.online/settings/api-keys. Read tools need
|
|
14
|
-
*
|
|
15
|
-
* (
|
|
13
|
+
* minted at https://clipy.online/settings/api-keys. Read tools need the default
|
|
14
|
+
* `recordings:read` scope; the write tools — `record`, the session tools
|
|
15
|
+
* (start_recording, add_marker, stop_recording, abort_recording), and
|
|
16
|
+
* `replace_transcript` — additionally need the key to carry the `ingest` scope
|
|
17
|
+
* ("Record & upload"), enforced server-side. A `recordings:read`-only key cannot
|
|
18
|
+
* create, modify, or delete anything.
|
|
16
19
|
*
|
|
17
20
|
* Config (env):
|
|
18
21
|
* CLIPY_API_KEY (required) your personal key
|
|
@@ -51,7 +54,7 @@ async function api(path) {
|
|
|
51
54
|
headers: {
|
|
52
55
|
Authorization: `Bearer ${API_KEY}`,
|
|
53
56
|
Accept: "application/json",
|
|
54
|
-
"User-Agent": "clipy-mcp/0.7.
|
|
57
|
+
"User-Agent": "clipy-mcp/0.7.1",
|
|
55
58
|
},
|
|
56
59
|
signal: controller.signal,
|
|
57
60
|
});
|
|
@@ -99,7 +102,7 @@ async function apiPostJson(path, payload, method = "POST") {
|
|
|
99
102
|
Authorization: `Bearer ${API_KEY}`,
|
|
100
103
|
"Content-Type": "application/json",
|
|
101
104
|
Accept: "application/json",
|
|
102
|
-
"User-Agent": "clipy-mcp/0.7.
|
|
105
|
+
"User-Agent": "clipy-mcp/0.7.1",
|
|
103
106
|
},
|
|
104
107
|
body: JSON.stringify(payload),
|
|
105
108
|
signal: controller.signal,
|
|
@@ -156,7 +159,7 @@ async function apiPostChunk(recordingId, uploadToken, partNumber, bytes) {
|
|
|
156
159
|
try {
|
|
157
160
|
res = await fetch(`${API_URL}/api/videos/raw-upload/chunk`, {
|
|
158
161
|
method: "POST",
|
|
159
|
-
headers: { Authorization: `Bearer ${API_KEY}`, "User-Agent": "clipy-mcp/0.7.
|
|
162
|
+
headers: { Authorization: `Bearer ${API_KEY}`, "User-Agent": "clipy-mcp/0.7.1" },
|
|
160
163
|
body: form,
|
|
161
164
|
signal: controller.signal,
|
|
162
165
|
});
|
|
@@ -227,7 +230,7 @@ async function uploadCapturedWebm(opts) {
|
|
|
227
230
|
recordingId,
|
|
228
231
|
createVideoRow: true,
|
|
229
232
|
sourcePlatform: "web",
|
|
230
|
-
sourceVersion: "mcp/0.7.
|
|
233
|
+
sourceVersion: "mcp/0.7.1",
|
|
231
234
|
});
|
|
232
235
|
uploadToken = String(init.uploadToken ?? "");
|
|
233
236
|
publicId = String(init.publicId ?? "");
|
|
@@ -258,7 +261,7 @@ async function uploadCapturedWebm(opts) {
|
|
|
258
261
|
name: opts.name,
|
|
259
262
|
description: opts.description,
|
|
260
263
|
sourcePlatform: "web",
|
|
261
|
-
sourceVersion: "mcp/0.7.
|
|
264
|
+
sourceVersion: "mcp/0.7.1",
|
|
262
265
|
...(opts.narration && (opts.narration.text || opts.narration.notes?.length)
|
|
263
266
|
? { narration: opts.narration }
|
|
264
267
|
: {}),
|
|
@@ -283,7 +286,7 @@ function fail(message) {
|
|
|
283
286
|
};
|
|
284
287
|
}
|
|
285
288
|
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
286
|
-
const server = new McpServer({ name: "clipy", version: "0.7.
|
|
289
|
+
const server = new McpServer({ name: "clipy", version: "0.7.1" });
|
|
287
290
|
const recordingIdSchema = z
|
|
288
291
|
.string()
|
|
289
292
|
.describe("The recording's public id (the slug in its share URL, e.g. 'a1b2c3d4e5f6') or the full https://clipy.online/video/<id> URL.");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clipy/mcp",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"mcpName": "online.clipy/mcp",
|
|
5
5
|
"description": "Model Context Protocol (MCP) server for Clipy — give Claude, Cursor, and other AI agents read access to your screen recordings' transcripts, AI summaries, and key moments with frames.",
|
|
6
6
|
"license": "MIT",
|