TouchDesigner MCP
This server lets an AI agent control and automate TouchDesigner projects by creating, modifying, deleting, and inspecting nodes, executing Python, and capturing TOP outputs.
Project & Node Management: Create (
create_td_node), delete (delete_td_node), list (get_td_nodes), and update parameters (update_td_node_parameters) of TouchDesigner nodes.Scripting & Methods: Execute arbitrary Python scripts (
execute_python_script) and call methods on nodes (exec_node_method) for advanced control.Inspection & Diagnostics: Get node parameters (
get_td_node_parameters), check errors/warnings (get_td_node_errors), browse available classes/modules (get_td_classes,get_td_class_details,get_td_module_help).Visual Feedback: Capture the output of TOP nodes as images (
get_top_image) for direct viewing.Environment & Tool Discovery: Retrieve server info (
get_td_info) and generate a manifest of available tools (describe_td_tools).Output Customization: Most tools support configurable detail levels and response formats (json/yaml/markdown) to optimize token usage.
Required for code generation during development, used to generate API client/server schemas for the TouchDesigner integration.
Required runtime environment for the TouchDesigner MCP server, enabling the bridge between AI models and TouchDesigner.
Used within TouchDesigner for scripting and controlling nodes, allowing AI agents to execute Python code to manipulate TouchDesigner projects.
Used to develop the MCP server code with type safety, providing a robust interface between AI agents and TouchDesigner.
Used for schema validation in the TypeScript implementation, ensuring proper data validation for tool inputs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TouchDesigner MCP create a noise TOP and connect it to a movie out"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TouchDesigner MCP
This is an implementation of an MCP (Model Context Protocol) server for TouchDesigner. Its goal is to enable AI agents to control and operate TouchDesigner projects.
Overview

