touchdesigner-mcp-server 0.2.6 → 0.2.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.
package/README.ja.md CHANGED
@@ -6,7 +6,7 @@ TouchDesignerのためのMCP(Model Context Protocol) サーバー実装です。
6
6
 
7
7
  ## 概要
8
8
 
9
- ![demo](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/nodes_list.png)
9
+ [![demo clip](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/particle_on_youtube.png)](https://youtu.be/V2znaqGU7f4?si=6HDFbcBHCFPdttkM&t=635)
10
10
 
11
11
  TouchDesigner MCPは、AIモデルとTouchDesigner WebServer DAT 間のブリッジとして機能し、AIエージェントが以下のことが可能になります
12
12
  - ノードの作成、変更、削除
@@ -17,8 +17,11 @@ TouchDesigner MCPは、AIモデルとTouchDesigner WebServer DAT 間のブリッ
17
17
 
18
18
  *Node.js がインストールされていることが前提となります*
19
19
 
20
+ [![tutorial](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/tutorial.png)](https://www.youtube.com/watch?v=jFaUP1fYum0)
21
+
20
22
  ### 1. touchdesigner-mcp-server パッケージのインストール
21
23
 
24
+ `mkdir some && cd ./some` *(必要に応じて作成)*
22
25
  `npm install touchdesigner-mcp-server`
23
26
 
24
27
  ### 2. TouchDesignerとの接続
@@ -32,10 +35,9 @@ tox のimport により `td/import_modules.py` スクリプトが動作し、API
32
35
 
33
36
  ![import](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/import.png)
34
37
 
35
- #### APIサーバの動作確認
36
- `npm run test` を実行することでMCPサーバーコードのユニットテストと TouchDesigner への接続テストが実行されます。
37
- このテストでは `td/modules` ディレクトリ内のPythonモジュールが `mcp_webserver_base` コンポーネントからアクセス可能であることを確認します。
38
- TouchDesigner のメニューから Textportを起動すると通信のログを確認することができます。
38
+ TouchDesigner のメニューから Textportを起動してサーバーの起動ログを確認することができます。
39
+
40
+ ![import](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/textport.png)
39
41
 
40
42
  ### 3. TouchDesigner MCP Server の設定
41
43
  TouchDesignerが起動した状態で、AIエージェント(Claude Desktop,Cursor, VSCode CopilotChatなど)をMCPサーバーに接続するように設定します。
@@ -46,7 +48,7 @@ TouchDesignerが起動した状態で、AIエージェント(Claude Desktop,Cu
46
48
  "mcpServers": {
47
49
  "touchdesigner": {
48
50
  "args": [
49
- "/path/to/your/touchdesigner-mcp-server/dist/index.js", // <-- touchdesigner-mcp-server/dist/index.js への絶対パスに置き換えてください
51
+ "/path/to/your/node_modules/touchdesigner-mcp-server/dist/index.js", // <-- node_modules/touchdesigner-mcp-server/dist/index.js への絶対パスに置き換えてください
50
52
  "--stdio"
51
53
  ],
52
54
  "command": "node",
@@ -56,10 +58,14 @@ TouchDesignerが起動した状態で、AIエージェント(Claude Desktop,Cu
56
58
  }
57
59
  ```
58
60
 
61
+ *Windows環境では C:\\ の様にドライブレターを含めてください。 例. `C:\\path\\to\\your\\node_modules\\touchdesigner-mcp-server\\dist\\index.js`*
62
+
59
63
  MCPサーバーが認識されていればセットアップは完了です。
64
+ 認識されない場合はAIエージェントを再起動するなどしてください。
60
65
  起動時にエラーが表示される場合はTouchDesignerを先に起動してから再度エージェントを起動してください。
61
66
  TouchDesigner で APIサーバーが実行されていれば、エージェントは提供された TouchDesigner ツールを通じてTouchDesignerを使用できます。
62
67
 
68
+ ![demo](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/nodes_list.png)
63
69
 
64
70
  ## MCPサーバーの機能
65
71
 
@@ -167,6 +173,8 @@ TouchDesignerが起動した状態で、AIエージェント(Cursor, Claude De
167
173
  }
168
174
  ```
169
175
 
176
+ *Windows環境では C:\\ の様にドライブレターを含めてください。 例. `C:\\path\\to\\your\\touchdesigner-mcp\\dist\\index.js`*
177
+
170
178
  ### セットアップ後のプロジェクト構造概要
171
179
 
172
180
  ```
package/README.md CHANGED
@@ -6,7 +6,7 @@ This is an implementation of an MCP (Model Context Protocol) server for TouchDes
6
6
 
7
7
  ## Overview
8
8
 
9
- ![demo](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/nodes_list.png)
9
+ [![demo clip](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/particle_on_youtube.png)](https://youtu.be/V2znaqGU7f4?si=6HDFbcBHCFPdttkM&t=635)
10
10
 
11
11
  TouchDesigner MCP acts as a bridge between AI models and the TouchDesigner WebServer DAT, enabling AI agents to:
12
12
  - Create, modify, and delete nodes
@@ -17,8 +17,11 @@ TouchDesigner MCP acts as a bridge between AI models and the TouchDesigner WebSe
17
17
 
18
18
  *Requires Node.js to be installed*
19
19
 
20
+ [![tutorial](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/tutorial.png)](https://www.youtube.com/watch?v=jFaUP1fYum0)
21
+
20
22
  ### 1. Install the touchdesigner-mcp-server package
21
23
 
24
+ `mkdir some && cd ./some` *(If you need)*
22
25
  `npm install touchdesigner-mcp-server`
23
26
 
24
27
  ### 2. Connect to TouchDesigner
@@ -32,10 +35,9 @@ Importing the tox will trigger the `td/import_modules.py` script, which loads mo
32
35
 
33
36
  ![import](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/import.png)
34
37
 
35
- #### Verify API server operation
36
- Run `npm run test` to execute unit tests for the MCP server code and connection tests to TouchDesigner.
37
- This test ensures that the Python modules in the `td/modules` directory are accessible from the `mcp_webserver_base` component.
38
- You can check communication logs by opening the Textport from the TouchDesigner menu.
38
+ You can check boot logs by opening the Textport from the TouchDesigner menu.
39
+
40
+ ![import](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/textport.png)
39
41
 
40
42
  ### 3. Configure the TouchDesigner MCP Server
41
43
  With TouchDesigner running, configure your AI agent (Claude Desktop, Cursor, VSCode CopilotChat, etc.) to connect to the MCP server.
@@ -46,7 +48,7 @@ With TouchDesigner running, configure your AI agent (Claude Desktop, Cursor, VSC
46
48
  "mcpServers": {
47
49
  "touchdesigner": {
48
50
  "args": [
49
- "/path/to/your/touchdesigner-mcp-server/dist/index.js", // <-- Replace with the absolute path to touchdesigner-mcp-server/dist/index.js
51
+ "/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
50
52
  "--stdio"
51
53
  ],
52
54
  "command": "node",
@@ -56,10 +58,15 @@ With TouchDesigner running, configure your AI agent (Claude Desktop, Cursor, VSC
56
58
  }
57
59
  ```
58
60
 
61
+ *On Windows system, please include the drive letter such as C: e.g. `C:\\path\\to\\your\\node_modules\\touchdesigner-mcp-server\\dist\\index.js`*
62
+
59
63
  If the MCP server is recognized, setup is complete.
64
+ Restart the agent, if not recognized.
60
65
  If you see an error at startup, try launching the agent again after starting TouchDesigner.
61
66
  If the API server is running in TouchDesigner, the agent can use TouchDesigner via the provided tools.
62
67
 
68
+ ![demo](https://github.com/8beeeaaat/touchdesigner-mcp/blob/main/assets/nodes_list.png)
69
+
63
70
 
64
71
  ## MCP Server Features
65
72
 
@@ -167,6 +174,8 @@ With TouchDesigner running, configure your AI agent (Cursor, Claude Desktop, VSC
167
174
  }
168
175
  ```
169
176
 
177
+ *On Windows system, please include the drive letter such as C: e.g. `C:\\path\\to\\your\\touchdesigner-mcp\\dist\\index.js`*
178
+
170
179
  ### Project Structure After Setup
171
180
 
172
181
  ```
@@ -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
6
+ * OpenAPI spec version: 0.2.8
7
7
  */
8
8
  import { customInstance } from '../../api/customInstance.js';
9
9
  // eslint-disable-next-line @typescript-eslint/no-redeclare
@@ -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
6
+ * OpenAPI spec version: 0.2.8
7
7
  */
8
8
  import { z as zod } from 'zod';
9
9
  /**
@@ -18,7 +18,7 @@ export class TouchDesignerServer {
18
18
  constructor() {
19
19
  this.server = new McpServer({
20
20
  name: "TouchDesigner",
21
- version: "0.2.6",
21
+ version: "0.2.8",
22
22
  }, {
23
23
  capabilities: {
24
24
  prompts: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "touchdesigner-mcp-server",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "MCP server for TouchDesigner",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,7 +29,7 @@
29
29
  "devDependencies": {
30
30
  "@biomejs/biome": "1.9.4",
31
31
  "@types/jsdom": "^21.1.7",
32
- "@types/node": "^22.15.2",
32
+ "@types/node": "^22.15.3",
33
33
  "@vitest/coverage-v8": "^3.1.2",
34
34
  "msw": "^2.7.5",
35
35
  "mustache": "^4.2.0",
@@ -2,7 +2,7 @@ openapi: 3.0.0
2
2
  info:
3
3
  description: OpenAPI schema for generating TouchDesigner API client code
4
4
  title: TouchDesigner API
5
- version: 0.2.6
5
+ version: 0.2.8
6
6
  servers:
7
7
  - url: "{baseUrl}"
8
8
  variables: