@slatesvideo/mcp-server 0.6.0 → 0.6.2
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 +7 -5
- package/dist/server.js +15 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ No environment variables, no API keys to paste into config files.
|
|
|
75
75
|
|
|
76
76
|
## What the agent can do
|
|
77
77
|
|
|
78
|
-
<!-- gen:tool-count -->
|
|
78
|
+
<!-- gen:tool-count -->157<!-- /gen:tool-count --> tools covering the full workspace: project, folder, character, location, look, and board 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, MiniMax H3 Max Turbo, 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.
|
|
79
79
|
|
|
80
80
|
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 -->37<!-- /gen:skill-count --> bundled skills are exposed as MCP **prompts**, and the manual, the model capability table and the live price list as **resources**.
|
|
81
81
|
|
|
@@ -89,10 +89,12 @@ The timeline, export, background-generation, edit-image, and image-reference too
|
|
|
89
89
|
|
|
90
90
|
### Context on demand
|
|
91
91
|
|
|
92
|
-
The server
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
`--tools=
|
|
92
|
+
The server lists every tool, and the list stays the same for the whole connection. Your client
|
|
93
|
+
decides how much of it to load: Claude Code and Codex send the model the tool names only and fetch a
|
|
94
|
+
tool's full definition when it is needed. `slates_load_tools` with `query` finds a tool by task.
|
|
95
|
+
`--tools=compact` starts with a small workspace/discovery set instead and adds tools through
|
|
96
|
+
`tools/list_changed`, for a client that re-reads its list mid-chat (Claude Desktop, Claude Code in the
|
|
97
|
+
Claude app and Codex do not).
|
|
96
98
|
|
|
97
99
|
`slates_get_prompting_guide` returns a short readable card by default. Use `query` for a section or
|
|
98
100
|
cinematic technique ID, `depth: "index"` for headings, or `depth: "full"` for the complete guide.
|
package/dist/server.js
CHANGED
|
@@ -77,10 +77,20 @@ const server = new Server({ name: 'slates-studio', version: pkg.version }, {
|
|
|
77
77
|
// of the ID SET and unproven of the BYTES. `toolDefinitions()` in shared is now
|
|
78
78
|
// the only renderer either one calls, and the lockstep check compares them.
|
|
79
79
|
//
|
|
80
|
-
//
|
|
81
|
-
//
|
|
80
|
+
// 🚨 THE LIST IS EVERY TOOL, AND IT NEVER CHANGES DURING A CONNECTION.
|
|
81
|
+
// 0.6.0 started with nine and added the rest when `slates_load_tools` sent
|
|
82
|
+
// `tools/list_changed`. Claude Desktop, Claude Code inside the Claude app and
|
|
83
|
+
// Codex never re-read the list, and a host will not call a tool it cannot see,
|
|
84
|
+
// so their users could not generate at all (user report 2026-09-30; both apps
|
|
85
|
+
// re-tested that day). The MCP spec (2026-07-28) now forbids a list that varies
|
|
86
|
+
// "as a side effect of other requests on the connection". Hiding definitions is
|
|
87
|
+
// the HOST's job: Claude Code and Codex send the model names only and fetch a
|
|
88
|
+
// schema on use, so the full list cost about 3,100 tokens up front in Claude
|
|
89
|
+
// Code and nothing measurable in Codex. `--tools=compact` keeps the old
|
|
90
|
+
// nine-tool start for a host that honors list_changed; `--tools=flat` is
|
|
91
|
+
// accepted as the default it now is.
|
|
82
92
|
const TOOLS = toolDefinitions(ops, { surface: 'mcp' });
|
|
83
|
-
const
|
|
93
|
+
const compactTools = process.argv.includes('--tools=compact');
|
|
84
94
|
let selectedTools = new Set();
|
|
85
95
|
/**
|
|
86
96
|
* Output schemas for the ops whose result shape is STABLE.
|
|
@@ -146,7 +156,7 @@ const OUTPUT_SCHEMAS = {
|
|
|
146
156
|
},
|
|
147
157
|
};
|
|
148
158
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
149
|
-
tools: TOOLS.filter((t) =>
|
|
159
|
+
tools: TOOLS.filter((t) => !compactTools || STARTUP_TOOL_IDS.has(t.name) || selectedTools.has(t.name)).map((t) => ({
|
|
150
160
|
name: t.name,
|
|
151
161
|
description: t.description,
|
|
152
162
|
inputSchema: t.inputSchema,
|
|
@@ -286,7 +296,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request, extra) => {
|
|
|
286
296
|
clearInterval(ticker);
|
|
287
297
|
}
|
|
288
298
|
let data = result.data;
|
|
289
|
-
if (op.id === 'slates_load_tools' && Array.isArray(data?.tools)) {
|
|
299
|
+
if (compactTools && op.id === 'slates_load_tools' && Array.isArray(data?.tools)) {
|
|
290
300
|
selectedTools = new Set(data.tools.map((t) => t.name));
|
|
291
301
|
await server.sendToolListChanged().catch(() => { });
|
|
292
302
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slatesvideo/mcp-server",
|
|
3
3
|
"mcpName": "io.github.EricDisero/slates",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.2",
|
|
5
5
|
"description": "MCP server for the Slates desktop app. Your AI agent (ChatGPT via Codex, Claude, Cursor, or another local MCP client) drives a local AI video studio: projects, characters, storyboards, image and video generation. Files land on disk.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
54
|
-
"@slatesvideo/shared": "^0.7.
|
|
54
|
+
"@slatesvideo/shared": "^0.7.2",
|
|
55
55
|
"zod": "^3.23.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|