touchdesigner-mcp-server

bottobot/touchdesigner-mcp-server

3.5

If you are the rightful owner of touchdesigner-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

TouchDesigner MCP Server v2.0 is a comprehensive Model Context Protocol server designed to enhance TouchDesigner projects with AI-powered tools and automation.

Tools
5
Resources
0
Prompts
0

TouchDesigner MCP Server

npm version License: MIT

A powerful Model Context Protocol (MCP) server that brings comprehensive TouchDesigner operator documentation, Python API references, and tutorials directly to your AI coding assistant.

I personally use it with VS Code/Codium and the Roo Code Extension alongside my favorite LLMs like Claude Opus and GPT-5. While the server should theoretically work with other applications like Docker or Claude Desktop, I haven't thoroughly tested those integrations yet.

The Story So Far: The catalyst for this project was simple -- A few months ago I decided I wanted an AI tool that could develop visuals in TouchDesigner for me. I've been making some basic things in TD for awhile but it has one of the steepest learning curves of any creative software I've ever used. How nice would it be just to ask an LLM "Please make a 720p, animated in realtime, constantly evolving, reaction diffusion simulation in TouchDesigner." and then just have it spit one out? Super duper nice is the answer in my opinion.

Like every project I undertake where I know very little, I thought it would be pretty straight forward! LOL! When I started I had no idea just how much time and tokens I would end up sinking into this one. And I still have a ways to go before I consider it complete with full integration into TouchDesigner itself and very little margin of error.

However as far as querying information about operators and their parameters goes -- it works pretty darn well! The major challenge I face with getting any LLM to use this tool effectively for developing networks with real complexity is that the models tend to forget to use the MCP server and fall back on their outdated trained knowledge of much older TouchDesigner versions. If anyone has suggestions on how to overcome this particular wrinkle, I'd absolutely love to hear your feedback!

How to Use It (My Current Workflow)

Right now, I'm focused on ensuring the server returns useful and accurate Python API information. Here's my workflow: I describe the network I want to create -- for example, a reaction diffusion visualization -- and then ask the AI to write a Python script that generates the network inside TouchDesigner using the textport. Once that's complete, I get an 'exec' command that lets me copy and paste just one line into the textport, and voila -- a network is generated!

My ultimate dream, however, is full integration directly into TouchDesigner itself. I experimented with a web server and WebSocket approach, which sort of worked, but since the LLMs I was testing weren't generating correct Python code and kept hallucinating information while not utilizing the MCP server to its fullest potential, I've temporarily shelved this part of the project. Once it's working reliably and generating solid visualizations or networks, then full integration will be the final step!

Features

  • 630 TouchDesigner Operators - Complete documentation including 90+ experimental POP operators
  • 14 Interactive Tutorials - Comprehensive TouchDesigner learning guides
  • 69 Python API Classes - Full Python scripting documentation with 1,510+ methods
  • 21 MCP Tools - Across five functional groups: operator reference, tutorials, Python API, version system, and experimental content
  • 32 Workflow Patterns - Curated operator chain patterns with 72 common transitions

Version System

  • Version History - All stable TD releases documented from 099 through 2024
  • Compatibility Tracking - Per-operator and per-method version compatibility data
  • Python Timeline - Full Python version history bundled with each TD release
  • Release Highlights - Key features and breaking changes per major release

Experimental Techniques Knowledge Base

  • 7 Technique Categories - GLSL, GPU compute, machine learning, generative systems, audio-visual, networking, Python advanced
  • 2,000+ Lines of Code - Working, paste-ready code snippets for advanced techniques
  • 16 Named GLSL Patterns - Complete shader code for raymarching, reaction-diffusion, feedback, and more
  • Difficulty Ratings - Each technique rated with minimum TD version requirements

Core Enhancements

  • Operator Wiring Guides - Exact port-level connection instructions for 20+ common operators
  • Network Templates - Five ready-to-build network templates with Python generation scripts
  • Version-Aware Search - Filter operators and Python API by TD release compatibility
  • Smart Workflow Suggestions - Port wiring, complexity ratings, and node count estimates

