@ssemble/mcp-server 1.1.13 → 1.1.15

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
@@ -104,6 +104,7 @@ Required: a source (`url` for YouTube or `fileUrl` for a public video file) plus
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`) |
107
+ | Source link (for posts scheduled later in the web app) | `includeSourceLink`, `customSourceLink` (≤ 300 chars; default the original YouTube video) |
107
108
  | Automation | `webhookUrl` — POST callback when processing finishes (see below) |
108
109
 
109
110
  Example — Romanian podcast, fit layout on a solid background, with an outro:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssemble/mcp-server",
3
- "version": "1.1.13",
3
+ "version": "1.1.15",
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.13",
6
+ "version": "1.1.15",
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.13",
17
+ "version": "1.1.15",
18
18
  "transport": {
19
19
  "type": "stdio"
20
20
  },
@@ -32,6 +32,16 @@ const LAYOUTS = {
32
32
  square: 'Square — 1:1 aspect ratio',
33
33
  };
34
34
 
35
+ // Mirrors plugin-shortsmaker-node-backend/constants/hookTitlePresets.js
36
+ const HOOK_TITLE_PRESETS = {
37
+ 'classic-pill': 'Classic Pill (default) — black uppercase text on white rounded pills; stays for the whole clip',
38
+ 'dark-pill': 'Dark Pill — white uppercase text on near-black pills; stays for the whole clip',
39
+ 'bold-outline': 'Bold Outline — white uppercase 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',
41
+ editorial: 'Editorial — serif lead line, big lime keyword, small tail line; animates in, leaves after ~4s',
42
+ statement: 'Statement — small setup line, big condensed payoff; animates in, leaves after ~4s',
43
+ };
44
+
35
45
  export function registerResources(server) {
36
46
  server.resource(
37
47
  'supported-languages',
@@ -64,6 +74,21 @@ export function registerResources(server) {
64
74
  }
65
75
  );
66
76
 
77
+ server.resource(
78
+ 'hook-title-presets',
79
+ 'ssemble://hook-title-presets',
80
+ { description: 'Hook title styles for the hookTitlePresetId parameter of create_short' },
81
+ async () => {
82
+ let text = '## Hook Title Presets\n\n';
83
+ text += '| Value | Description |\n|-------|-------------|\n';
84
+ for (const [value, desc] of Object.entries(HOOK_TITLE_PRESETS)) {
85
+ text += `| \`${value}\` | ${desc} |\n`;
86
+ }
87
+ text += '\nDefault: `classic-pill`. Requires `hookTitle: true`. For editorial/statement the AI splits each clip title into the lines automatically.';
88
+ return { contents: [{ uri: 'ssemble://hook-title-presets', mimeType: 'text/markdown', text }] };
89
+ }
90
+ );
91
+
67
92
  server.resource(
68
93
  'layouts',
69
94
  'ssemble://layouts',
@@ -27,6 +27,8 @@ const schema = {
27
27
  templateId: z.string().regex(/^[0-9a-fA-F]{24}$/).describe('Caption template ID from list_templates (24-char hex)').optional(),
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
+ hookTitlePresetId: z.enum(['classic-pill', 'dark-pill', 'bold-outline', 'editorial', 'statement', 'classic'])
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; editorial = serif with a lime keyword; statement = condensed setup + big payoff. editorial and statement animate in and leave after ~4s; the others stay for the whole clip. See ssemble://hook-title-presets.').optional(),
30
32
  memeHook: z.boolean().default(false).describe('Prepend a meme hook clip (2-5s attention grabber)').optional(),
31
33
  memeHookName: z.string().describe('Exact meme hook name from list_meme_hooks (case-sensitive)').optional(),
32
34
  gameVideo: z.boolean().default(false).describe('Add split-screen gameplay overlay').optional(),
@@ -47,6 +49,8 @@ const schema = {
47
49
  outroHandle: z.string().max(40).describe('Channel handle shown on the outro card, e.g. "@mychannel" (max 40 chars). Requires outroEnabled=true.').optional(),
48
50
  blurBackground: z.boolean().describe('Background behind the clip when the source does not fill the 9:16 canvas (mainly layout=fit): true = blurred copy of the video, false = solid color (backgroundColor, else the account\'s saved color, else the template color). Omit to use the account\'s saved editor preference (default: blurred).').optional(),
49
51
  backgroundColor: z.string().regex(/^#[0-9a-fA-F]{6}$/).describe('Solid background color as hex, e.g. "#000000". Only with blurBackground=false. Omit to use the account\'s saved background color, else the template color.').optional(),
52
+ includeSourceLink: z.boolean().describe('When these clips are later scheduled from the Ssemble web app (Share / Calendar), end each caption with "Source: <link>": customSourceLink if set, else the original YouTube video. Omit to use the account\'s last scheduler choice. Does not change the clips.').optional(),
53
+ customSourceLink: z.string().max(300).describe('Own link for the Source line, e.g. "mysite.com/videos" (https:// added if missing, max 300 chars). Requires includeSourceLink=true.').optional(),
50
54
  webhookUrl: z.string().url().describe('Optional webhook URL for completion/failure notifications. Receives a POST with results when processing finishes.').optional(),
51
55
  };
52
56
 
@@ -68,6 +72,9 @@ export function registerCreateShort(server, client) {
68
72
  if ((params.end - params.start) > 1200) {
69
73
  return { content: [{ type: 'text', text: formatError({ message: 'Time window exceeds maximum of 1200 seconds (20 minutes)', code: 'invalid_request' }) }], isError: true };
70
74
  }
75
+ if (params.hookTitlePresetId !== undefined && params.hookTitle !== true) {
76
+ return { content: [{ type: 'text', text: formatError({ message: 'hookTitlePresetId requires hookTitle: true', code: 'invalid_request' }) }], isError: true };
77
+ }
71
78
  if (params.ctaEnabled && !params.ctaText) {
72
79
  return { content: [{ type: 'text', text: formatError({ message: 'ctaText is required when ctaEnabled is true', code: 'invalid_request' }) }], isError: true };
73
80
  }
@@ -75,6 +82,9 @@ export function registerCreateShort(server, client) {
75
82
  if (outroExtras.length && params.outroEnabled !== true) {
76
83
  return { content: [{ type: 'text', text: formatError({ message: `${outroExtras.join(', ')} require outroEnabled: true`, code: 'invalid_request' }) }], isError: true };
77
84
  }
85
+ if (params.customSourceLink !== undefined && params.customSourceLink !== '' && params.includeSourceLink !== true) {
86
+ return { content: [{ type: 'text', text: formatError({ message: 'customSourceLink requires includeSourceLink: true', code: 'invalid_request' }) }], isError: true };
87
+ }
78
88
  if (params.backgroundColor !== undefined && params.blurBackground !== false) {
79
89
  return { content: [{ type: 'text', text: formatError({ message: 'backgroundColor requires blurBackground: false', code: 'invalid_request' }) }], isError: true };
80
90
  }