touchdesigner-mcp-server 0.2.7 → 0.2.9
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 +79 -77
- package/README.md +82 -72
- package/dist/api/customInstance.js +2 -4
- package/dist/gen/endpoints/TouchDesignerAPI.js +1 -1
- package/dist/gen/mcp/touchDesignerAPI.zod.js +1 -1
- package/dist/server/touchDesignerServer.js +1 -1
- package/package.json +4 -3
- package/td/modules/td_server/.openapi-generator/VERSION +1 -1
- package/td/modules/td_server/openapi_server/openapi/openapi.yaml +1 -1
package/README.ja.md
CHANGED
|
@@ -15,20 +15,27 @@ TouchDesigner MCPは、AIモデルとTouchDesigner WebServer DAT 間のブリッ
|
|
|
15
15
|
|
|
16
16
|
## 利用方法
|
|
17
17
|
|
|
18
|
-
*Node.js がインストールされていることが前提となります*
|
|
18
|
+
*Docker または Node.js がインストールされていることが前提となります*
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
#### 方法1: Dockerイメージを利用(推奨)
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
##### 1. リポジトリをクローン:
|
|
23
|
+
```bash
|
|
24
|
+
git clone https://github.com/8beeeaaat/touchdesigner-mcp.git
|
|
25
|
+
cd touchdesigner-mcp
|
|
26
|
+
```
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
|
|
28
|
+
##### 2. 環境設定ファイルの設置とビルド
|
|
29
|
+
.envのテンプレートファイルをコピーし、必要に応じて TD_WEB_SERVER_URL を調整してから Dockerイメージをビルドしてください。
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
```bash
|
|
32
|
+
cp dotenv .env
|
|
33
|
+
docker-compose build
|
|
34
|
+
```
|
|
28
35
|
|
|
29
|
-
|
|
36
|
+
##### 3. TouchDesigner プロジェクトにMCP連携用のAPIサーバーを設置
|
|
30
37
|
|
|
31
|
-
TouchDesignerを起動し、`td/mcp_webserver_base.tox`
|
|
38
|
+
TouchDesignerを起動し、`td/mcp_webserver_base.tox` コンポーネントを操作したいTouchDesignerプロジェクト直下にimportします。
|
|
32
39
|
例: `/project1/mcp_webserver_base` となるように配置
|
|
33
40
|
|
|
34
41
|
tox のimport により `td/import_modules.py` スクリプトが動作し、APIサーバのコントローラなどのモジュールがロードされます。
|
|
@@ -39,8 +46,51 @@ TouchDesigner のメニューから Textportを起動してサーバーの起動
|
|
|
39
46
|
|
|
40
47
|

|
|
41
48
|
|
|
42
|
-
|
|
43
|
-
|
|
49
|
+
##### 4. AIエージェントがDockerコンテナを使用するように設定して起動:
|
|
50
|
+
|
|
51
|
+
*例 Claude Desktop*
|
|
52
|
+
```json
|
|
53
|
+
{
|
|
54
|
+
"mcpServers": {
|
|
55
|
+
"touchdesigner": {
|
|
56
|
+
"args": [
|
|
57
|
+
"run",
|
|
58
|
+
"--rm",
|
|
59
|
+
"-i",
|
|
60
|
+
"touchdesigner-mcp-server",
|
|
61
|
+
],
|
|
62
|
+
"command": "docker"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
#### 方法2: NPMパッケージ を利用する
|
|
69
|
+
|
|
70
|
+
Node.jsから直接ビルド済みのjsを利用する場合は、以下の手順に従います:
|
|
71
|
+
|
|
72
|
+
[](https://www.youtube.com/watch?v=jFaUP1fYum0)
|
|
73
|
+
|
|
74
|
+
##### 1. パッケージのインストール
|
|
75
|
+
```bash
|
|
76
|
+
mkdir some && cd ./some # 必要に応じて任意のディレクトリを作成
|
|
77
|
+
npm install touchdesigner-mcp-server
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
##### 2. TouchDesigner プロジェクトにMCP連携用のAPIサーバーを設置
|
|
81
|
+
|
|
82
|
+
TouchDesignerを起動し、`some/node_modules/touchdesigner-mcp-server/td/mcp_webserver_base.tox` コンポーネントを操作したいTouchDesignerプロジェクト直下にimportします。
|
|
83
|
+
例: `/project1/mcp_webserver_base` となるように配置
|
|
84
|
+
|
|
85
|
+
tox のimport により `some/node_modules/touchdesigner-mcp-server/td/import_modules.py` スクリプトが動作し、APIサーバのコントローラなどのモジュールがロードされます。
|
|
86
|
+
|
|
87
|
+