TouchDesigner MCP acts as a bridge between AI models and the TouchDesigner WebServer DAT, enabling AI agents to:
Create, modify, and delete nodes
Query node properties and project structure
Programmatically control TouchDesigner via Python scripts
Related MCP server: td-mcp
Installation
Tell the AI agent you already use:
That's it. The full procedure lives in the Installation Guide — it opens with a table matching each AI app to its route, and everyone starts from TouchDesigner Setup. Or follow it yourself, step by step.
If you are updating, please refer to the procedure in the Latest Release.
MCP Server Features
This server enables AI agents to perform operations in TouchDesigner using the Model Context Protocol (MCP).
Tools
Tools allow AI agents to perform actions in TouchDesigner.
Tool Name | Description |
| Creates a new node. |
| Deletes an existing node. |
| Generates a manifest of the available TouchDesigner tools. |
| Calls a Python method on a node. |
| Executes an arbitrary Python script in TouchDesigner. |
| Gets details of a TouchDesigner Python class or module. |
| Gets a list of TouchDesigner Python classes. |
| Gets information about the TouchDesigner server environment. |
| Gets Python help() documentation for TouchDesigner modules/classes. |
| Checks errors and warnings on a node and its descendants. Missing files, dangling references and shader failures are warnings, so no errors does not mean healthy. |
| Gets the parameters of a specific node. |
| Gets nodes under a parent path, with optional filtering. |
| Captures the current output of a TOP node as an image. |
| Updates the parameters of a specific node. |
Prompts
Prompts provide instructions for AI agents to perform specific actions in TouchDesigner.
Prompt Name | Description |
| Fuzzy searches for nodes and retrieves information based on name, family, or type. |
| Provides instructions to connect nodes within TouchDesigner. |
| Checks errors and warnings on a specified node, and recursively for its descendants. |
Resources
Not implemented.
Developer Guide
Looking for local setup, client configuration, project structure, or release workflow notes? See the Developer Guide for all developer-facing documentation.
Troubleshooting
Troubleshooting version compatibility
The MCP server and the TouchDesigner component are versioned on two independent axes: the npm package version and the API version (the contract between the MCP server and the .tox component). Each release declares the API version it ships with (expectedApiVersion) and the minimum it supports (minApiVersion, currently 1.3.0). The connected component's API version is compared against those two values — the npm package version itself never gates compatibility, so updating the MCP server alone never invalidates a supported component.
API Server (component) | Condition | Behavior | Status |
= expected API version | Matches the shipped | ✅ Works silently | Compatible |
≥ minimum, < expected | Older component | ⚠️ "Update Recommended" notice appended to responses, continues | Warning |
> expected, same MAJOR | Newer component | ⚠️ Warning to update the MCP server, continues | Warning |
MAJOR above expected | Newer API generation | ❌ Execution stops — update the MCP server | Error |
< minimum (or missing) | Too old | ❌ Execution stops — update the component | Error |
To resolve compatibility errors:
Download the latest touchdesigner-mcp-td.zip from the releases page.
Delete the existing
touchdesigner-mcp-tdfolder and replace it with the newly extracted contents.Remove the old
mcp_webserver_basecomponent from your TouchDesigner project and import the.toxfrom the new folder.Restart TouchDesigner and the AI agent running the MCP server (e.g., Claude Desktop).
For developers: When developing locally, run
npm run versionafter editingpackage.json(or simply usenpm version ...). This keeps the Python API (pyproject.toml+td/modules/utils/version.py),mcpCompatibility.expectedApiVersion, MCP bundle manifest, and registry metadata in sync so that the runtime compatibility check succeeds.
For a deeper look at how the MCP server enforces these rules, see Version Compatibility Verification.
Troubleshooting connection errors
TouchDesignerClientcaches failed connection checks for 60 seconds. Subsequent tool calls reuse the cached error to avoid spamming TouchDesigner and automatically retry after the TTL expires.When the MCP server cannot reach TouchDesigner, you now get guided error messages with concrete fixes:
ECONNREFUSED/ "connect refused": start TouchDesigner, ensure the WebServer DAT frommcp_webserver_base.toxis running, and confirm the configured port (default9981).ETIMEDOUT/ "timeout": TouchDesigner is responding slowly or the network is blocked. Restart TouchDesigner/WebServer DAT or check your network connection.ENOTFOUND/getaddrinfo: the host name is invalid. Use127.0.0.1unless you explicitly changed it.
The structured error text is also logged through
ILogger, so you can check the MCP logs to understand why a request stopped before hitting TouchDesigner.Once the underlying issue is fixed, simply run the tool again—the client clears the cached error and re-verifies the connection automatically.
Contributing
We welcome your contributions!
Fork the repository.
Create a feature branch (
git checkout -b feature/amazing-feature).Make your changes.
Add tests and ensure everything works (
npm test).Commit your changes (
git commit -m 'Add some amazing feature').Push to your branch (
git push origin feature/amazing-feature).Open a pull request.
Please always include appropriate tests when making implementation changes.
License
MIT
Available Tools
14 toolscreate_td_nodeC
Create a new node in TouchDesigner
Inputs: nodeType (required), parentPath (required), nodeName, detailLevel, +1 more.
delete_td_nodeB
Delete an existing node in TouchDesigner
Inputs: nodePath (required), detailLevel, responseFormat.
describe_td_toolsB
Generate a filesystem-oriented manifest of available TouchDesigner tools
Inputs: filter, detailLevel, responseFormat.
exec_node_methodC
Execute a method on a specific node in TouchDesigner
Inputs: method (required), nodePath (required), args, kwargs, +2 more.
execute_python_scriptC
Execute a Python script in TouchDesigner (detailLevel=minimal|summary|detailed, responseFormat=json|yaml|markdown)
Inputs: script (required), detailLevel, responseFormat.
get_td_class_detailsB
Get information about a TouchDesigner class/module (detailLevel+limit supported)
Inputs: className (required), limit, detailLevel, responseFormat.
get_td_classesB
List TouchDesigner Python classes/modules (detailLevel+limit supported)
Inputs: limit, detailLevel, responseFormat.
get_td_infoC
Get server information from TouchDesigner
Inputs: detailLevel, responseFormat.
get_td_module_helpB
Retrieve Python help() text for a TouchDesigner module or class
Inputs: moduleName (required), detailLevel, responseFormat.
get_td_node_errorsA
Check errors and warnings on a node and its descendants. TouchDesigner reports missing files, dangling operator references and shader compile failures as warnings, so do not treat hasErrors=false as a healthy node. Reads the operator errors and warnings streams only: an exception raised inside a Script OP callback, a scriptCHOP onCook for example, lands on neither and is reported nowhere here, so an empty report is not evidence the node cooked
Inputs: nodePath (required), limit, detailLevel, responseFormat.
get_td_node_parametersB
Get node parameters with concise/detailed formatting (detailLevel+limit supported)
Inputs: nodePath (required), limit, detailLevel, responseFormat.
get_td_nodesB
List nodes under a path with token-optimized output (detailLevel+limit supported)
Inputs: parentPath (required), limit, pattern, detailLevel, +2 more.
get_top_imageA
Capture the current output of a TOP node as an image so it can be viewed directly (maxSize optionally downscales the longer side)
Inputs: nodePath (required), maxSize.
update_td_node_parametersC
Update parameters of a specific node in TouchDesigner
Inputs: nodePath (required), properties (required), detailLevel, responseFormat.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Each tool targets a distinct concern: server info, script execution, node listing/parameters/errors, CRUD, method execution, class/module introspection, image capture, and a tool manifest. get_td_class_details and get_td_module_help are the only close pair, but the descriptions clearly separate detailed info from raw help() text.
Most tools follow a get/create/update/delete/execute verb prefix, but the TD marker placement is inconsistent (get_td_nodes vs create_td_node vs exec_node_method), and names like get_top_image and describe_td_tools break the pattern. The naming is readable and mostly snake_case, but not fully systematic.
14 tools is well within the ideal range for a domain-specific server. Each tool earns its place by covering a meaningful part of the TouchDesigner workflow, with no obvious redundancy or bloat.
The set provides full node lifecycle coverage (create, read/list, update, delete), parameter access, error checking, arbitrary script execution, node method calls, class/help introspection, and image output capture. The generic execute_python_script tool also acts as a powerful fallback for any uncovered operations.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceHigh-performance MCP server that enables AI assistants to control TouchDesigner live via WebSocket, providing 37 tools for nodes, parameters, scripting, and more.5MIT
- AlicenseAqualityDmaintenanceMCP server for controlling TouchDesigner from AI coding agents like Claude Code and Codex CLI, enabling operator manipulation, parameter control, and screenshot capture.1214 PyPIMIT
- AlicenseBqualityBmaintenanceAn MCP server for TouchDesigner that lets AI agents inspect, build, wire, optimize, and stabilize live TD networks with 106 tools, plus a technique memory system for reusable patterns.11416MIT
- AlicenseAqualityDmaintenanceEnables LLMs to directly control, introspect, and build TouchDesigner networks in real-time through a Model Context Protocol server.25MIT