@ssemble/mcp-server 1.1.18 → 1.1.19
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/package.json +1 -1
- package/server.json +2 -2
- package/src/resources/static-data.js +7 -7
- package/src/tools/create-short.js +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ssemble/mcp-server",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.19",
|
|
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.
|
|
6
|
+
"version": "1.1.19",
|
|
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.
|
|
17
|
+
"version": "1.1.19",
|
|
18
18
|
"transport": {
|
|
19
19
|
"type": "stdio"
|
|
20
20
|
},
|
|
@@ -34,14 +34,14 @@ const LAYOUTS = {
|
|
|
34
34
|
|
|
35
35
|
// Mirrors plugin-shortsmaker-node-backend/constants/hookTitlePresets.js
|
|
36
36
|
const HOOK_TITLE_PRESETS = {
|
|
37
|
-
'classic-pill': 'Classic Pill (default) — black text on white rounded pills; stays
|
|
38
|
-
'dark-pill': 'Dark Pill — white text on near-black pills; stays
|
|
39
|
-
'bold-outline': 'Bold Outline — white text with a black outline, no box; stays
|
|
40
|
-
classic: 'Classic — black uppercase text in one white rounded box; stays
|
|
37
|
+
'classic-pill': 'Classic Pill (default) — black text on white rounded pills; stays until the CTA (or hookTitleDuration seconds)',
|
|
38
|
+
'dark-pill': 'Dark Pill — white text on near-black pills; stays until the CTA (or hookTitleDuration seconds)',
|
|
39
|
+
'bold-outline': 'Bold Outline — white text with a black outline, no box; stays until the CTA (or hookTitleDuration seconds)',
|
|
40
|
+
classic: 'Classic — black uppercase text in one white rounded box; stays until the CTA (or hookTitleDuration seconds)',
|
|
41
41
|
editorial: 'Editorial — serif lead line, big lime keyword, small tail line; animates in, leaves after ~4s',
|
|
42
42
|
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
|
|
44
|
-
custom: 'Custom — your own design: shape, font, size, colours, outline, corners and letter case, set in hookTitleStyle (fonts: ssemble://hook-title-fonts); stays
|
|
43
|
+
native: 'Regular — plain white left-aligned text, like a caption typed in the Instagram app; stays until the CTA (or hookTitleDuration seconds)',
|
|
44
|
+
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
45
|
};
|
|
46
46
|
|
|
47
47
|
// Fonts for hookTitleStyle.fontId (same list as GET /api/v1/hook-title-fonts).
|
|
@@ -97,7 +97,7 @@ export function registerResources(server) {
|
|
|
97
97
|
for (const [value, desc] of Object.entries(HOOK_TITLE_PRESETS)) {
|
|
98
98
|
text += `| \`${value}\` | ${desc} |\n`;
|
|
99
99
|
}
|
|
100
|
-
text += '\nDefault: `classic-pill`. Requires `hookTitle: true`. For editorial/statement the AI splits each clip title into the lines automatically.';
|
|
100
|
+
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
101
|
return { contents: [{ uri: 'ssemble://hook-title-presets', mimeType: 'text/markdown', text }] };
|
|
102
102
|
}
|
|
103
103
|
);
|
|
@@ -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
|
|
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(),
|
|
@@ -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
|
}
|