@slatesvideo/mcp-server 0.5.13 → 0.5.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 +1 -1
- package/dist/server.js +7 -7
- package/package.json +61 -61
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 -->
|
|
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.5 Flare, GPT Image 2.5 Sunburst, 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
|
|
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
|
-
//
|
|
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:
|
|
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
|
|
363
|
-
description: 'The
|
|
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
|
|
433
|
+
return APP_MANUAL;
|
|
434
434
|
}
|
|
435
435
|
if (uri === CAPABILITIES_URI)
|
|
436
436
|
return renderCapabilities();
|
package/package.json
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@slatesvideo/mcp-server",
|
|
3
|
-
"version": "0.5.
|
|
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
|
-
"license": "MIT",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"bin": {
|
|
8
|
-
"slates-mcp-server": "./dist/server.js"
|
|
9
|
-
},
|
|
10
|
-
"main": "./dist/server.js",
|
|
11
|
-
"files": [
|
|
12
|
-
"dist",
|
|
13
|
-
"!dist/**/*.map",
|
|
14
|
-
"README.md"
|
|
15
|
-
],
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsc",
|
|
18
|
-
"start": "node dist/server.js",
|
|
19
|
-
"typecheck": "tsc --noEmit",
|
|
20
|
-
"prepublishOnly": "npm run build",
|
|
21
|
-
"build:mcpb": "npm run build --prefix ../shared && npm run build && node scripts/stage-mcpb.mjs && npx -y @anthropic-ai/mcpb pack dist-mcpb/staging dist-mcpb/slates.mcpb"
|
|
22
|
-
},
|
|
23
|
-
"repository": {
|
|
24
|
-
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/EricDisero/slates-mcp.git",
|
|
26
|
-
"directory": "packages/mcp"
|
|
27
|
-
},
|
|
28
|
-
"homepage": "https://slates.video",
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://github.com/EricDisero/slates-mcp/issues"
|
|
31
|
-
},
|
|
32
|
-
"keywords": [
|
|
33
|
-
"mcp",
|
|
34
|
-
"model-context-protocol",
|
|
35
|
-
"mcp-server",
|
|
36
|
-
"ai-video",
|
|
37
|
-
"video-generation",
|
|
38
|
-
"image-generation",
|
|
39
|
-
"claude",
|
|
40
|
-
"claude-desktop",
|
|
41
|
-
"cursor",
|
|
42
|
-
"slates",
|
|
43
|
-
"veo",
|
|
44
|
-
"kling",
|
|
45
|
-
"seedance",
|
|
46
|
-
"storyboard"
|
|
47
|
-
],
|
|
48
|
-
"engines": {
|
|
49
|
-
"node": ">=18"
|
|
50
|
-
},
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
53
|
-
"@slatesvideo/shared": "^0.6.
|
|
54
|
-
"zod": "^3.23.0"
|
|
55
|
-
},
|
|
56
|
-
"devDependencies": {
|
|
57
|
-
"@anthropic-ai/mcpb": "^2.1.2",
|
|
58
|
-
"@types/node": "^20.0.0",
|
|
59
|
-
"typescript": "^5.7.0"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@slatesvideo/mcp-server",
|
|
3
|
+
"version": "0.5.15",
|
|
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
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"slates-mcp-server": "./dist/server.js"
|
|
9
|
+
},
|
|
10
|
+
"main": "./dist/server.js",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"!dist/**/*.map",
|
|
14
|
+
"README.md"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"start": "node dist/server.js",
|
|
19
|
+
"typecheck": "tsc --noEmit",
|
|
20
|
+
"prepublishOnly": "npm run build",
|
|
21
|
+
"build:mcpb": "npm run build --prefix ../shared && npm run build && node scripts/stage-mcpb.mjs && npx -y @anthropic-ai/mcpb pack dist-mcpb/staging dist-mcpb/slates.mcpb"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/EricDisero/slates-mcp.git",
|
|
26
|
+
"directory": "packages/mcp"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://slates.video",
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/EricDisero/slates-mcp/issues"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"mcp",
|
|
34
|
+
"model-context-protocol",
|
|
35
|
+
"mcp-server",
|
|
36
|
+
"ai-video",
|
|
37
|
+
"video-generation",
|
|
38
|
+
"image-generation",
|
|
39
|
+
"claude",
|
|
40
|
+
"claude-desktop",
|
|
41
|
+
"cursor",
|
|
42
|
+
"slates",
|
|
43
|
+
"veo",
|
|
44
|
+
"kling",
|
|
45
|
+
"seedance",
|
|
46
|
+
"storyboard"
|
|
47
|
+
],
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=18"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
53
|
+
"@slatesvideo/shared": "^0.6.6",
|
|
54
|
+
"zod": "^3.23.0"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@anthropic-ai/mcpb": "^2.1.2",
|
|
58
|
+
"@types/node": "^20.0.0",
|
|
59
|
+
"typescript": "^5.7.0"
|
|
60
|
+
}
|
|
61
|
+
}
|