Experimental Build Support

  • 6 Experimental Build Series - Documented from builds 20000 through current (2025.10000)
  • Feature Flag Tables - Opt-in/opt-out flags for each experimental series
  • Graduation Tracking - Which experimental features graduated into stable releases
  • Breaking Change Logs - Per-series breaking changes versus the stable baseline

Core Server Features

  • Smart Search - Direct search with category filtering, parameter search, and version filtering
  • Zero Configuration - Works immediately after installation
  • Pure MCP Implementation - Clean stdio-based server, no web server overhead
  • Local Data Processing - All documentation served from local JSON files, no network requests

Installation

Global Installation (Recommended)

npm install -g @bottobot/td-mcp

Local Installation

npm install @bottobot/td-mcp

Quick Start

Using with VS Code/Codium and Claude

  1. Install the MCP server globally:

    npm install -g @bottobot/td-mcp
    
  2. Configure Claude/MCP in VS Code: Add the server to your MCP settings configuration file:

    {
      "td-mcp": {
        "command": "npx",
        "args": ["@bottobot/td-mcp"]
      }
    }
    
  3. Start using TouchDesigner tools in your conversations with Claude!

Running Standalone

# If installed globally
td-mcp

# If installed locally
npx @bottobot/td-mcp

Available MCP Tools (21 Total)

Core Operator Tools

get_operator

Get comprehensive details about a specific TouchDesigner operator including all parameters, tips, and code examples.

ParameterTypeRequiredDescription
namestringYesOperator name (e.g., 'Noise CHOP', 'Movie File In TOP')
show_examplesbooleanNoShow code examples and usage
show_tipsbooleanNoShow tips and performance notes
versionstringNoInclude compatibility block showing when the operator was added or changed for this TD version
Example: "Get detailed information about the Noise CHOP operator"
Example: "Get the Engine COMP documentation for TD 2022"
search_operators

Search for operators using contextual analysis and relevance ranking.

ParameterTypeRequiredDescription
querystringYesSearch query
categorystringNoFilter by category (CHOP, DAT, SOP, TOP, MAT, COMP, POP)
subcategorystringNoFilter by subcategory (e.g., 'Audio', 'Filters')
typestringNoSearch mode: 'fuzzy' (default), 'exact', or 'tag'
versionstringNoFilter to operators compatible with a specific TD version (e.g., '2022')
parameter_searchbooleanNoSearch within parameter names and descriptions
show_detailsbooleanNoShow detailed results with keywords
limitnumberNoMaximum results (default: 10, max: 50)
Example: "Search for audio processing operators in the CHOP category"
Example: "Find operators added in TD 2022"
list_operators

List available TouchDesigner operators with optional category filtering.

ParameterTypeRequiredDescription
categorystringNoFilter by operator category
Example: "List all TOP operators"
compare_operators

Compare two operators side by side -- parameters, categories, shared/unique features.

ParameterTypeRequiredDescription
operator_astringYesFirst operator name
operator_bstringYesSecond operator name
compare_parametersbooleanNoInclude parameter comparison (default: true)
Example: "Compare Blur TOP with Luma Blur TOP"
get_operator_examples

Get Python code examples, expressions, and usage patterns for a specific operator.

ParameterTypeRequiredDescription
operatorstringYesOperator name
example_typestringNoType: 'all', 'python', 'expressions', or 'usage'
Example: "Get Python examples for Movie File In TOP"
suggest_workflow

Get workflow suggestions for what operators commonly follow the current operator.

ParameterTypeRequiredDescription
current_operatorstringYesCurrent operator name
Example: "What operators typically follow a Movie File In TOP?"

Tutorial Tools

get_tutorial

Access detailed TouchDesigner tutorial content with full sections, code, and links.

