td-mcp
MCP server for controlling TouchDesigner from AI coding agents like Claude Code and Codex CLI, enabling operator manipulation, parameter control, and screenshot capture.
README
td-mcp
MCP (Model Context Protocol) server for controlling TouchDesigner from AI coding agents like Claude Code and Codex CLI.
Setup
1. TouchDesigner Side
- Install the callbacks file into your TD project:
cd /path/to/your-td-project uvx td-mcp install - Create a WebServer DAT in TouchDesigner
- Set Port to
9980 - Set the WebServer DAT's callbacks File parameter to
td_mcp_callbacks.py - Toggle Active ON
2. Agent Side
Claude Code (.mcp.json)
{
"mcpServers": {
"touchdesigner": {
"command": "uvx",
"args": ["td-mcp"],
"env": {
"TD_HOST": "127.0.0.1",
"TD_PORT": "9980"
}
}
}
}
Codex CLI
codex mcp add touchdesigner \
--env TD_HOST=127.0.0.1 \
--env TD_PORT=9980 \
-- uvx td-mcp
Tools
| Tool | Description |
|---|---|
td_get_root |
Get project root path (call first) |
td_create_op |
Create an operator |
td_delete_op |
Delete an operator |
td_list_ops |
List child operators |
td_get_op_info |
Get operator info |
td_set_params |
Set parameters (batch) |
td_get_params |
Get parameters (with schema discovery) |
td_connect |
Connect operators |
td_disconnect |
Disconnect operators |
td_find_empty_space |
Find empty space in network editor |
td_execute |
Execute Python code in TD |
td_get_screenshot |
Capture TOP screenshot |
Environment Variables
| Variable | Default | Description |
|---|---|---|
TD_HOST |
127.0.0.1 |
TouchDesigner host |
TD_PORT |
9980 |
WebServer DAT port |
TD_TIMEOUT |
10.0 |
Request timeout (seconds) |
Architecture
AI Agent → MCP Server (stdio) → HTTP Client → TouchDesigner WebServer DAT
Security Note
td_execute allows arbitrary Python execution inside TouchDesigner. Use only in trusted local environments.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.