@slatesvideo/mcp-server 0.5.13 → 0.5.14

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
@@ -65,7 +65,7 @@ No environment variables, no API keys to paste into config files.
65
65
 
66
66
  ## What the agent can do
67
67
 
68
- <!-- gen:tool-count -->91<!-- /gen:tool-count --> tools covering the full workspace: project, folder, character, environment, style, and storyboard management (create / update / delete), image generation and surgical image editing (<!-- gen:image-roster -->Nano Banana 2 (Gemini 3.1 Flash Image), Nano Banana 2 Lite, Nano Banana Pro, GPT Image 2, FLUX.2 Max, Seedream 5 Lite<!-- /gen:image-roster --> — with project-asset reference images), video generation (<!-- gen:video-roster -->kling-v3.0-std, kling-v3.0-pro, kling-v3.0-omni, veo-3.1-fast, veo-3.1-standard, Seedance 2.0, Seedance 2.5, Gemini Omni Flash, MiniMax H3, MiniMax H3 Max, LTX-2.5, LTX-2.5 Pro<!-- /gen:video-roster -->), audio generation (<!-- gen:audio-roster -->Seed Audio 1.0, ElevenLabs Sound Effects v2, Inworld Realtime TTS-2<!-- /gen:audio-roster -->), lip sync, motion transfer, background generation with status polling, timeline assembly (add / reorder / remove clips), MP4 export and FCP7 XML export for DaVinci Resolve, cost estimation, and credit balance. Bundled prompting/workflow guides are readable at runtime via the `slates_get_prompting_guide` tool — no skill installation needed for MCP-only clients.
68
+ <!-- gen:tool-count -->92<!-- /gen:tool-count --> tools covering the full workspace: project, folder, character, environment, style, and storyboard management (create / update / delete), image generation and surgical image editing (<!-- gen:image-roster -->Nano Banana 2 (Gemini 3.1 Flash Image), Nano Banana 2 Lite, Nano Banana Pro, GPT Image 2, FLUX.2 Max, Seedream 5 Lite<!-- /gen:image-roster --> — with project-asset reference images), video generation (<!-- gen:video-roster -->kling-v3.0-std, kling-v3.0-pro, kling-v3.0-omni, veo-3.1-fast, veo-3.1-standard, Seedance 2.0, Seedance 2.5, Gemini Omni Flash, MiniMax H3, MiniMax H3 Max, LTX-2.5, LTX-2.5 Pro<!-- /gen:video-roster -->), audio generation (<!-- gen:audio-roster -->Seed Audio 1.0, ElevenLabs Sound Effects v2, Inworld Realtime TTS-2<!-- /gen:audio-roster -->), lip sync, motion transfer, background generation with status polling, timeline assembly (add / reorder / remove clips), MP4 export and FCP7 XML export for DaVinci Resolve, cost estimation, and credit balance. Bundled prompting/workflow guides are readable at runtime via the `slates_get_prompting_guide` tool — no skill installation needed for MCP-only clients.
69
69
 
70
70
  Generation tools estimate cost first and ask for confirmation on anything over <!-- gen:confirm-credits -->17<!-- /gen:confirm-credits --> credits, so the agent cannot silently burn credits. Every tool also carries MCP annotations, so a host can auto-approve a read and warn on a delete; the <!-- gen:skill-count -->34<!-- /gen:skill-count --> bundled skills are exposed as MCP **prompts**, and the manual, the model capability table and the live price list as **resources**.
71
71
 
package/dist/server.js CHANGED
@@ -6,7 +6,7 @@ import { readFileSync } from 'node:fs';
6
6
  import { join, dirname } from 'node:path';
7
7
  import { fileURLToPath } from 'node:url';
8
8
  import { z } from 'zod';