ParameterTypeRequiredDescription
namestringYesTutorial name
include_contentbooleanNoInclude full content sections
include_tocbooleanNoInclude table of contents
include_linksbooleanNoInclude related links
Example: "Get the 'Write a GLSL TOP' tutorial"
list_tutorials

List all available TouchDesigner tutorials with optional filtering.

ParameterTypeRequiredDescription
searchstringNoSearch term to filter tutorials
limitnumberNoMaximum results
show_detailsbooleanNoShow tutorial summaries and keywords
Example: "List all available tutorials"
search_tutorials

Search through tutorial content by keyword, topic, or content.

ParameterTypeRequiredDescription
querystringYesSearch query
search_contentbooleanNoSearch within section content (default: true)
limitnumberNoMaximum results (default: 10)
Example: "Search tutorials for GLSL shader examples"

Python API Tools

get_python_api

Get documentation for a TouchDesigner Python class including members and methods.

ParameterTypeRequiredDescription
class_namestringYesPython class name (e.g., 'CHOP', 'Channel', 'App')
show_membersbooleanNoShow class members/properties
show_methodsbooleanNoShow class methods
show_inheritedbooleanNoShow inherited members and methods
versionstringNoAnnotate each method/member with its introduction version and exclude API added after this TD version
Example: "Get Python documentation for the CHOP class"
Example: "Get Python API for the App class as of TD 2021"
search_python_api

Search across TouchDesigner Python classes, methods, and members.

ParameterTypeRequiredDescription
querystringYesSearch query
search_instringNoWhere to search: 'all', 'classes', 'methods', 'members'
categorystringNoFilter by category
versionstringNoFilter classes, methods, and members to those available in the specified TD version
limitnumberNoMaximum results
Example: "Search Python API for audio methods"
Example: "Find Python API methods available in TD 2020"
list_python_classes

List all available Python API classes grouped by category.

ParameterTypeRequiredDescription
categorystringNoFilter by category (e.g., 'Operator', 'General')
searchstringNoSearch term to filter classes
show_detailsbooleanNoShow member/method counts
Example: "List all Python API classes in the Operator category"

Version System Tools

get_version_info

Get detailed information about a specific TouchDesigner stable release: which Python version it bundles, new operators introduced, key features, Python API additions, and breaking changes.

ParameterTypeRequiredDescription
versionstringYesTD version string (e.g., '2024', '2022', '2019', '099')
Example: "What Python version does TouchDesigner 2022 use?"
Example: "What operators were added in TouchDesigner 2023?"
list_versions

List all supported TD versions (099, 2019, 2020, 2021, 2022, 2023, 2024) with a quick-reference table showing the bundled Python version and support status for each release, plus the full Python version timeline.

ParameterTypeRequiredDescription
(none required)Returns all versions with highlights
Example: "List all supported TouchDesigner versions"
Example: "Show the Python version timeline for TouchDesigner"

Experimental Techniques Tools

get_experimental_techniques

Browse a curated library of advanced TouchDesigner techniques by category. Returns descriptions, difficulty ratings, version requirements, operator chains, uniform tables, and full working code snippets.

ParameterTypeRequiredDescription
categorystringYesTechnique category. Aliases accepted: 'glsl', 'gpu-compute', 'machine-learning', 'generative-systems', 'audio-visual', 'networking', 'python-advanced'
technique_idstringNoID of a specific technique within the category
Example: "Show me GLSL raymarching techniques in TouchDesigner"
Example: "Get GPU compute techniques using numpy"

Available Categories:

CategoryAlias(es)Techniques
glslshader, raymarching, sdfRaymarching, reaction-diffusion, feedback, procedural noise
gpu-computegpu, cudaScript TOP numpy, CUDA, Shared Memory, GPU instancing
machine-learningml, aiEngine COMP, ONNX, Stable Diffusion, MediaPipe, Body Track
generative-systemsgenerative, lsystemL-systems, Game of Life, strange attractors, boids
audio-visualaudio, fftFFT geometry, beat detection, granular synthesis, MIDI
networkingnetwork, osc, ndiOSC, WebSocket, NDI, TDAbleton, multi-machine
python-advancedpython, numpy, opencvasyncio, tdu.Dependency, threading, numpy, OpenCV
search_experimental

