@vprop/mcp 1.0.3 → 1.0.5

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
@@ -237,6 +237,7 @@ When calling `create_project`, you can customize:
237
237
  | `theme` | `modern` `classic` `bold` `elegant` | `modern` |
238
238
  | `resolution` | `portrait` (9:16) `landscape` (16:9) | `portrait` |
239
239
  | `caption` | `none` `keyword` `description` | `keyword` |
240
+ | `language` | `en` `es` `ko` `zh-Hans` | `en` |
240
241
  | `voice_id` | ID from `list_voices` | agent default |
241
242
  | `bgm_id` | ID from `list_bgms` | theme default |
242
243
  | `use_agent_avatar` | `true` `false` | `true` |
package/dist/index.js CHANGED
@@ -308,15 +308,16 @@ server.registerTool("create_project", {
308
308
  theme: z.enum(["modern", "classic", "bold", "elegant"]).optional().describe("Visual theme (default: modern)"),
309
309
  resolution: z.enum(["portrait", "landscape"]).optional().describe("Video orientation (default: portrait/9:16)"),
310
310
  caption: z.enum(["none", "keyword", "description"]).optional().describe("Caption style (default: keyword)"),
311
+ language: z.enum(["en", "es", "ko", "zh-Hans"]).optional().describe("Narration + caption language (default: en). Use list_voices to find a voice whose verified_languages includes your chosen language."),
311
312
  voice_id: z.string().optional().describe("Per-project voice override (from list_voices)"),
312
313
  bgm_id: z.string().optional().describe("Background music ID (from list_bgms)"),
313
314
  use_agent_avatar: z.boolean().optional().describe("Show animated agent avatar (default: true, needs agent photo)"),
314
315
  use_lipsync: z.boolean().optional().describe("Lipsync the avatar (default: false)"),
315
316
  metadata: z.record(z.string(), z.unknown()).optional(),
316
317
  },
317
- }, async ({ listing_id, agent_id, title, cta, theme, resolution, caption, voice_id, bgm_id, use_agent_avatar, use_lipsync, metadata, }) => {
318
- const options = theme || resolution || caption || voice_id || bgm_id || use_agent_avatar !== undefined || use_lipsync !== undefined
319
- ? { theme, resolution, caption, voice_id, bgm_id, use_agent_avatar, use_lipsync }
318
+ }, async ({ listing_id, agent_id, title, cta, theme, resolution, caption, language, voice_id, bgm_id, use_agent_avatar, use_lipsync, metadata, }) => {
319
+ const options = theme || resolution || caption || language || voice_id || bgm_id || use_agent_avatar !== undefined || use_lipsync !== undefined
320
+ ? { theme, resolution, caption, language, voice_id, bgm_id, use_agent_avatar, use_lipsync }
320
321
  : undefined;
321
322
  return toText(await vpropFetch("/projects", {
322
323
  method: "POST",
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@vprop/mcp",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "MCP server for the vProp Public API — generate real-estate listing videos with AI",
5
5
  "type": "module",
6
6
  "bin": {
7
+ "mcp": "dist/index.js",
7
8
  "vprop-mcp": "dist/index.js"
8
9
  },
9
10
  "files": [