|
|
88
|
+
|
|
89
|
+
TouchDesigner のメニューから Textportを起動してサーバーの起動ログを確認することができます。
|
|
90
|
+
|
|
91
|
+

|
|
92
|
+
|
|
93
|
+
##### 3. AIエージェントの設定:
|
|
44
94
|
|
|
45
95
|
*例 Claude Desktop*
|
|
46
96
|
```json
|
|
@@ -48,19 +98,23 @@ TouchDesignerが起動した状態で、AIエージェント(Claude Desktop,Cu
|
|
|
48
98
|
"mcpServers": {
|
|
49
99
|
"touchdesigner": {
|
|
50
100
|
"args": [
|
|
51
|
-
"/path/to/your/touchdesigner-mcp-server/dist/index.js", // <-- touchdesigner-mcp-server/dist/index.js への絶対パスに置き換えてください
|
|
101
|
+
"/path/to/your/node_modules/touchdesigner-mcp-server/dist/index.js", // <-- node_modules/touchdesigner-mcp-server/dist/index.js への絶対パスに置き換えてください
|
|
52
102
|
"--stdio"
|
|
53
103
|
],
|
|
54
|
-
"command": "node"
|
|
55
|
-
"transportType": "stdio"
|
|
104
|
+
"command": "node"
|
|
56
105
|
}
|
|
57
106
|
}
|
|
58
107
|
}
|
|
59
108
|
```
|
|
60
109
|
|
|
110
|
+
*Windows環境では C:\\ の様にドライブレターを含めてください。 例. `C:\\path\\to\\your\\node_modules\\touchdesigner-mcp-server\\dist\\index.js`*
|
|
111
|
+
|
|
112
|
+
### 3. 接続確認
|
|
113
|
+
|
|
61
114
|
MCPサーバーが認識されていればセットアップは完了です。
|
|
115
|
+
認識されない場合はAIエージェントを再起動するなどしてください。
|
|
62
116
|
起動時にエラーが表示される場合はTouchDesignerを先に起動してから再度エージェントを起動してください。
|
|
63
|
-
TouchDesigner で APIサーバーが実行されていれば、エージェントは提供された TouchDesigner
|
|
117
|
+
TouchDesigner で APIサーバーが実行されていれば、エージェントは提供された ツール等を通じてTouchDesignerを使用できます。
|
|
64
118
|
|
|
65
119
|

