@mindstone/mcp-server-runway 0.4.0 → 0.4.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
@@ -7,7 +7,7 @@ Runway ML MCP server for Model Context Protocol hosts. Generate AI video, images
7
7
 
8
8
  ## Status
9
9
 
10
- - **Version:** [0.4.0](./CHANGELOG.md) · [npm](https://www.npmjs.com/package/@mindstone/mcp-server-runway)
10
+ - **Version:** [0.4.1](./CHANGELOG.md) · [npm](https://www.npmjs.com/package/@mindstone/mcp-server-runway)
11
11
  - **Auth:** API key ([`RUNWAYML_API_SECRET`](./server.json))
12
12
  - **Tools:** [23](./src/tools/) (video, image, audio, voices, tasks)
13
13
  - **Surface:** cloud-api
@@ -64,7 +64,7 @@ export function registerVideoTools(server) {
64
64
  'MODELS: gen4.5 (flagship), veo3.1 (best + audio), veo3.1_fast, veo3 (deprecated upstream). ' +
65
65
  'WORKFLOW: Returns task_id → poll or use wait_for_runway_task.',
66
66
  inputSchema: z.object({
67
- prompt_text: z.string().describe('Detailed video description. Max 1000 chars.'),
67
+ prompt_text: z.string().max(1000).describe('Detailed video description. Max 1000 chars.'),
68
68
  model: z.enum(['gen4.5', 'veo3.1', 'veo3.1_fast', 'veo3']).optional().describe('Default: gen4.5.'),
69
69
  ratio: z.enum(['1280:720', '720:1280']).optional().describe('Output resolution. Default: 1280:720.'),
70
70
  duration: z.number().optional().describe('Seconds. gen4.5: 2-10 (default 5). veo: 4,6,8 (default 8).'),
@@ -50,10 +50,10 @@ export function registerVoiceTools(server) {
50
50
  'MODELS: eleven_multilingual_ttv_v2 (default), eleven_ttv_v3 (newer). ' +
51
51
  'Check status with list_custom_voices. Once READY, use its ID with generate_speech.',
52
52
  inputSchema: z.object({
53
- name: z.string().describe('Name for the voice. Max 100 characters.'),
54
- prompt: z.string().describe('Text description of desired voice. Min 20, max 1000 characters.'),
53
+ name: z.string().min(1).max(100).describe('Name for the voice. Max 100 characters.'),
54
+ prompt: z.string().min(20).max(1000).describe('Text description of desired voice. Min 20, max 1000 characters.'),
55
55
  model: z.enum(['eleven_multilingual_ttv_v2', 'eleven_ttv_v3']).optional().describe('Voice design model. Default: eleven_multilingual_ttv_v2.'),
56
- description: z.string().optional().describe('Optional description for your reference. Max 512 characters.'),
56
+ description: z.string().max(512).optional().describe('Optional description for your reference. Max 512 characters.'),
57
57
  }),
58
58
  annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: true },
59
59
  }, withErrorHandling(async (args) => {
@@ -75,7 +75,7 @@ export function registerVoiceTools(server) {
75
75
  description: 'Generate a short audio preview of a voice from a text description, without creating it. ' +
76
76
  'Use to audition voice characteristics before committing with create_custom_voice.',
77
77
  inputSchema: z.object({
78
- prompt: z.string().describe('Text description of desired voice. Min 20, max 1000 characters.'),
78
+ prompt: z.string().min(20).max(1000).describe('Text description of desired voice. Min 20, max 1000 characters.'),
79
79
  model: z.enum(['eleven_multilingual_ttv_v2', 'eleven_ttv_v3']).optional().describe('Voice design model. Default: eleven_multilingual_ttv_v2.'),
80
80
  }),
81
81
  annotations: { readOnlyHint: true, destructiveHint: false, openWorldHint: true },
@@ -24,7 +24,7 @@
24
24
  * broken out of. `undefined` passes through untouched. Idempotent for the same
25
25
  * `source`.
26
26
  */
27
- export declare function wrapUntrusted(text: string | undefined, source: string): string | undefined;
27
+ export declare function wrapUntrusted(text: string | null | undefined, source: string): string | undefined;
28
28
  /**
29
29
  * Recursively wrap every string value reachable inside `value`. Object keys are
30
30
  * structural and NOT wrapped; non-string leaves pass through unchanged.
@@ -33,7 +33,7 @@ function escapeCloseTagSentinels(s) {
33
33
  * `source`.
34
34
  */
35
35
  export function wrapUntrusted(text, source) {
36
- if (text === undefined)
36
+ if (text === undefined || text === null)
37
37
  return undefined;
38
38
  const open = `<untrusted-content source="${escapeAttr(source)}">`;
39
39
  const close = '</untrusted-content>';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstone/mcp-server-runway",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "mcpName": "io.github.mindstone/mcp-server-runway",
5
5
  "description": "Runway ML MCP server for Model Context Protocol hosts — AI video, image, audio generation, custom voices, task management",
6
6
  "license": "FSL-1.1-MIT",