@bottobot/td-mcp
v2.8.0
Published
TouchDesigner MCP Server v2.8.0 - 21 MCP tools, 629 operators with clean parameter data, 69 Python API classes, 14 tutorials, 32 workflow patterns. Includes version system, experimental techniques KB, core tool enhancements, and experimental build support
Downloads
197
Maintainers
Readme
TouchDesigner MCP Server
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
- 629 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 - Search, browse, compare operators, get code examples, and query build info
- 32 Workflow Patterns - Curated operator chain patterns for common use cases
- Experimental Build Tracking - 6 experimental TD build series documented with feature flags, breaking changes, and Python API additions
- Smart Search - Direct search with category filtering and parameter search
- Zero Configuration - Works immediately after installation
- Pure MCP Implementation - Clean stdio-based server, no web server overhead
Installation
Global Installation (Recommended)
npm install -g @bottobot/td-mcpLocal Installation
npm install @bottobot/td-mcpQuick Start
Using with VS Code/Codium and Claude
Install the MCP server globally:
npm install -g @bottobot/td-mcpConfigure Claude/MCP in VS Code: Add the server to your MCP settings configuration file:
{ "td-mcp": { "command": "npx", "args": ["@bottobot/td-mcp"] } }Start using TouchDesigner tools in your conversations with Claude!
Running Standalone
# If installed globally
td-mcp
# If installed locally
npx @bottobot/td-mcpAvailable MCP Tools (21 Total)
Core Operator Tools
get_operator
Get comprehensive details about a specific TouchDesigner operator including all parameters, tips, and code examples.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| name | string | Yes | Operator name (e.g., 'Noise CHOP', 'Movie File In TOP') |
| show_examples | boolean | No | Show code examples and usage |
| show_tips | boolean | No | Show tips and performance notes |
Example: "Get detailed information about the Noise CHOP operator"search_operators
Search for operators using contextual analysis and relevance ranking.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| query | string | Yes | Search query |
| category | string | No | Filter by category (CHOP, DAT, SOP, TOP, MAT, COMP, POP) |
| subcategory | string | No | Filter by subcategory (e.g., 'Audio', 'Filters') |
| parameter_search | boolean | No | Search within parameter names and descriptions |
| show_details | boolean | No | Show detailed results with keywords |
Example: "Search for audio processing operators in the CHOP category"list_operators
List available TouchDesigner operators with optional category filtering.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| category | string | No | Filter by operator category |
Example: "List all TOP operators"compare_operators
Compare two operators side by side -- parameters, categories, shared/unique features.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| operator_a | string | Yes | First operator name |
| operator_b | string | Yes | Second operator name |
| compare_parameters | boolean | No | Include 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.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| operator | string | Yes | Operator name |
| example_type | string | No | Type: '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.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| current_operator | string | Yes | Current 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.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| name | string | Yes | Tutorial name |
| include_content | boolean | No | Include full content sections |
| include_toc | boolean | No | Include table of contents |
| include_links | boolean | No | Include related links |
Example: "Get the 'Write a GLSL TOP' tutorial"list_tutorials
List all available TouchDesigner tutorials with optional filtering.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| search | string | No | Search term to filter tutorials |
| limit | number | No | Maximum results |
| show_details | boolean | No | Show tutorial summaries and keywords |
Example: "List all available tutorials"search_tutorials
Search through tutorial content by keyword, topic, or content.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| query | string | Yes | Search query |
| search_content | boolean | No | Search within section content (default: true) |
| limit | number | No | Maximum 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.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| class_name | string | Yes | Python class name (e.g., 'CHOP', 'Channel', 'App') |
| show_members | boolean | No | Show class members/properties |
| show_methods | boolean | No | Show class methods |
| show_inherited | boolean | No | Show inherited members and methods |
Example: "Get Python documentation for the CHOP class"search_python_api
Search across TouchDesigner Python classes, methods, and members.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| query | string | Yes | Search query |
| search_in | string | No | Where to search: 'all', 'classes', 'methods', 'members' |
| category | string | No | Filter by category |
| limit | number | No | Maximum results |
Example: "Search Python API for audio methods"list_python_classes
List all available Python API classes grouped by category.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| category | string | No | Filter by category (e.g., 'Operator', 'General') |
| search | string | No | Search term to filter classes |
| show_details | boolean | No | Show member/method counts |
Example: "List all Python API classes in the Operator category"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.
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| series_id | string | No | Experimental series ID (e.g. '2025.10000'). Omit for the latest experimental series. |
| show_features | boolean | No | Include new features list (default: true) |
| show_breaking_changes | boolean | No | Include breaking changes vs stable (default: true) |
| show_python_api | boolean | No | Include Python API additions (default: true) |
| show_operators | boolean | No | Include 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).
| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| feature_area | string | No | Filter by area: 'rendering', 'Python API', 'operators', 'UI', 'networking' |
| stability_status | string | No | 'experimental' (active) or 'graduated' (became stable) |
| show_feature_flags | boolean | No | Include feature flag tables (default: false) |
| show_operators | boolean | No | Include experimental operator lists (default: true) |
| show_breaking_changes | boolean | No | Include 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 ID | Year | Status | Headline Feature | |-----------|------|--------|-----------------| | 2025.10000 | 2025 | Active Experimental | Vulkan renderer default, Python 3.12, POP GPU Solver | | 2024.50000 | 2024 | Graduated (TD 2024) | Python 3.11, Engine COMP async, TouchEngine v2 | | 2023.11000 | 2023 | Graduated (TD 2023) | POP system preview, GLSL 4.50, NVIDIA DLSS TOP | | 2022.32000 | 2022 | Graduated (TD 2022) | Engine COMP, USD COMP, NDI 5, WebRTC DAT | | 2021.15000 | 2021 | Graduated (TD 2021) | Body Track CHOP, ONNX Runtime, Python 3.8 | | 2020.20000 | 2020 | Graduated (TD 2020) | Bullet physics, GPU instancing v2, GLSL 4.40 |
Operator Categories
| Category | Count | Description | |----------|-------|-------------| | CHOP | 166 | Channel Operators - Audio, control signals, and data streams | | TOP | 139 | Texture Operators - 2D image and video processing | | SOP | 112 | Surface Operators - 3D geometry creation and manipulation | | DAT | 69 | Data Operators - Text, tables, and data handling | | COMP | 40 | Component Operators - UI elements and containers | | MAT | 13 | Material Operators - 3D rendering materials and shaders | | POP | 90 | Point 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 629 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/ # 629 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.jsonTroubleshooting
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_searchto search within parameter names - Check spelling of operator names
Operator not found
- Use the full operator name including family:
Noise CHOPnot justNoise - Use
search_operatorsfirst to find the exact name - Use
list_operatorswith 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_operatorbefore 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.jsAdding a New Tool
- Create a new file in
tools/following the existing pattern (exportschemaandhandler) - Import and register the tool in
index.js - 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
- Issues: GitHub Issues
- Documentation: TouchDesigner Official Docs
- NPM Package: @bottobot/td-mcp
License
MIT License - See LICENSE file for details.
Acknowledgments
- TouchDesigner by Derivative
- Model Context Protocol by Anthropic
- Built for the TouchDesigner community
Current Version: 2.8.0 Operators: 629 (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