Full-text search across all 7 experimental technique categories. Results ranked by weighted field scoring (name, tags, description, notes, code).

ParameterTypeRequiredDescription
querystringYesSearch query
category_filterstringNoRestrict search to one category
show_codebooleanNoInclude code snippets in results
limitnumberNoMaximum results (default: 10, max: 30)
Example: "Search experimental techniques for reaction diffusion"
Example: "Find GPU instancing examples in the experimental library"
get_glsl_pattern

Retrieve a specific named GLSL pattern with complete, paste-ready shader code. Covers 16 named patterns across raymarching, reaction-diffusion, feedback, procedural noise, cellular automata, and GPU particle simulation. Also provides three reusable GLSL utility libraries. Use pattern: "list" to enumerate all available patterns.

ParameterTypeRequiredDescription
patternstringYesPattern name or 'list' to see all available patterns
include_utilitiesbooleanNoInclude GLSL utility library code (default: false)
Example: "Get the raymarching GLSL pattern"
Example: "List all available GLSL patterns"
Example: "Get the reaction diffusion shader pattern"

Core Enhancement Tools

get_operator_connections

Get a wiring guide for a specific operator: what operators typically connect upstream as inputs and downstream as outputs, with exact port numbers, rationale, and workflow pattern names. Covers 20+ common operators across all families.

ParameterTypeRequiredDescription
operatorstringYesOperator name (with or without family suffix; case-insensitive)
Example: "What connects to and from a Render TOP?"
Example: "Show me the typical connections for a Noise CHOP"
get_network_template

Return a complete, ready-to-use network template for a common TouchDesigner use case. Each template includes an operator list, a port-level connection table, parameter settings, and a ready-to-paste Python script that builds the network. Use template: "list" to see all available templates.

ParameterTypeRequiredDescription
templatestringYesTemplate name or 'list' to enumerate all templates

Available Templates:

TemplateDescription
video-playerFile-based video playback with level and output controls
generative-artNoise-driven generative visual network
audio-reactiveAudio analysis feeding visual parameters
data-visualizationTable DAT driven chart and display network
live-performanceMulti-layer compositing setup for live use
Example: "Give me a network template for audio-reactive visuals"
Example: "List all available network templates"

Experimental Build Tools

TouchDesigner ships two parallel release tracks: stable annual releases (2019–2024) and experimental/beta build series with unreleased features. These tools give you full access to the experimental track.

get_experimental_build

Get detailed information about a specific experimental TD build series or the latest experimental series.

ParameterTypeRequiredDescription
series_idstringNoExperimental series ID (e.g. '2025.10000'). Omit for the latest experimental series.
show_featuresbooleanNoInclude new features list (default: true)
show_breaking_changesbooleanNoInclude breaking changes vs stable (default: true)
show_python_apibooleanNoInclude Python API additions (default: true)
show_operatorsbooleanNoInclude experimental operators (default: true)
Example: "What new features are in the latest experimental TouchDesigner build?"
Example: "Get breaking changes for experimental series 2024.50000"
list_experimental_builds

List recent experimental TD build series grouped by feature area (rendering, Python API, operators, UI, networking).

ParameterTypeRequiredDescription
feature_areastringNoFilter by area: 'rendering', 'Python API', 'operators', 'UI', 'networking'
stability_statusstringNo'experimental' (active) or 'graduated' (became stable)
show_feature_flagsbooleanNoInclude feature flag tables (default: false)
show_operatorsbooleanNoInclude experimental operator lists (default: true)
show_breaking_changesbooleanNoInclude breaking change summaries (default: false)
Example: "List experimental TD builds with rendering changes"
Example: "Which experimental build series introduced the Engine COMP?"