|
|
66
120
|
|
|
@@ -102,75 +156,23 @@ TouchDesigner で APIサーバーが実行されていれば、エージェン
|
|
|
102
156
|
|
|
103
157
|
## 開発者向け
|
|
104
158
|
|
|
105
|
-
###
|
|
106
|
-
|
|
107
|
-
1. リポジトリのクローン
|
|
108
|
-
```bash
|
|
109
|
-
git clone https://github.com/8beeeaaat/touchdesigner-mcp.git
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
2. 依存パッケージのインストール
|
|
113
|
-
```bash
|
|
114
|
-
cd touchdesigner-mcp
|
|
115
|
-
npm install
|
|
116
|
-
```
|
|
117
|
-
3. 環境設定ファイルの設置とビルド
|
|
118
|
-
```
|
|
119
|
-
# テンプレートをコピーし、必要に応じて TD_WEB_SERVER_URL を調整してください
|
|
120
|
-
cp dotenv .env
|
|
121
|
-
|
|
122
|
-
# プロジェクトのビルド(APIクライアント/サーバー向けスキーマを生成し、MCPリソースをコンパイルします)
|
|
123
|
-
# このコマンドを実行する前にDockerデーモンが実行されていることを確認してください
|
|
124
|
-
npm run build
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
### TouchDesignerのセットアップ
|
|
159
|
+
### クライアント・APIサーバーコードのビルド
|
|
128
160
|
|
|
129
|
-
|
|
130
|
-
`
|
|
131
|
-
-
|
|
132
|
-
- TouchDesigner WebSever DAT向けのAPIサーバーコード
|
|
161
|
+
1. `cp dotenv .env`
|
|
162
|
+
2. `.env` ファイルの `TD_WEB_SERVER_URL` を開発環境に合わせて変更
|
|
163
|
+
3. `docker-compose build` もしくは `npm run build` を実行してコードを再生成する
|
|
133
164
|
|
|
134
|
-
|
|
135
|
-
TouchDesignerを起動し、`td/mcp_webserver_base.tox` コンポーネントをTouchDesignerプロジェクト直下にimportします。
|
|
136
|
-
tox のimport により `td/import_modules.py` スクリプトが動作し、APIサーバのコントローラなどのモジュールがロードされます。
|
|
165
|
+
ビルドしたコードを再反映する場合は MCPサーバーと TouchDesigner を再起動してください
|
|
137
166
|
|
|
138
|
-
|
|
139
|
-
`
|
|
140
|
-
|
|
167
|
+
### APIサーバの動作確認
|
|
168
|
+
- `npm run test`
|
|
169
|
+
MCPサーバーコードのユニットテストと TouchDesigner への結合テストが実行されます。
|
|
141
170
|
TouchDesigner のメニューから Textportを起動すると通信のログを確認することができます。
|
|
142
171
|
|
|
143
|
-
`npm run dev`
|
|
144
|
-
|
|
145
|
-
*TIPS*
|
|
146
|
-
`mcp_webserver_base.tox` には、MCPサーバーとTouchDesignerを連携させるように設定された WebServer DAT が含まれています。
|
|
147
|
-
このDATがActiveであり、`.env` ファイルの `TD_WEB_SERVER_URL` で指定されたポートで実行されていることを確認してください。(デフォルト: `9981`)
|
|
148
|
-
実行するポートを任意のものに変更したい場合は、以下の手順に従ってください。
|
|
149
|
-
1. `.env` ファイルの `TD_WEB_SERVER_PORT` を変更
|
|
150
|
-
2. `npm run build` を再実行
|
|
151
|
-
3. mcp_webserver_base (WebServer DAT) のポートを変更し、WebServer DATをRestart
|
|
152
|
-
|
|
153
|
-
### MCP対応 AIエージェントとの接続
|
|
154
|
-
|
|
155
|
-
TouchDesignerが起動した状態で、AIエージェント(Cursor, Claude Desktop, VSCode CopilotChatなど)をMCPサーバーに接続するように設定します。
|
|
156
|
-
|
|
157
|
-
#### 例. Claude Desktop
|
|
158
|
-
```json
|
|
159
|
-
{
|
|
160
|
-
"mcpServers": {
|
|
161
|
-
"dev_touchdesigner": {
|
|
162
|
-
"args": [
|
|
163
|
-
"/path/to/your/touchdesigner-mcp/dist/index.js", // <-- ビルド後の /dist/index.js への絶対パスに置き換えてください
|
|
164
|
-
"--stdio"
|
|
165
|
-
],
|
|
166
|
-
"command": "node",
|
|
167
|
-
"transportType": "stdio"
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
```
|
|
172
|
+
- `npm run dev`
|
|
173
|
+
@modelcontextprotocol/inspector が起動し、各種機能をデバッグすることができます。
|
|
172
174
|
|
|
173
|
-
###
|
|
175
|
+
### プロジェクト構造の概要
|
|
174
176
|
|
|
175
177
|
```
|
|
176
178
|
├── src/ # MCPサーバー ソースコード
|
package/README.md
CHANGED
|
@@ -15,20 +15,27 @@ TouchDesigner MCP acts as a bridge between AI models and the TouchDesigner WebSe
|
|
|
15
15
|
|
|
16
16
|
## Usage
|
|
17
17
|
|
|
18
|
-
*Requires Node.js to be installed*
|
|
18
|
+
*Requires Docker or Node.js to be installed*
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
#### Method 1: Using Docker Image (Recommended)
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
##### 1. Clone the repository:
|
|
23
|
+
```bash
|
|
24
|
+
git clone https://github.com/8beeeaaat/touchdesigner-mcp.git
|
|
25
|
+
cd touchdesigner-mcp
|
|
26
|
+
```
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
|
|
28
|
+
##### 2. Set up the environment file and build:
|
|
29
|
+
Copy the template file and adjust the TD_WEB_SERVER_URL as needed before building the Docker image.
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
```bash
|
|
32
|
+
cp dotenv .env
|
|
33
|
+
docker-compose build
|
|
34
|
+
```
|
|
28
35
|
|
|
29
|
-
|
|
36
|
+
##### 3. Install the API Server in Your TouchDesigner Project:
|
|
30
37
|
|
|
31
|
-
Start TouchDesigner and import the `td/mcp_webserver_base.tox` component directly under
|
|
38
|
+
Start TouchDesigner and import the `td/mcp_webserver_base.tox` component directly under the TouchDesigner project you want to control.
|
|
32
39
|
Example: Place it as `/project1/mcp_webserver_base`
|
|
33
40
|
|
|
34
41
|
Importing the tox will trigger the `td/import_modules.py` script, which loads modules such as API server controllers.
|
|
@@ -39,28 +46,75 @@ You can check boot logs by opening the Textport from the TouchDesigner menu.
|
|
|
39
46
|
|
|
40
47
|

|
|
41
48
|
|
|
42
|
-
|
|
43
|
-
|
|
49
|
+
##### 4. Configure your AI agent to use the Docker container:
|
|
50
|
+
|
|
51
|
+
*Example for Claude Desktop*
|
|
52
|
+
```json
|
|
53
|
+
{
|
|
54
|
+
"mcpServers": {
|
|
55
|
+
"touchdesigner": {
|
|
56
|
+
"args": [
|
|
57
|
+
"run",
|
|
58
|
+
"--rm",
|
|
59
|
+
"-i",
|
|
60
|
+
"touchdesigner-mcp-server"
|
|
61
|
+
],
|
|
62
|
+
"command": "docker"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
#### Method 2: Using the NPM Package
|
|
69
|
+
|
|
70
|
+
To use the pre-built JS directly from Node.js:
|
|
71
|
+
|
|
72
|
+
[](https://www.youtube.com/watch?v=jFaUP1fYum0)
|
|
73
|
+
|
|
74
|
+
##### 1. Install the package
|
|
75
|
+
```bash
|
|
76
|
+
mkdir some && cd ./some # If you need a new directory
|
|
77
|
+
npm install touchdesigner-mcp-server
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
##### 2. Install the API Server in Your TouchDesigner Project:
|
|
81
|
+
|
|
82
|
+
Start TouchDesigner and import the `some/node_modules/touchdesigner-mcp-server/td/mcp_webserver_base.tox` component directly under the TouchDesigner project you want to control.
|
|
83
|
+
Example: Place it as `/project1/mcp_webserver_base`
|
|
84
|
+
|
|
85
|
+
Importing the tox will trigger the `some/node_modules/touchdesigner-mcp-server/td/import_modules.py` script, which loads modules such as API server controllers.
|
|
86
|
+
|
|
87
|
+

|
|
88
|
+
|
|
89
|
+
You can check boot logs by opening the Textport from the TouchDesigner menu.
|
|
90
|
+
|
|
91
|
+

|
|
92
|
+
|
|
93
|
+
##### 3. Configure your AI agent:
|
|
44
94
|
|
|
45
|
-
*Example
|
|
95
|
+
*Example for Claude Desktop*
|
|
46
96
|
```json
|
|
47
97
|
{
|
|
48
98
|
"mcpServers": {
|
|
49
99
|
"touchdesigner": {
|
|
50
100
|
"args": [
|
|
51
|
-
"/path/to/your/touchdesigner-mcp-server/dist/index.js", // <-- Replace with the absolute path to touchdesigner-mcp-server/dist/index.js
|
|
101
|
+
"/path/to/your/node_modules/touchdesigner-mcp-server/dist/index.js", // <-- Replace with the absolute path to node_modules/touchdesigner-mcp-server/dist/index.js
|
|
52
102
|
"--stdio"
|
|
53
103
|
],
|
|
54
|
-
"command": "node"
|
|
55
|
-
"transportType": "stdio"
|
|
104
|
+
"command": "node"
|
|
56
105
|
}
|
|
57
106
|
}
|
|
58
107
|
}
|
|
59
108
|
```
|
|
60
109
|
|
|
110
|
+
*On Windows systems, include the drive letter like C: e.g. `C:\\path\\to\\your\\node_modules\\touchdesigner-mcp-server\\dist\\index.js`*
|
|
111
|
+
|
|
112
|
+
### 3. Verify Connection
|
|
113
|
+
|
|
61
114
|
If the MCP server is recognized, setup is complete.
|
|
62
|
-
If
|
|
63
|
-
If
|
|
115
|
+
If it's not recognized, try restarting your AI agent.
|
|
116
|
+
If you see an error at startup, try launching the agent again after starting TouchDesigner first.
|
|
117
|
+
When the API server is running properly in TouchDesigner, the agent can use the provided tools to operate TouchDesigner.
|
|
64
118
|
|
|
65
119
|

|
|
66
120
|
|
|
@@ -103,75 +157,31 @@ Not implemented
|
|
|
103
157
|
|
|
104
158
|
## For Developers
|
|
105
159
|
|
|
106
|
-
### Building
|
|
160
|
+
### Building Client and API Server Code
|
|
107
161
|
|
|
108
|
-
1.
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
2. Install dependencies
|
|
114
|
-
```bash
|
|
115
|
-
cd touchdesigner-mcp
|
|
116
|
-
npm install
|
|
117
|
-
```
|
|
118
|
-
3. Set up environment file and build
|
|
119
|
-
```
|
|
120
|
-
# Copy the template and adjust TD_WEB_SERVER_URL as needed
|
|
121
|
-
cp dotenv .env
|
|
122
|
-
|
|
123
|
-
# Build the project (generates API client/server schemas and compiles MCP resources)
|
|
124
|
-
# Make sure the Docker daemon is running before executing this command
|
|
125
|
-
npm run build
|
|
126
|
-
```
|
|
162
|
+
1. `cp dotenv .env`
|
|
163
|
+
2. Adjust `TD_WEB_SERVER_URL` in the `.env` file to match your development environment
|
|
164
|
+
3. Run `docker-compose build` or `npm run build` to regenerate the code
|
|
127
165
|
|
|
128
|
-
|
|
166
|
+
When you need to reflect the built code, please restart both the MCP server and TouchDesigner.
|
|
129
167
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
- API server code for TouchDesigner WebServer DAT
|
|
134
|
-
|
|
135
|
-
#### 2. **Import the WebServer for MCP server into TouchDesigner:**
|
|
136
|
-
Start TouchDesigner and import the `td/mcp_webserver_base.tox` component directly under your project.
|
|
137
|
-
Importing the tox will trigger the `td/import_modules.py` script, which loads modules such as API server controllers.
|
|
138
|
-
|
|
139
|
-
#### 3. **Verify API server operation:**
|
|
140
|
-
Ensure that the Python modules in the `td/modules` directory are accessible from the `mcp_webserver_base` component.
|
|
141
|
-
Run `npm run test` to execute unit and integration tests for the MCP server code and TouchDesigner connection.
|
|
168
|
+
### Verifying the API Server
|
|
169
|
+
- `npm run test`
|
|
170
|
+
Run unit tests for the MCP server code and integration tests with TouchDesigner.
|
|
142
171
|
You can check communication logs by opening the Textport from the TouchDesigner menu.
|
|
143
172
|
|
|
144
|
-
|
|
173
|
+
- `npm run dev`
|
|
174
|
+
Launch @modelcontextprotocol/inspector to debug various features.
|
|
145
175
|
|
|
146
176
|
*TIPS*
|
|
147
177
|
`mcp_webserver_base.tox` includes a WebServer DAT configured to link the MCP server and TouchDesigner.
|
|
148
178
|
Ensure this DAT is active and running on the port specified by `TD_WEB_SERVER_URL` in your `.env` file (default: `9981`).
|
|
149
179
|
To change the port:
|
|
150
180
|
1. Change `TD_WEB_SERVER_PORT` in `.env`
|
|
151
|
-
2.
|
|
181
|
+
2. Run `docker-compose build` or `npm run build` to regenerate client code
|
|
152
182
|
3. Change the port in mcp_webserver_base (WebServer DAT) and restart the DAT
|
|
153
183
|
|
|
154
|
-
###
|
|
155
|
-
|
|
156
|
-
With TouchDesigner running, configure your AI agent (Cursor, Claude Desktop, VSCode CopilotChat, etc.) to connect to the MCP server.
|
|
157
|
-
|
|
158
|
-
#### Example: Claude Desktop
|
|
159
|
-
```json
|
|
160
|
-
{
|
|
161
|
-
"mcpServers": {
|
|
162
|
-
"dev_touchdesigner": {
|
|
163
|
-
"args": [
|
|
164
|
-
"/path/to/your/touchdesigner-mcp/dist/index.js", // <-- Replace with the absolute path to /dist/index.js after build
|
|
165
|
-
"--stdio"
|
|
166
|
-
],
|
|
167
|
-
"command": "node",
|
|
168
|
-
"transportType": "stdio"
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
### Project Structure After Setup
|
|
184
|
+
### Project Structure Overview
|
|
175
185
|
|
|
176
186
|
```
|
|
177
187
|
├── src/ # MCP server source code
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import Axios from "axios";
|
|
2
|
-
const API_BASE_URL = process.env.
|
|
3
|
-
export const AXIOS_INSTANCE = Axios.create({
|
|
4
|
-
baseURL: API_BASE_URL,
|
|
5
|
-
});
|
|
2
|
+
const API_BASE_URL = process.env.TD_WEB_SERVER_URL;
|
|
3
|
+
export const AXIOS_INSTANCE = Axios.create(API_BASE_URL ? { baseURL: API_BASE_URL } : {});
|
|
6
4
|
export const customInstance = (config, options) => {
|
|
7
5
|
const source = Axios.CancelToken.source();
|
|
8
6
|
const promise = AXIOS_INSTANCE({
|
|
@@ -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.2.
|
|
6
|
+
* OpenAPI spec version: 0.2.9
|
|
7
7
|
*/
|
|
8
8
|
import { customInstance } from '../../api/customInstance.js';
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "touchdesigner-mcp-server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "MCP server for TouchDesigner",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,8 +28,9 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@biomejs/biome": "1.9.4",
|
|
31
|
+
"@openapitools/openapi-generator-cli": "^2.20.0",
|
|
31
32
|
"@types/jsdom": "^21.1.7",
|
|
32
|
-
"@types/node": "^22.15.
|
|
33
|
+
"@types/node": "^22.15.3",
|
|
33
34
|
"@vitest/coverage-v8": "^3.1.2",
|
|
34
35
|
"msw": "^2.7.5",
|
|
35
36
|
"mustache": "^4.2.0",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
"test:unit": "vitest run ./tests/unit",
|
|
59
60
|
"coverage": "vitest run --coverage",
|
|
60
61
|
"gen": "run-s gen:*",
|
|
61
|
-
"gen:webserver": "
|
|
62
|
+
"gen:webserver": "openapi-generator-cli generate -i ./src/api/index.yml -g python-flask -o ./td/modules/td_server",
|
|
62
63
|
"gen:handlers": "node td/genHandlers.js",
|
|
63
64
|
"gen:mcp": "orval --config ./orval.config.ts"
|
|
64
65
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.13.0
|