9
- import { ALL_OPERATIONS, SKILLS, MODEL_CAPABILITIES, MODEL_FACTS, SlatesCloudClient, buildAgentDoctrine, defaultContext, toolDefinitions, } from '@slatesvideo/shared';
9
+ import { ALL_OPERATIONS, SKILLS, MODEL_CAPABILITIES, MODEL_FACTS, SlatesCloudClient, buildAgentDoctrine, APP_MANUAL, defaultContext, toolDefinitions, } from '@slatesvideo/shared';
10
10
  // Slates MCP server. Stdio transport. Wires every operation in
11
11
  // @slatesvideo/shared as an MCP tool. Both the desktop server and the
12
12
  // cloud API are reached through env-discovered creds in
@@ -22,7 +22,7 @@ import { ALL_OPERATIONS, SKILLS, MODEL_CAPABILITIES, MODEL_FACTS, SlatesCloudCli
22
22
  // 2026-09-02 this file used exactly one MCP feature — tools — so a host had no
23
23
  // way to tell `slates_list_assets` from `slates_delete_project` (no
24
24
  // annotations), no way to read a result as data (no structured content), no way
25
- // to offer the 33 skills in its own picker (no prompts), no way to attach the
25
+ // to offer the bundled skills in its own picker (no prompts), no way to attach the
26
26
  // capability table as context (no resources), and no way to show a render's
27
27
  // progress (no progress notifications). All five are in the 2025-06-18 spec and
28
28
  // all five are now used. Adding one is not decoration: each removes a reason
@@ -48,7 +48,7 @@ const instructions = buildAgentDoctrine({ surface: 'mcp' });
48
48
  const server = new Server({ name: 'slates-studio', version: pkg.version }, {
49
49
  capabilities: {
50
50
  tools: {},
51
- // The 33 bundled skills, offered in the host's own picker rather than
51
+ // Every bundled skill, offered in the host's own picker rather than
52
52
  // only through a tool call the model has to decide to make.
53
53
  prompts: {},
54
54
  // Stable documents a client can attach as context instead of spending a
@@ -318,7 +318,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request, extra) => {
318
318
  };
319
319
  }
320
320
  });
321
- // ── Prompts: the 33 bundled skills ──────────────────────────────────────────
321
+ // ── Prompts: every bundled skill ──────────────────────────────────────────
322
322
  //
323
323
  // This is exactly what MCP prompts are for, and the only path before now was a
324
324
  // tool call the model had to decide to make — measured at 13% compliance. As a
@@ -359,8 +359,8 @@ server.setRequestHandler(ListResourcesRequestSchema, async () => ({
359
359
  resources: [
360
360
  {
361
361
  uri: MANUAL_URI,
362
- name: 'Slates agent manual',
363
- description: 'The working method, the hard rules and the guide index — the same doctrine this server sends as instructions.',
362
+ name: 'Slates app manual',
363
+ description: 'The canonical product manual: exact controls, navigation and app behavior, bundled for offline use.',
364
364
  mimeType: 'text/markdown',
365
365
  },
366
366
  {
@@ -430,7 +430,7 @@ server.setRequestHandler(ReadResourceRequestSchema, async (request) => {
430
430
  const uri = request.params.uri;
431
431
  const text = async () => {
432
432
  if (uri === MANUAL_URI) {
433
- return `${instructions}\n\n---\n\nFull product manual: https://slates.video/slates-reference.md`;
433
+ return APP_MANUAL;
434
434
  }
435
435
  if (uri === CAPABILITIES_URI)
436
436
  return renderCapabilities();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slatesvideo/mcp-server",
3
- "version": "0.5.13",
3
+ "version": "0.5.14",
4
4
  "description": "MCP server for the Slates desktop app. Your AI agent (Claude, Cursor, or any MCP client) drives a local AI video studio: projects, characters, storyboards, image and video generation. Files land on disk.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@modelcontextprotocol/sdk": "^1.0.0",
53
- "@slatesvideo/shared": "^0.6.4",
53
+ "@slatesvideo/shared": "^0.6.5",
54
54
  "zod": "^3.23.0"
55
55
  },
56
56
  "devDependencies": {