Tracked Experimental Series:

Series IDYearStatusHeadline Feature
2025.100002025Active ExperimentalVulkan renderer default, Python 3.12, POP GPU Solver
2024.500002024Graduated (TD 2024)Python 3.11, Engine COMP async, TouchEngine v2
2023.110002023Graduated (TD 2023)POP system preview, GLSL 4.50, NVIDIA DLSS TOP
2022.320002022Graduated (TD 2022)Engine COMP, USD COMP, NDI 5, WebRTC DAT
2021.150002021Graduated (TD 2021)Body Track CHOP, ONNX Runtime, Python 3.8
2020.200002020Graduated (TD 2020)Bullet physics, GPU instancing v2, GLSL 4.40

Operator Categories

CategoryCountDescription
CHOP166Channel Operators - Audio, control signals, and data streams
TOP140Texture Operators - 2D image and video processing
SOP112Surface Operators - 3D geometry creation and manipulation
DAT69Data Operators - Text, tables, and data handling
COMP41Component Operators - UI elements and containers
MAT13Material Operators - 3D rendering materials and shaders
POP90Point Operators - Particle systems (experimental)

Available Tutorials

Core Tutorials

  • Anatomy of a CHOP - Understanding channel operator internals
  • Build a List COMP - Create dynamic UI lists
  • Introduction to Python Tutorial - Essential guide for TouchDesigner Python scripting

Advanced Development

  • Write a GLSL TOP - Create custom GPU-accelerated image effects
  • Write a GLSL Material - Custom GLSL materials for rendering
  • Write a C++ CHOP - Develop native audio/data processing operators
  • Write a C++ TOP - Build custom texture operators in C++
  • Write a C++ Plugin - Advanced C++ integration for TouchDesigner plugins
  • Write a CUDA DLL - GPU programming with CUDA for TouchDesigner

Inter-Process Communication

  • Write a Shared Memory CHOP - Inter-process data communication
  • Write a Shared Memory TOP - Share textures between processes

Video & Integration

  • Video Streaming User Guide - Complete guide for video streaming workflows
  • TouchDesigner Video Server Specification Guide - Professional video server setup
  • TDBitwig User Guide - Integration with Bitwig Studio DAW

Python API Documentation

The server includes documentation for 69 Python API classes with 1,510+ methods covering:

  • Core operator classes (CHOP, TOP, SOP, DAT, MAT, COMP)
  • Utility classes (Channel, Cell, Page, etc.)
  • System classes (App, Project, Monitor, etc.)
  • UI classes (Panel, Widget, etc.)
  • Advanced features (WebRTC, NDI, MIDI, OSC, etc.)

Architecture

The TD-MCP server is built with:

  • Pure MCP Implementation - Clean stdio-based server following MCP standards
  • Direct Search Algorithm - Fast, reliable search without external index dependencies
  • OperatorDataManager - Centralized data management with 630 operators loaded into memory
  • Local Data Processing - All operator data is processed and served locally
  • Modular Tool System - Each of the 21 MCP tools is independently maintained
  • Dual Release Track Support - Stable annual releases (2019–2024) and experimental build series both fully documented

Project Structure

