touchdesigner-mcp-server 0.4.3 → 0.4.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.ja.md
CHANGED
|
@@ -69,7 +69,7 @@ https://github.com/user-attachments/assets/215fb343-6ed8-421c-b948-2f45fb819ff4
|
|
|
69
69
|
"mcpServers": {
|
|
70
70
|
"touchdesigner": {
|
|
71
71
|
"command": "npx",
|
|
72
|
-
"args": ["-y", "touchdesigner-mcp-server", "--stdio"]
|
|
72
|
+
"args": ["-y", "touchdesigner-mcp-server@latest", "--stdio"]
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -79,7 +79,7 @@ https://github.com/user-attachments/assets/215fb343-6ed8-421c-b948-2f45fb819ff4
|
|
|
79
79
|
```json
|
|
80
80
|
"args": [
|
|
81
81
|
"-y",
|
|
82
|
-
"touchdesigner-mcp-server",
|
|
82
|
+
"touchdesigner-mcp-server@latest",
|
|
83
83
|
"--stdio",
|
|
84
84
|
"--host=http://custom_host",
|
|
85
85
|
"--port=9982"
|
package/README.md
CHANGED
|
@@ -70,7 +70,7 @@ https://github.com/user-attachments/assets/215fb343-6ed8-421c-b948-2f45fb819ff4
|
|
|
70
70
|
"mcpServers": {
|
|
71
71
|
"touchdesigner": {
|
|
72
72
|
"command": "npx",
|
|
73
|
-
"args": ["-y", "touchdesigner-mcp-server", "--stdio"]
|
|
73
|
+
"args": ["-y", "touchdesigner-mcp-server@latest", "--stdio"]
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -80,7 +80,7 @@ https://github.com/user-attachments/assets/215fb343-6ed8-421c-b948-2f45fb819ff4
|
|
|
80
80
|
```json
|
|
81
81
|
"args": [
|
|
82
82
|
"-y",
|
|
83
|
-
"touchdesigner-mcp-server",
|
|
83
|
+
"touchdesigner-mcp-server@latest",
|
|
84
84
|
"--stdio",
|
|
85
85
|
"--host=http://custom_host",
|
|
86
86
|
"--port=9982"
|
package/dist/cli.js
CHANGED
|
@@ -2,14 +2,16 @@
|
|
|
2
2
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
3
3
|
import { TouchDesignerServer } from "./server/touchDesignerServer.js";
|
|
4
4
|
// Note: Environment variables should be set by the Desktop Extensions runtime or CLI arguments
|
|
5
|
+
const DEFAULT_HOST = "http://127.0.0.1";
|
|
6
|
+
const DEFAULT_PORT = 9981;
|
|
5
7
|
/**
|
|
6
8
|
* Parse command line arguments
|
|
7
9
|
*/
|
|
8
10
|
export function parseArgs(args) {
|
|
9
11
|
const argsToProcess = args || process.argv.slice(2);
|
|
10
12
|
const parsed = {
|
|
11
|
-
host:
|
|
12
|
-
port:
|
|
13
|
+
host: DEFAULT_HOST,
|
|
14
|
+
port: DEFAULT_PORT,
|
|
13
15
|
};
|
|
14
16
|
for (let i = 0; i < argsToProcess.length; i++) {
|
|
15
17
|
const arg = argsToProcess[i];
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* TouchDesigner API
|
|
5
5
|
* OpenAPI schema for generating TouchDesigner API client code
|
|
6
|
-
* OpenAPI spec version: 0.4.
|
|
6
|
+
* OpenAPI spec version: 0.4.5
|
|
7
7
|
*/
|
|
8
8
|
import { customInstance } from '../../api/customInstance.js';
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|