touchdesigner-mcp-server 1.4.6 → 1.4.8
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.
|
@@ -38,7 +38,7 @@ export function formatClassList(data, options) {
|
|
|
38
38
|
*/
|
|
39
39
|
export function formatClassDetails(data, options) {
|
|
40
40
|
const opts = mergeFormatterOptions(options);
|
|
41
|
-
if (!data
|
|
41
|
+
if (!data?.name) {
|
|
42
42
|
return "No class details available.";
|
|
43
43
|
}
|
|
44
44
|
if (opts.detailLevel === "detailed") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* TouchDesigner API
|
|
5
5
|
* OpenAPI schema for generating TouchDesigner API client code
|
|
@@ -106,9 +106,8 @@ export const getModuleHelp = (params, options) => {
|
|
|
106
106
|
};
|
|
107
107
|
/**
|
|
108
108
|
* Call a method on the node at the specified path (e.g., /project1).
|
|
109
|
-
This allows operations equivalent to TouchDesigner's Python API such as
|
|
110
|
-
`parent_comp = op('/project1')` and `parent_comp.create('textTOP', 'myText')`.
|
|
111
|
-
|
|
109
|
+
* This allows operations equivalent to TouchDesigner's Python API such as
|
|
110
|
+
* `parent_comp = op('/project1')` and `parent_comp.create('textTOP', 'myText')`.
|
|
112
111
|
* @summary Call a method of the specified node
|
|
113
112
|
*/
|
|
114
113
|
export const execNodeMethod = (execNodeMethodRequest, options) => {
|
|
@@ -119,10 +118,9 @@ export const execNodeMethod = (execNodeMethodRequest, options) => {
|
|
|
119
118
|
};
|
|
120
119
|
/**
|
|
121
120
|
* Execute a Python script directly in TouchDesigner.
|
|
122
|
-
Multiline scripts and scripts containing comments are supported.
|
|
123
|
-
The script can optionally set a `result` variable to explicitly return a value.
|
|
124
|
-
This endpoint allows you to interact with TouchDesigner nodes programmatically.
|
|
125
|
-
|
|
121
|
+
* Multiline scripts and scripts containing comments are supported.
|
|
122
|
+
* The script can optionally set a `result` variable to explicitly return a value.
|
|
123
|
+
* This endpoint allows you to interact with TouchDesigner nodes programmatically.
|
|
126
124
|
* @summary Execute python code on the server
|
|
127
125
|
*/
|
|
128
126
|
export const execPythonScript = (execPythonScriptRequest, options) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* TouchDesigner API
|
|
5
5
|
* OpenAPI schema for generating TouchDesigner API client code
|
|
@@ -190,9 +190,8 @@ export const GetModuleHelpResponse = zod.object({
|
|
|
190
190
|
});
|
|
191
191
|
/**
|
|
192
192
|
* Call a method on the node at the specified path (e.g., /project1).
|
|
193
|
-
This allows operations equivalent to TouchDesigner's Python API such as
|
|
194
|
-
`parent_comp = op('/project1')` and `parent_comp.create('textTOP', 'myText')`.
|
|
195
|
-
|
|
193
|
+
* This allows operations equivalent to TouchDesigner's Python API such as
|
|
194
|
+
* `parent_comp = op('/project1')` and `parent_comp.create('textTOP', 'myText')`.
|
|
196
195
|
* @summary Call a method of the specified node
|
|
197
196
|
*/
|
|
198
197
|
export const ExecNodeMethodBody = zod.object({
|
|
@@ -210,10 +209,9 @@ export const ExecNodeMethodResponse = zod.object({
|
|
|
210
209
|
});
|
|
211
210
|
/**
|
|
212
211
|
* Execute a Python script directly in TouchDesigner.
|
|
213
|
-
Multiline scripts and scripts containing comments are supported.
|
|
214
|
-
The script can optionally set a `result` variable to explicitly return a value.
|
|
215
|
-
This endpoint allows you to interact with TouchDesigner nodes programmatically.
|
|
216
|
-
|
|
212
|
+
* Multiline scripts and scripts containing comments are supported.
|
|
213
|
+
* The script can optionally set a `result` variable to explicitly return a value.
|
|
214
|
+
* This endpoint allows you to interact with TouchDesigner nodes programmatically.
|
|
217
215
|
* @summary Execute python code on the server
|
|
218
216
|
*/
|
|
219
217
|
export const ExecPythonScriptBody = zod.object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "touchdesigner-mcp-server",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.8",
|
|
4
4
|
"description": "MCP server for TouchDesigner",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,35 +26,33 @@
|
|
|
26
26
|
"touchdesigner-mcp-server": "dist/cli.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@modelcontextprotocol/sdk": "
|
|
30
|
-
"@mozilla/readability": "
|
|
31
|
-
"@types/
|
|
32
|
-
"@types/
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"zod": "4.3.6"
|
|
29
|
+
"@modelcontextprotocol/sdk": "1.29.0",
|
|
30
|
+
"@mozilla/readability": "0.6.0",
|
|
31
|
+
"@types/ws": "8.18.1",
|
|
32
|
+
"@types/yargs": "17.0.35",
|
|
33
|
+
"axios": "1.17.0",
|
|
34
|
+
"express": "5.2.1",
|
|
35
|
+
"mustache": "4.2.0",
|
|
36
|
+
"semver": "7.8.4",
|
|
37
|
+
"yaml": "2.9.0",
|
|
38
|
+
"zod": "4.4.3"
|
|
40
39
|
},
|
|
41
40
|
"devDependencies": {
|
|
42
|
-
"@biomejs/biome": "2.4.
|
|
43
|
-
"@openapitools/openapi-generator-cli": "
|
|
44
|
-
"@types/express": "
|
|
45
|
-
"@types/jsdom": "
|
|
46
|
-
"@types/mustache": "
|
|
47
|
-
"@types/node": "
|
|
48
|
-
"@types/semver": "
|
|
49
|
-
"@vitest/coverage-v8": "
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"vitest": "^4.0.18"
|
|
41
|
+
"@biomejs/biome": "2.4.16",
|
|
42
|
+
"@openapitools/openapi-generator-cli": "2.35.0",
|
|
43
|
+
"@types/express": "5.0.6",
|
|
44
|
+
"@types/jsdom": "28.0.3",
|
|
45
|
+
"@types/mustache": "4.2.6",
|
|
46
|
+
"@types/node": "25.9.3",
|
|
47
|
+
"@types/semver": "7.7.1",
|
|
48
|
+
"@vitest/coverage-v8": "4.1.8",
|
|
49
|
+
"msw": "2.14.6",
|
|
50
|
+
"npm-run-all": "4.1.5",
|
|
51
|
+
"orval": "8.16.0",
|
|
52
|
+
"prettier": "3.8.4",
|
|
53
|
+
"shx": "0.4.0",
|
|
54
|
+
"typescript": "6.0.3",
|
|
55
|
+
"vitest": "4.1.8"
|
|
58
56
|
},
|
|
59
57
|
"type": "module",
|
|
60
58
|
"exports": {
|
|
@@ -98,12 +96,14 @@
|
|
|
98
96
|
"files": [
|
|
99
97
|
"dist/**/*"
|
|
100
98
|
],
|
|
99
|
+
"overrides": {
|
|
100
|
+
"concurrently": {
|
|
101
|
+
"shell-quote": "1.8.4"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
101
104
|
"msw": {
|
|
102
105
|
"workerDirectory": [
|
|
103
106
|
"public"
|
|
104
107
|
]
|
|
105
|
-
},
|
|
106
|
-
"overrides": {
|
|
107
|
-
"axios": "1.13.6"
|
|
108
108
|
}
|
|
109
109
|
}
|