@ssemble/mcp-server 1.1.18 → 1.1.20

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
@@ -100,7 +100,7 @@ Required: a source (`url` for YouTube or `fileUrl` for a public video file) plus
100
100
  | Clipping | `preferredLength` (`under30sec` … `under10min`, default `under60sec`), `maxShorts` (1-12), `noClipping` (render the whole range as one clip) |
101
101
  | Language | `language` (spoken, ISO 639-1, 54 codes — read the `ssemble://supported-languages` resource), `captionLanguage` (if different) |
102
102
  | Captions | `templateId` (from `list_templates`), `captionsEnabled` (default `true`; set `false` for sources that already carry captions) |
103
- | Framing | `layout` (`auto` / `fill` / `fit` / `square`), `blurBackground` (with `fit`: `true` = blurred copy of the video behind the clip, `false` = a solid colour, set it with `backgroundColor` like `#000000`, else the account's saved colour or the template's; omit to use the account's saved editor preference) |
103
+ | Framing | `layout` (`auto` / `fill` / `fit` / `square` / `split`: face cam on top + gameplay below, for gaming streams), `blurBackground` (with `fit`: `true` = blurred copy of the video behind the clip, `false` = a solid colour, set it with `backgroundColor` like `#000000`, else the account's saved colour or the template's; omit to use the account's saved editor preference) |
104
104
  | Overlays | `hookTitle`, `memeHook` + `memeHookName`, `gameVideo` + `gameVideoName`, `ctaEnabled` + `ctaText` |
105
105
  | Music | `music` + `musicName` (one track) or `musicNames` (several, one picked at random per short), `musicVolume` (0-100, default 10) |
106
106
  | End-screen outro | `outroEnabled` (default `false`), then `outroText` (≤ 80 chars, default a localized "Please subscribe"), `outroImageUrl` (custom card), `outroSeconds` (1-3, default 2), `outroSting` (bell sound, default `true`), `outroHandle` (e.g. `@mychannel`) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssemble/mcp-server",
3
- "version": "1.1.18",
3
+ "version": "1.1.20",
4
4
  "mcpName": "com.ssemble/mcp-server",
5
5
  "description": "MCP server for Ssemble AI Clipping — create viral short-form videos from any AI assistant. Webhook callbacks for n8n, Zapier, and Make automation.",
6
6
  "type": "module",
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "com.ssemble/mcp-server",
4
4
  "title": "Ssemble AI Clipping",
5
5
  "description": "Create AI-powered short-form video clips from YouTube videos. Supports webhook callbacks.",
6
- "version": "1.1.18",
6
+ "version": "1.1.20",
7
7
  "websiteUrl": "https://www.ssemble.com/mcp",
8
8
  "repository": {
9
9
  "url": "https://github.com/ssembleinc/ssemble-mcp-server",
@@ -14,7 +14,7 @@
14
14
  "registryType": "npm",
15
15
  "registryBaseUrl": "https://registry.npmjs.org",
16
16
  "identifier": "@ssemble/mcp-server",
17
- "version": "1.1.18",
17
+ "version": "1.1.20",
18
18
  "transport": {
19
19
  "type": "stdio"
20
20
  },
@@ -30,18 +30,19 @@ const LAYOUTS = {
30
30
  fill: 'Fill — crop to fill 9:16 vertical frame',
31
31
  fit: 'Fit — fit entire frame; the area around the video is a blurred copy of the video (default) or a solid color when blurBackground=false (backgroundColor, e.g. #000000)',
32
32
  square: 'Square — 1:1 aspect ratio',
33
+ split: 'Split screen — for gaming streams with a face cam. The face cam fills the top 35% of the frame and the gameplay fills the rest. Clips where no face cam is found use auto',
33
34
  };
34
35
 
35
36
  // Mirrors plugin-shortsmaker-node-backend/constants/hookTitlePresets.js
36
37
  const HOOK_TITLE_PRESETS = {
37
- 'classic-pill': 'Classic Pill (default) — black text on white rounded pills; stays for the whole clip',
38
- 'dark-pill': 'Dark Pill — white text on near-black pills; stays for the whole clip',
39
- 'bold-outline': 'Bold Outline — white text with a black outline, no box; stays for the whole clip',
40
- classic: 'Classic — black uppercase text in one white rounded box; stays for the whole clip',
38
+ 'classic-pill': 'Classic Pill (default) — black text on white rounded pills; stays until the CTA (or hookTitleDuration seconds)',
39
+ 'dark-pill': 'Dark Pill — white text on near-black pills; stays until the CTA (or hookTitleDuration seconds)',
40
+ 'bold-outline': 'Bold Outline — white text with a black outline, no box; stays until the CTA (or hookTitleDuration seconds)',
41
+ classic: 'Classic — black uppercase text in one white rounded box; stays until the CTA (or hookTitleDuration seconds)',
41
42
  editorial: 'Editorial — serif lead line, big lime keyword, small tail line; animates in, leaves after ~4s',
42
43
  statement: 'Statement — small setup line, big condensed payoff; animates in, leaves after ~4s',
43
- native: 'Regular — plain white left-aligned text, like a caption typed in the Instagram app; stays for the whole clip',
44
- custom: 'Custom — your own design: shape, font, size, colours, outline, corners and letter case, set in hookTitleStyle (fonts: ssemble://hook-title-fonts); stays for the whole clip',
44
+ native: 'Regular — plain white left-aligned text, like a caption typed in the Instagram app; stays until the CTA (or hookTitleDuration seconds)',
45
+ custom: 'Custom — your own design: shape, font, size, colours, outline, corners and letter case, set in hookTitleStyle (fonts: ssemble://hook-title-fonts); stays until the CTA (or hookTitleDuration seconds)',
45
46
  };
46
47
 
47
48
  // Fonts for hookTitleStyle.fontId (same list as GET /api/v1/hook-title-fonts).
@@ -97,7 +98,7 @@ export function registerResources(server) {
97
98
  for (const [value, desc] of Object.entries(HOOK_TITLE_PRESETS)) {
98
99
  text += `| \`${value}\` | ${desc} |\n`;
99
100
  }
100
- text += '\nDefault: `classic-pill`. Requires `hookTitle: true`. For editorial/statement the AI splits each clip title into the lines automatically.';
101
+ text += '\nDefault: `classic-pill`. Requires `hookTitle: true`. For editorial/statement the AI splits each clip title into the lines automatically. `hookTitleDuration` (seconds, e.g. 3, 5, 10) shortens the non-animated styles; the hook is always hidden while the CTA shows.';
101
102
  return { contents: [{ uri: 'ssemble://hook-title-presets', mimeType: 'text/markdown', text }] };
102
103
  }
103
104
  );
@@ -28,7 +28,9 @@ const schema = {
28
28
  noClipping: z.boolean().default(false).describe('Skip AI clipping, process entire range as one clip').optional(),
29
29
  hookTitle: z.boolean().default(false).describe('Add animated hook title at start').optional(),
30
30
  hookTitlePresetId: z.enum(['classic-pill', 'dark-pill', 'bold-outline', 'editorial', 'statement', 'classic', 'native', 'custom'])
31
- .describe('Hook title style (requires hookTitle=true). classic-pill (default) = black text on white pills; dark-pill = white on dark pills; bold-outline = white text with black outline; classic = one white box; native = Regular style: plain white left-aligned text like an Instagram caption; editorial = serif with a lime keyword; statement = condensed setup + big payoff; custom = your own design, set in hookTitleStyle. editorial and statement animate in and leave after ~4s; the others stay for the whole clip. See ssemble://hook-title-presets.').optional(),
31
+ .describe('Hook title style (requires hookTitle=true). classic-pill (default) = black text on white pills; dark-pill = white on dark pills; bold-outline = white text with black outline; classic = one white box; native = Regular style: plain white left-aligned text like an Instagram caption; editorial = serif with a lime keyword; statement = condensed setup + big payoff; custom = your own design, set in hookTitleStyle. editorial and statement animate in and leave after ~4s; the others stay until the CTA starts (or the end of the clip), or for hookTitleDuration seconds. See ssemble://hook-title-presets.').optional(),
32
+ hookTitleDuration: z.number().positive()
33
+ .describe('Seconds the hook title stays on screen (requires hookTitle=true), e.g. 3, 5 or 10. Omit for the whole clip. The hook is always hidden while the CTA shows. Ignored by editorial and statement (always ~4s).').optional(),
32
34
  hookTitleStyle: z.object({
33
35
  shape: z.enum(['pill', 'box', 'plain']).describe('pill = a rounded box behind each line; box = one box around the whole title; plain = text only'),
34
36
  fontId: z.string().describe('Font id from ssemble://hook-title-fonts (default montserrat-black)').optional(),
@@ -50,7 +52,7 @@ const schema = {
50
52
  musicName: z.string().describe('Exact track name from list_music (case-sensitive)').optional(),
51
53
  musicNames: z.array(z.string()).min(1).max(20).describe('Several exact track names from list_music (case-sensitive); each short uses one of them at random. Use instead of musicName. Requires music=true.').optional(),
52
54
  musicVolume: z.number().min(0).max(100).default(10).describe('Music volume 0-100').optional(),
53
- layout: z.enum(['auto', 'fill', 'fit', 'square']).default('auto').describe('Video framing layout').optional(),
55
+ layout: z.enum(['auto', 'fill', 'fit', 'square', 'split']).default('auto').describe('Video framing layout. "split" is for gaming streams with a face cam: the face cam on top, the gameplay below (clips where no face cam is found use auto)').optional(),
54
56
  captionsEnabled: z.boolean().default(true).describe('Burn captions into the clips (default true). Set false for sources that already have captions.').optional(),
55
57
  outroEnabled: z.boolean().default(false).describe('Append an end-screen outro card (bell animation + "Please subscribe" text) after each clip. Default false.').optional(),
56
58
  outroText: z.string().max(80).describe('Custom outro text (max 80 chars). Omit for the localized default ("Please subscribe"). Requires outroEnabled=true.').optional(),
@@ -86,6 +88,9 @@ export function registerCreateShort(server, client) {
86
88
  if (params.hookTitlePresetId !== undefined && params.hookTitle !== true) {
87
89
  return { content: [{ type: 'text', text: formatError({ message: 'hookTitlePresetId requires hookTitle: true', code: 'invalid_request' }) }], isError: true };
88
90
  }
91
+ if (params.hookTitleDuration !== undefined && params.hookTitle !== true) {
92
+ return { content: [{ type: 'text', text: formatError({ message: 'hookTitleDuration requires hookTitle: true', code: 'invalid_request' }) }], isError: true };
93
+ }
89
94
  if (params.hookTitlePresetId === 'custom' && !params.hookTitleStyle) {
90
95
  return { content: [{ type: 'text', text: formatError({ message: "hookTitlePresetId 'custom' requires hookTitleStyle", code: 'invalid_request' }) }], isError: true };
91
96
  }