touchdesigner-mcp
v0.3.0MCP server for controlling TouchDesigner networks from Claude, Copilot, Cursor and other MCP clients via a Web Server DAT bridge
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_node
Create a new operator node in TouchDesigner. Args: node_type: The operator type, e.g. 'noiseTOP', 'constantCHOP', 'textDAT', 'waveCHOP'. node_name: Name for the new node. parent_path: Path to the parent container (default: /project1).
| Parameter | Type | Description |
|---|---|---|
node_name * | string | |
node_type * | string | |
parent_path | string |
delete_node
Delete an operator node from TouchDesigner. Args: node_path: Full path to the node to delete, e.g. '/project1/noise1'.
| Parameter | Type | Description |
|---|---|---|
node_path * | string |
rename_node
Rename a TouchDesigner node. Args: node_path: Full path to the node to rename, e.g. '/project1/noise1'. new_name: New name for the node.
| Parameter | Type | Description |
|---|---|---|
new_name * | string | |
node_path * | string |
copy_node
Duplicate a node. Optionally copy to a different container and/or rename. Args: node_path: Full path to the node to copy. destination_path: Container to copy into (default: same parent as source). new_name: New name for the copy (default: TD auto-names it).
| Parameter | Type | Description |
|---|---|---|
node_path * | string | |
destination_path | string | |
new_name | string |
get_node_info
Get detailed information about a TouchDesigner node, including type, family, inputs, outputs, and position. Args: node_path: Full path to the node, e.g. '/project1/noise1'.
| Parameter | Type | Description |
|---|---|---|
node_path * | string |
list_nodes
List all operator nodes inside a TouchDesigner container. Args: parent_path: Path to the container to list (default: /project1).
| Parameter | Type | Description |
|---|---|---|
parent_path | string |
get_parameter
Read the current value of a parameter on a TouchDesigner node. Args: node_path: Full path to the node, e.g. '/project1/noise1'. param_name: Parameter name, e.g. 'seed', 'roughness', 'text'.
| Parameter | Type | Description |
|---|---|---|
node_path * | string | |
param_name * | string |
set_parameter
Set a parameter value on an existing TouchDesigner node. Args: node_path: Full path to the node, e.g. '/project1/noise1'. param_name: Parameter name, e.g. 'seed', 'roughness', 'text'. value: New value for the parameter (will be converted to the appropriate type).
| Parameter | Type | Description |
|---|---|---|
node_path * | string | |
param_name * | string | |
value * | string |
list_parameters
List all parameters of a TouchDesigner node with their current values, types, defaults, and ranges. Args: node_path: Full path to the node, e.g. '/project1/noise1'. filter_pattern: Optional glob pattern to filter parameter names (default: '*').
| Parameter | Type | Description |
|---|---|---|
node_path * | string | |
filter_pattern | string |
connect_nodes
Connect the output of one node to the input of another node. Args: source_path: Full path to the source node (output side). target_path: Full path to the target node (input side). input_index: Input connector index on the target node (default: 0). output_index: Output connector index on the source node (default: 0).
| Parameter | Type | Description |
|---|---|---|
source_path * | string | |
target_path * | string | |
input_index | integer | |
output_index | integer |
disconnect_nodes
Disconnect a specific input on a node. Args: target_path: Full path to the node whose input to disconnect. input_index: Input connector index to disconnect (default: 0).
| Parameter | Type | Description |
|---|---|---|
target_path * | string | |
input_index | integer |
create_network
Create multiple nodes and connections in one call. The most efficient way to build node chains and networks. Args: nodes: List of node definitions. Each is a dict with: - type (str, required): Operator type, e.g. 'noiseTOP', 'levelTOP' - name (str, required): Node name - params (dict, optional): Parameter name→value pairs to set - x (float, optional): Network X position - y (float, optional): Network Y position connections: List of connections. Each is a dict with: - source (str, required): Name…
| Parameter | Type | Description |
|---|---|---|
nodes * | array | |
connections | ||
parent_path | string |
export_network
Export a subnetwork as JSON including all nodes, parameters, positions, and connections. The output is compatible with create_network for round-tripping. Args: parent_path: Container to export (default: /project1). recursive: Whether to include nodes in sub-containers (default: False).
| Parameter | Type | Description |
|---|---|---|
parent_path | string | |
recursive | boolean |
search_nodes
Search for nodes by name or type pattern in the TouchDesigner project. Args: pattern: Glob pattern to match node names, e.g. 'noise*', '*TOP', '*'. parent_path: Container to search in (default: /project1). family: Optional filter by family: 'TOP', 'CHOP', 'SOP', 'DAT', 'COMP', or '' for all. recursive: Whether to search recursively into sub-containers (default: True).
| Parameter | Type | Description |
|---|---|---|
pattern * | string | |
family | string | |
parent_path | string | |
recursive | boolean |
set_node_position
Set the visual position of a node in the TouchDesigner network editor. Args: node_path: Full path to the node, e.g. '/project1/noise1'. x: Horizontal position in network units. y: Vertical position in network units.
| Parameter | Type | Description |
|---|---|---|
node_path * | string | |
x * | number | |
y * | number |
save_project
Save the current TouchDesigner project. Args: file_path: Optional file path for 'Save As'. If empty, saves to the current file.
| Parameter | Type | Description |
|---|---|---|
file_path | string |
get_project_info
Get information about the current TouchDesigner project: name, folder, save version, cook rate, real-time flag, and the bridge script version.
get_errors
List all nodes with cooking errors and/or warnings. Useful for debugging after building or modifying networks. Args: parent_path: Container to check (default: / for entire project). recursive: Whether to check recursively (default: True). include_warnings: Whether to include warnings in addition to errors (default: True).
| Parameter | Type | Description |
|---|---|---|
include_warnings | boolean | |
parent_path | string | |
recursive | boolean |
execute_script
Execute arbitrary Python code inside TouchDesigner. The script runs in TD's Python environment with access to all TD APIs (op(), me, etc.). Use print() to return output. Args: script: Python code to execute inside TouchDesigner. parent_path: Context path for the script execution (default: /project1).
| Parameter | Type | Description |
|---|---|---|
script * | string | |
parent_path | string |