TD-MCP
Provides tools for generating DAW mappings and OSC receiver recipes, enabling synchronization with Bitwig (and Ableton Live) via OSC.
Click on "Install 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., "@TD-MCPapply audio_reactive_basic recipe to main network"
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.
TD-MCP
MCP server + web dashboard for TouchDesigner. Inspect, optimize, and control TD patches from Claude Code or the browser.
Claude Code <--MCP(stdio)--> td-mcp server <--HTTP--> TD WebServer DAT (port 9981)
|
Web Dashboard (:8080)Features
22 MCP tools across 4 groups:
Group | Tools |
Inspect | List ops, trace signal flow, read CHOP channels, read/set params |
Optimize | Cook time stats, find hotspots, find unused ops, suggest fixes |
Cleanup | Find bypassed ops, delete dead ops (dry-run default), validate network |
Templates | 5 CHOP recipes, DAW mapping generator (OSC + MIDI CC) |
Web dashboard (FastAPI + htmx):
Live connection status
Network health overview
Cook time hotspot visualization
Recipe browser with script preview
Cleanup tool with dry-run
Script runner with safety validation
Built-in CHOP recipes:
audio_reactive_basic-- audio in > RMS > lag > math > nullaudio_fft_bands-- FFT > split low/mid/high bandslfo_modulator-- LFO with range mappingmidi_cc_mapper-- MIDI CC > smooth > range > outputosc_receiver-- OSC input for Bitwig/Ableton sync
Related MCP server: touch-mcp
Install
pip install -e ".[dev]"Requires Python 3.10+.
Usage
MCP Server (for Claude Code)
td-mcpAdd to your Claude Code MCP config:
{
"mcpServers": {
"td-mcp": {
"command": "td-mcp",
"args": []
}
}
}Web Dashboard
td-mcp-webOpens at http://localhost:8080. Dark-themed, auto-polls TD status every 5s.
Or run directly:
uvicorn td_mcp.web:app --port 8080 --app-dir srcTests
pytest26 tests covering client, server, tools, safety, models.
TouchDesigner Setup
On the TD machine (Luci's side):
Create a WebServer DAT in your project
Set Port to
9981Paste the contents of
td/webserver_callbacks.pyinto the DAT's callbacksToggle Active ON
That's it. The MCP server and web dashboard connect to this endpoint.
Safety
All scripts executed in TD go through safety.py which blocks:
File I/O, network, subprocess imports
eval/exec/compile/__import__/runDunder attribute access (
__class__,__globals__, etc.)Encoding bypass attempts (hex/unicode/octal escapes,
chr/ord)Max 10,000 chars per script
Project Structure
td-mcp/
src/td_mcp/
server.py # FastMCP server -- 22 tools via stdio
web.py # FastAPI web dashboard
td_client.py # Async HTTP client to TD WebServer DAT
safety.py # Script validator
models.py # Pydantic models
tools/
inspect.py # List ops, trace signal flow, read CHOPs
optimize.py # Cook time hotspots, find unused/dead-end ops
cleanup.py # Delete dead ops (dry-run default), validate network
templates.py # 5 built-in CHOP recipes + DAW mapping generator
td/
webserver_callbacks.py # Drop-in for TD's WebServer DAT
tests/
test_models.py
test_safety.py
test_server.py
test_td_client.py
test_tools.py
pyproject.tomlLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Gleinkaa/td-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server