# tdmcp — TouchDesigner MCP server

tdmcp lets an AI assistant build TouchDesigner node networks from plain-language requests, check them, and return a preview. Use it to turn a visual idea into a working project network.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 54
- Author: Pantani
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Pantani/tdmcp
- Updated: 2026-08-15
- HTML: https://affpapa.org/en/nevibecode/mcp/tdmcp-touchdesigner-mcp-server

## What it does

tdmcp connects an AI assistant to a TouchDesigner project. Its server supplies tools and embedded reference material on operators, Python classes, workflows, and GLSL. A bridge running inside TouchDesigner creates and links nodes; the server then checks the network and produces a preview. Generated layouts are arranged from left to right.

You need TouchDesigner and an MCP-capable assistant. Run the server with `npx -y @dpantani/tdmcp`, then enable the bridge in TouchDesigner, for instance by dropping `tdmcp_bridge_package.tox` into `/project1` and clicking **Install**. The bridge must be running for the assistant to control the project. Building from source requires Node.js 20+.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `TDMCP_TOOL_PROFILE`, `TDMCP_RAW_PYTHON` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env TDMCP_TOOL_PROFILE=<TDMCP_TOOL_PROFILE> --env TDMCP_RAW_PYTHON=<TDMCP_RAW_PYTHON> --transport stdio tdmcp-touchdesigner-mcp-server -- npx -y @dpantani/tdmcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add tdmcp-touchdesigner-mcp-server --env TDMCP_TOOL_PROFILE=<TDMCP_TOOL_PROFILE> --env TDMCP_RAW_PYTHON=<TDMCP_RAW_PYTHON> -- npx -y @dpantani/tdmcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "tdmcp-touchdesigner-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@dpantani/tdmcp"
            ],
            "env": {
                "TDMCP_TOOL_PROFILE": "<TDMCP_TOOL_PROFILE>",
                "TDMCP_RAW_PYTHON": "<TDMCP_RAW_PYTHON>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "tdmcp-touchdesigner-mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@dpantani/tdmcp"
            ],
            "env": {
                "TDMCP_TOOL_PROFILE": "<TDMCP_TOOL_PROFILE>",
                "TDMCP_RAW_PYTHON": "<TDMCP_RAW_PYTHON>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e TDMCP_TOOL_PROFILE=<TDMCP_TOOL_PROFILE> -e TDMCP_RAW_PYTHON=<TDMCP_RAW_PYTHON> tdmcp-touchdesigner-mcp-server npx -y @dpantani/tdmcp
```
Replace <…> with your own values

## When to use it
- build a TouchDesigner node network from a written description
- check a generated network for errors
- preview a visual system in the project
- create and connect nodes in `/project1`

## Example prompts
- Build a noise-based feedback tunnel in TouchDesigner, add blur and displacement, then send it to a window with bloom.
- Add a feedback trail to the visual and send it fullscreen.

## Similar
- [Next AI Draw.io](https://affpapa.org/en/nevibecode/mcp/next-ai-drawio.md) — MCP server · ★ 36398
- [tldraw](https://affpapa.org/en/nevibecode/mcp/tldraw.md) — MCP server · ★ 51091
- [Figma-Context-MCP](https://affpapa.org/en/nevibecode/mcp/figma-context-mcp.md) — MCP server · ★ 16062
- [Agent-Native Assets](https://affpapa.org/en/nevibecode/mcp/agent-native-assets.md) — MCP server · ★ 7506
- [Remove AI Watermarks](https://affpapa.org/en/nevibecode/mcp/remove-ai-watermarks.md) — MCP server · ★ 6114
- [Dembrandt](https://affpapa.org/en/nevibecode/mcp/dembrandt.md) — MCP server · ★ 3821

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
