@clipy/mcp 0.5.0 → 0.5.2

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 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,17 +1,19 @@
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
 
11
5
  This is a [Model Context Protocol](https://modelcontextprotocol.io) (MCP) server. It lets
12
6
  Claude, Cursor, Windsurf, and other MCP-capable agents **search your recordings and read
13
- their transcripts and AI summaries** — so you can do things like _"turn this bug-report
14
- recording into a Linear ticket"_ without leaving your agent.
7
+ their transcripts, AI summaries, and key moments** — including the video frames of
8
+ exactly what the speaker pointed at, delivered as inline images your agent can see. So
9
+ you can do things like _"read this bug-report recording and ship the fix"_ without
10
+ leaving your agent.
11
+
12
+ > **Zero-setup alternative:** every public Clipy share link is also agent-readable
13
+ > without this server — append `.md` (e.g. `clipy.online/video/<id>.md`) and any agent
14
+ > that can fetch a URL gets the summary, key moments with frames, and timestamped
15
+ > transcript. The MCP server adds private-library search, inline frame images, and
16
+ > one-call context bundles. More at [clipy.online/for-agents](https://clipy.online/for-agents).
15
17
 
16
18
  It is **read-only**: it can never create, edit, or delete your recordings.
17
19
 
package/dist/index.js CHANGED
@@ -26,14 +26,20 @@ import { Readable } from "node:stream";
26
26
  import { pipeline } from "node:stream/promises";
27
27
  const API_URL = (process.env.CLIPY_API_URL || "https://clipy.online").replace(/\/+$/, "");
28
28
  const API_KEY = process.env.CLIPY_API_KEY;
29
+ // The key is checked lazily (per tool call, not at startup) so the server can
30
+ // start and answer introspection (initialize / tools/list) in keyless
31
+ // environments like directory health checks.
29
32
  if (!API_KEY) {
30
- process.stderr.write("[clipy-mcp] Missing CLIPY_API_KEY. Create one at " +
31
- `${API_URL}/settings/api-keys and set it in your MCP client config.\n`);
32
- process.exit(1);
33
+ process.stderr.write("[clipy-mcp] CLIPY_API_KEY is not set — tools will error until it is. " +
34
+ `Create one at ${API_URL}/settings/api-keys and set it in your MCP client config.\n`);
33
35
  }
34
36
  const FETCH_TIMEOUT_MS = 20_000;
35
37
  /** Calls the Clipy v1 API with the API key. Throws on non-2xx or timeout. */
36
38
  async function api(path) {
39
+ if (!API_KEY) {
40
+ throw new Error(`Missing CLIPY_API_KEY. Create a free API key at ${API_URL}/settings/api-keys ` +
41
+ "and set it in your MCP client config, then try again.");
42
+ }
37
43
  const controller = new AbortController();
38
44
  const timer = setTimeout(() => controller.abort(), FETCH_TIMEOUT_MS);
39
45
  let res;
@@ -42,7 +48,7 @@ async function api(path) {
42
48
  headers: {
43
49
  Authorization: `Bearer ${API_KEY}`,
44
50
  Accept: "application/json",
45
- "User-Agent": "clipy-mcp/0.5.0",
51
+ "User-Agent": "clipy-mcp/0.5.2",
46
52
  },
47
53
  signal: controller.signal,
48
54
  });
@@ -81,7 +87,7 @@ function fail(message) {
81
87
  };
82
88
  }
83
89
  const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
84
- const server = new McpServer({ name: "clipy", version: "0.5.0" });
90
+ const server = new McpServer({ name: "clipy", version: "0.5.2" });
85
91
  const recordingIdSchema = z
86
92
  .string()
87
93
  .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,7 +1,8 @@
1
1
  {
2
2
  "name": "@clipy/mcp",
3
- "version": "0.5.0",
4
- "description": "Model Context Protocol (MCP) server for Clipy — give Claude, Cursor, and other AI agents read access to your screen recordings' transcripts and AI summaries.",
3
+ "version": "0.5.2",
4
+ "mcpName": "online.clipy/mcp",
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.",
5
6
  "license": "MIT",
6
7
  "type": "module",
7
8
  "publishConfig": {
@@ -40,5 +41,13 @@
40
41
  "devDependencies": {
41
42
  "@types/node": "^20.19.43",
42
43
  "typescript": "^5.5.0"
44
+ },
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/manovagyanik1/clipy-mcp.git"
48
+ },
49
+ "homepage": "https://clipy.online/for-agents",
50
+ "bugs": {
51
+ "url": "https://github.com/manovagyanik1/clipy-mcp/issues"
43
52
  }
44
53
  }