touchdesigner-mcp-server — Claude Code MCP server: setup guide
Connects AI agents to TouchDesigner via WebServer DAT. Lets models create nodes, inspect parameters, and run Python scripts inside your project.
claude mcp add touchdesigner-mcp-server -- npx -y touchdesigner-mcp-serverWhat touchdesigner-mcp-server does
This server bridges AI agents and TouchDesigner using a dedicated mcp_webserver_base.tox component. Agents can inspect the project hierarchy, create or delete nodes, update parameters, and grab rendered frames directly from TOP nodes. When built-in tools are not enough, it executes arbitrary Python scripts or calls specific node methods.
The server checks for errors and warnings across node trees, catching broken references and shader problems via get_td_node_errors. Compatibility depends on the component API version (minimum supported is 1.3.0) rather than the npm package version. Without TouchDesigner running and listening via WebServer DAT, connection attempts trigger ECONNREFUSED and get cached for 60 seconds before retrying.
What it helps with
- create and configure TouchDesigner nodes from chat prompts
- detect broken references and shader warnings across node trees
- run arbitrary Python scripts directly in a running project
- capture visual frames from TOP nodes for model inspection
Example prompts for the agent
- Create a
moviefileinnode under/project1and set its file path - Check for errors and warnings on
/project1/geo1and its children - Capture the current output image from
/project1/out1
How to install touchdesigner-mcp-server
Platform CLI
claude mcp add touchdesigner-mcp-server -- npx -y touchdesigner-mcp-serverPlatform CLI
codex mcp add touchdesigner-mcp-server -- npx -y touchdesigner-mcp-serverConfig file
{
"mcpServers": {
"touchdesigner-mcp-server": {
"command": "npx",
"args": [
"-y",
"touchdesigner-mcp-server"
]
}
}
}Config file
{
"servers": {
"touchdesigner-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"touchdesigner-mcp-server"
]
}
}
}Platform CLI
gemini mcp add touchdesigner-mcp-server npx -y touchdesigner-mcp-serverStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about touchdesigner-mcp-server
How to install touchdesigner-mcp-server in Claude Code?
Run claude mcp add touchdesigner-mcp-server -- npx -y touchdesigner-mcp-server.
What does touchdesigner-mcp-server do?
It connects AI models to TouchDesigner via WebServer DAT. Agents can query node trees, adjust parameters, execute Python scripts, and capture TOP node output.
What setup is required inside TouchDesigner?
Import the mcp_webserver_base.tox component into your project and keep TouchDesigner open. The server requires an API version of 1.3.0 or higher from this component.