td-mcp/
├── index.js                         # Main MCP server entry point (21 tools)
├── tools/                           # MCP tool implementations (21 tools)
│   ├── get_operator.js              # Full operator documentation
│   ├── search_operators.js          # Operator search with ranking
│   ├── suggest_workflow.js          # Workflow chain suggestions
│   ├── list_operators.js            # List/filter operators
│   ├── get_tutorial.js              # Tutorial content access
│   ├── list_tutorials.js            # Tutorial listing
│   ├── search_tutorials.js          # Tutorial content search
│   ├── get_python_api.js            # Python class documentation
│   ├── search_python_api.js         # Python API search
│   ├── list_python_classes.js       # Python class browsing
│   ├── get_operator_examples.js     # Code examples per operator
│   ├── compare_operators.js         # Side-by-side comparison
│   ├── get_version_info.js          # Stable version details
│   ├── list_versions.js             # All stable versions
│   ├── get_experimental_techniques.js # Advanced technique library
│   ├── search_experimental.js       # Search techniques
│   ├── get_glsl_pattern.js          # Named GLSL shader patterns
│   ├── get_operator_connections.js  # Operator wiring guide
│   ├── get_network_template.js      # Full network templates
│   ├── get_experimental_build.js    # Experimental build series details
│   └── list_experimental_builds.js  # List experimental series by area
├── wiki/                            # Documentation system
│   ├── data/
│   │   ├── processed/               # 630 operator JSON files
│   │   ├── tutorials/               # 14 tutorial JSON files
│   │   ├── python-api/              # 69 Python class JSON files
│   │   ├── experimental/            # 7 advanced technique JSON files
│   │   ├── search-index/            # Search index data
│   │   └── versions/               # Version compatibility data
│   │       ├── version-manifest.json
│   │       ├── operator-compatibility.json
│   │       ├── python-api-compatibility.json
│   │       ├── release-highlights.json
│   │       └── experimental-builds.json  # Experimental track data
│   ├── utils/
│   │   └── version-filter.js        # Version utilities + experimental support
│   ├── operator-data-manager.js     # Core documentation engine
│   └── operator-data-python-api.js  # Python API data manager
├── data/
│   └── patterns.json                # 32 workflow patterns + transitions
├── scripts/                         # Data maintenance scripts
│   ├── clean-operator-data.js       # Clean parameter descriptions
│   └── enrich-top-operators.js      # Add tips/examples to operators
└── package.json

Troubleshooting

Server won't start

  • Ensure Node.js 18.0+ is installed: node --version
  • Try reinstalling: npm install -g @bottobot/td-mcp
  • Check for port conflicts if running other MCP servers

Search returns no results

  • Try broader search terms
  • Remove category filters
  • Enable parameter_search to search within parameter names
  • Check spelling of operator names

Operator not found

  • Use the full operator name including family: Noise CHOP not just Noise
  • Use search_operators first to find the exact name
  • Use list_operators with a category filter to browse available operators

LLM not using the MCP tools

  • Explicitly mention TouchDesigner in your prompt
  • Ask the LLM to "use the td-mcp tools" to look up operator information
  • Remind the LLM to check parameters with get_operator before generating code

Requirements

  • Node.js 18.0 or higher
  • npm package manager
  • VS Code/Codium with MCP-compatible extension (e.g., Claude Dev, Roo Code)

Development

To contribute or modify the server:

# Clone the repository
git clone https://github.com/bottobot/touchdesigner-mcp-server.git

# Install dependencies
cd touchdesigner-mcp-server
npm install

# Run the server locally
node index.js

# Validate syntax
node --check index.js

# Clean operator data (removes HTML dumps from parameter descriptions)
node scripts/clean-operator-data.js

# Enrich top operators with tips and examples
node scripts/enrich-top-operators.js

Adding a New Tool

  1. Create a new file in tools/ following the existing pattern (export schema and handler)
  2. Import and register the tool in index.js
  3. Update this README with the tool documentation

Adding Operator Data

Operator data lives in wiki/data/processed/ as JSON files. Each file follows the schema with fields: id, name, displayName, category, subcategory, description, parameters, tips, warnings, pythonExamples, codeExamples, and version.

Support

License

MIT License - See file for details.

Acknowledgments

  • TouchDesigner by Derivative
  • Model Context Protocol by Anthropic
  • Built for the TouchDesigner community

Current Version: 2.8.0 Operators: 630 (with cleaned parameter descriptions) Tutorials: 14 Python API Classes: 69 MCP Tools: 21 Workflow Patterns: 32 Experimental Build Series: 6 (builds 20000-current) Last Updated: February 2026