clipai-mcp 0.1.0 → 0.1.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/README.md CHANGED
@@ -16,7 +16,7 @@ loop the app does, now drivable by an agent.
16
16
  | `list_videos` | List the org's videos with status and clip counts. |
17
17
  | `list_clips` | List clips (optionally for one video): id, title, status, score, start/end. |
18
18
  | `get_clip` | Fetch one clip (poll its status after rendering). |
19
- | `render_clip` | Render a clip to a 9:16 short with burned captions (returns jobId). |
19
+ | `render_clip` | Render a clip to a 9:16 short with burned captions; `reframe_focus: "track"` pans the crop to follow the speaker (returns jobId). |
20
20
  | `list_social_accounts` | List connected social accounts to schedule to. |
21
21
  | `schedule_clip` | Schedule a rendered clip (or `publish_now`) to an account. |
22
22
 
package/dist/index.js CHANGED
@@ -4,7 +4,8 @@
4
4
  * so Claude (or any MCP client) can run the whole loop from a message:
5
5
  * import a YouTube video -> list the AI-detected clips -> render one -> schedule it.
6
6
  *
7
- * Auth is the org owner's email/password (env), used via the existing session API.
7
+ * Auth is a per-org API key (env: CLIPAI_API_KEY) sent as Authorization: Bearer.
8
+ * Generate one in ClipAI Settings -> API keys.
8
9
  * Configure in an MCP client (e.g. Claude Desktop) - see README.md.
9
10
  */
10
11
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
@@ -65,7 +66,11 @@ const tools = [
65
66
  caption_language: { type: "string", description: "Optional: translate captions to this language." },
66
67
  dub_language: { type: "string", description: "Optional: dub the audio into this language (ElevenLabs)." },
67
68
  hook_text: { type: "string", description: "Optional headline burned over the first few seconds." },
68
- reframe_focus: { type: "string", enum: ["center", "left", "right"] },
69
+ reframe_focus: {
70
+ type: "string",
71
+ enum: ["center", "left", "right", "track"],
72
+ description: "Horizontal focus of the 9:16 crop. \"track\" pans to follow the speaker's face.",
73
+ },
69
74
  remove_silence: { type: "boolean" },
70
75
  layout: { type: "string", enum: ["fill", "split"] },
71
76
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clipai-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "MCP server exposing the ClipAI clipping pipeline as agent-callable tools (import, clip, render, schedule).",
6
6
  "license": "MIT",