Install
$ agentstack add mcp-sarveshsea-touchdesigner-ai-brain ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
TouchDesigner AI Brain
A public, practical toolkit for helping AI coding agents build real-time TouchDesigner systems: projection mapping, VJ rigs, audio-reactive visuals, interactive installations, and show-control workflows.
The goal is not to replace TouchDesigner craft. The goal is to give an AI assistant enough structure, documentation, safety checks, and live-control surfaces to become useful inside a real TD session.
What This Is
TouchDesigner is visual, live, and stateful. That makes it awkward for normal coding agents, which are happiest when they can read and edit text files. This repo is a bridge between those worlds.
It collects:
- a recommended MCP/control stack for live TouchDesigner automation,
- an audit of current TouchDesigner AI/MCP tools and useful community components,
- a project architecture for VJ and projection mapping work,
- a source registry for vetted
.tox,.toe, MCP, and reference projects, - checklists for show-readiness and third-party asset intake,
- starter TD Python builder scripts that can scaffold reusable networks.
The Core Idea
Use multiple control layers, each for the part it is best at:
| Layer | Tooling | Best For | | --- | --- | --- | | Live build bridge | Embody / Envoy | Creating operators, wiring networks, setting parameters, exporting .tdn, inspecting errors, capturing output | | Reference bridge | TouchDesigner Documentation MCP | Operator/API lookup, version-aware guidance, Python docs, workflow patterns | | GUI fallback | Computer-use automation | Palette UI, dialogs, calibration views, visual verification, parameter panes | | Durable fallback | TD Python builder scripts | Reproducible scaffolds, repair scripts, Textport/DAT execution |
For live work, the most promising path is:
- Run TouchDesigner.
- Add an embedded MCP bridge such as Envoy.
- Let the AI inspect and edit the live network through MCP.
- Export important networks as
.tdn,.tox, or Python so changes are reviewable and repeatable.
Why This Matters
Projection mapping and VJ projects are rarely just a single cool visual. They need a whole system:
- audio analysis,
- controller/MIDI/OSC input,
- scene banks,
- effects racks,
- media playback,
- real-time monitoring,
- projector calibration,
- emergency blackout and bypass paths,
- versioned patches that can survive show pressure.
This repo is a starting point for building that system with an AI assistant that can reason about the patch, modify it, and verify it.
Repository Map
.
├── AGENTS.md # Agent behavior rules for this repo
├── checklists/
│ └── live-build-checklist.md # Show and asset safety checklist
├── docs/
│ ├── architecture.md # Proposed AI + TD project architecture
│ └── toolkit-audit.md # Current MCP/tool/component audit
├── mcp/
│ └── .mcp.example.json # Example local MCP client config
├── registry/
│ └── sources.yml # Vetted source registry
└── touchdesigner/
└── brain_vj_builder.py # Starter TD Python scaffold
Quick Start
Clone the repo:
git clone https://github.com/sarveshsea/touchdesigner-ai-brain.git
cd touchdesigner-ai-brain
Review the audit:
open docs/toolkit-audit.md
Copy the MCP example config into the format your AI client expects:
cp mcp/.mcp.example.json .mcp.json
Then install and enable your chosen TouchDesigner MCP bridge. The current recommendation is Embody / Envoy as the primary live-control layer, with 8beeeaaat/touchdesigner-mcp as a simpler WebServer DAT backup.
First Example
[Spotify Fluid Map V1](examples/spotify-fluid-map) is the first public example in this repo. It uses Spotify Desktop for now-playing metadata, BlackHole for system-audio loopback into TouchDesigner, and a TD Python builder for a 1920x1080 fluid feedback projection mapper.
It is intentionally a personal/local prototype. For public performance or recorded work, swap the audio source to a rights-cleared local file, DJ feed, or audio-interface input.
Starter Network Scaffold
The first script in touchdesigner/brain_vj_builder.py creates a top-level brain_vj COMP with subsystem shells:
audio_inaudio_analysiscontrol_busscene_bankfx_rackmixermappermonitorsafety
Inside TouchDesigner's Python environment:
exec(open('/path/to/touchdesigner-ai-brain/touchdesigner/brain_vj_builder.py').read())
build()
This is intentionally a scaffold. The next step is to replace each subsystem shell with tested operators through Envoy, TD Python, or manually curated .tox components.
Useful First-Party TouchDesigner Areas
Derivative's built-in Palette and docs are the first stop before pulling in community components:
- Palette components
- Projection mapping
audioAnalysismoviePlayer/movieEnginekantanMappercamSchnapprprojectorBlendstonerquadReprojectparticlesGpufeedbackopticalFlowprobe
Community Components To Evaluate
These are not vendored here. They are tracked as candidates in registry/sources.yml and, for the Spotify example, in a manifest-driven downloader that stores files under ignored runtime storage:
python3 examples/spotify-fluid-map/scripts/fetch_community_toolkit.py --list
python3 examples/spotify-fluid-map/scripts/fetch_community_toolkit.py
The current Spotify toolkit candidates include:
- Embody / Envoy
- RayTK, pinned to a TD-2023-era release
- Useful TouchDesigner Toxes
- 13 Tap Bloom
- ISF TouchDesigner
- VIDVOX ISF Files
- MaxMainio TD_ Components
- TouchDesigner Dominant Color
- optional local-only candidates such as okVJ Shared
See [examples/spotify-fluid-map/docs/community-toolkit.md](examples/spotify-fluid-map/docs/community-toolkit.md) for the intake order and license notes.
Safety Model
Treat .toe, .tox, and MCP bridges as executable local code.
Before adopting any third-party asset:
- record its source URL, author, license, and download date,
- note the TouchDesigner version it was saved with,
- inspect whether it uses Python, networking, compiled plugins, or external files,
- smoke-test in a blank project,
- verify operator errors, FPS, output resolution, and crash behavior,
- only then move it into a production show file.
For MCP bridges:
- bind to localhost whenever possible,
- do not expose TD automation ports to the LAN unless you are intentionally designing a secured show-control network,
- do not store API keys or credentials in DATs, parameters,
.env, or committed MCP config files.
Roadmap
- Add a full Envoy setup guide for Codex and other MCP clients.
- Add a minimal audio-reactive TOP network builder.
- Add a VJ house template with scene bank, effects rack, mixer, output mapper, and safety controls.
- Add smoke-test templates for
.toxintake. - Add
.tdnexamples once a live Envoy project is connected. - Add visual verification notes for projection mapping and output capture.
- Build a public compatibility matrix for TD versions, MCP tools, and community components.
Contributing
Contributions are welcome, especially:
- reproducible TD Python builders,
.tdnexamples,- safe MCP setup notes,
- projection mapping workflow notes,
- component audit reports,
- performance test results,
- links to source-available
.toxtools with clear licenses.
Please avoid committing binary show files unless they are small, source-clear, and intentionally part of an example.
License
MIT. See [LICENSE](LICENSE).
TouchDesigner is a product of Derivative. This project is independent and community-oriented.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: sarveshsea
- Source: sarveshsea/touchdesigner-ai-brain
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.