TouchDesigner

TouchDesigner

8beeeaaat

Bridges TouchDesigner's visual programming environment with natural language commands, allowing AI agents to control nodes, properties, and execute Python scripts in real-time.

Provides a bridge between TouchDesigner visual programming environment and natural language commands, enabling real-time control of nodes, properties, and Python script execution for interactive digital art and installations.

2141,109 views18Local (stdio)

What it does

  • Create and delete TouchDesigner nodes
  • Query node properties and project structure
  • Execute Python scripts within TouchDesigner
  • Call Python methods on nodes
  • Control TouchDesigner projects via natural language

Best for

Interactive digital art installationsReal-time visual programming workflowsAI-assisted creative coding in TouchDesigner
Real-time control via natural languageDirect WebServer DAT integration

About TouchDesigner

TouchDesigner is a community-built MCP server published by 8beeeaaat that provides AI assistants with tools and capabilities via the Model Context Protocol. Control TouchDesigner nodes and properties with natural language for audio reactive installations and interactive digita It is categorized under developer tools.

How to install

You can install TouchDesigner in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

TouchDesigner is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

TouchDesigner MCP

Version Downloads

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.

English / 日本語

Overview

demo clip

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

Installation

Please refer to the Installation Guide.

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 NameDescription
create_td_nodeCreates a new node.
delete_td_nodeDeletes an existing node.
exec_node_methodCalls a Python method on a node.
execute_python_scriptExecutes an arbitrary Python script in TouchDesigner.
get_module_helpGets Python help() documentation for TouchDesigner modules/classes.
get_td_class_detailsGets details of a TouchDesigner Python class or module.
get_td_classesGets a list of TouchDesigner Python classes.
get_td_infoGets information about the TouchDesigner server environment.
get_td_node_errorsChecks for errors on a specified node and its children.
get_td_node_parametersGets the parameters of a specific node.
get_td_nodesGets nodes under a parent path, with optional filtering.
update_td_node_parametersUpdates the parameters of a specific node.

Prompts

Prompts provide instructions for AI agents to perform specific actions in TouchDesigner.

Prompt NameDescription
Search nodeFuzzy searches for nodes and retrieves information based on name, family, or type.
Node connectionProvides instructions to connect nodes within TouchDesigner.
Check node errorsChecks for errors on a specified node, and recursively for its children.

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 uses semantic versioning for flexible compatibility checks

MCP ServerAPI ServerMinimum compatible API versionBehaviorStatusNotes
1.3.x1.3.01.3.0✅ Works normallyCompatibleRecommended baseline configuration
1.3.x1.4.01.3.0⚠️ Warning shown, continuesWarningOlder MCP MINOR with newer API may lack new features
1.4.01.3.x1.3.0⚠️ Warning shown, continuesWarningNewer MCP MINOR may have additional features
1.3.21.3.11.3.2❌ Execution stopsErrorAPI below minimum compatible version
2.0.01.x.xN/A❌ Execution stopsErrorDifferent MAJOR = breaking changes

Compatibility Rules:

  • Compatible: Same MAJOR version AND API version ≥ 1.3.0 (minimum compatible version)

  • ⚠️ Warning: Different MINOR or PATCH versions within the same MAJOR version (shows warning but continues execution)

  • Error: Different MAJOR versions OR API server < 1.3.0 (execution stops immediately, update required)

  • To resolve compatibility errors:

    1. Download the latest touchdesigner-mcp-td.zip from the releases page.
    2. Delete the existing touchdesigner-mcp-td folder and replace it with the newly extracted contents.
    3. Remove the old mcp_webserver_base component from your TouchDesigner project and import the .tox from the new folder.
    4. Restart TouchDesigner and the AI agent running the MCP server (e.g., Claude Desktop).
  • For developers: When developing locally, run npm run version after editing package.json (or simply use npm version ...). This keeps the Python API (pyproject.toml + td/modules/utils/version.py), 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

  • TouchDesignerClient caches 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 from mcp_webserver_base.tox is running, and confirm the configured port (default 9981).
    • 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. Use 127.0.0.1 unless 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!

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/amazing-feature).
  3. Make your changes.
  4. Add tests and ensure everything works (npm test).
  5. Commit your changes (git commit -m 'Add some amazing feature').
  6. Push to your branch (git push origin feature/amazing-feature).
  7. Open a pull request.

Please always include appropriate tests when making implementation changes.

License

MIT

Alternatives

Related Skills

Browse all skills
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

6
cli-builder

Guide for building TypeScript CLIs with Bun. Use when creating command-line tools, adding subcommands to existing CLIs, or building developer tooling. Covers argument parsing, subcommand patterns, output formatting, and distribution.

2
openai-knowledge

Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.

0
api-documenter

Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.

0
ydc-ai-sdk-integration

Integrate Vercel AI SDK applications with You.com tools (web search, AI agent, content extraction). Use when developer mentions AI SDK, Vercel AI SDK, generateText, streamText, or You.com integration with AI SDK.

0
mcp-developer

Use when building MCP servers or clients that connect AI systems with external tools and data sources. Invoke for MCP protocol compliance, TypeScript/Python SDKs, resource providers, tool functions.

0