tdmcp — TouchDesigner MCP server

io.github.Pantani由 GitHub 帳號 Pantani 發布v0.13.2更新於 Oct 24, 2026

Build real visual systems in TouchDesigner from plain language with Claude, Cursor or Codex.

已驗證STDIO僅桌面開發者工具媒體與設計

概覽

AI 產生的概覽

讓 AI 助理透過本機橋接,用自然語言在 TouchDesigner 中建立、檢查並預覽節點網路。

可以做什麼
  • 在開啟的專案中建立、連接、檢查並預覽 TouchDesigner 節點
  • 產生現成的視覺系統,例如回饋網路、音訊反應裝置、粒子系統與生成藝術
  • 加入控制面板、為參數做動畫,並串接 OSC、MIDI、DMX、NDI 等外部輸出入
  • 查詢內建的 TouchDesigner 算子、Python 類別、GLSL 技法與教學參考
  • 可選擇搜尋本機創意素材庫中的作品與技法以取得靈感
適用情境
適合在 TouchDesigner 中工作、希望助理把「用雜訊做一條帶模糊和位移的回饋隧道」這類描述變成真實連線節點,再繼續微調與預覽的情境。
執行需求
需安裝 TouchDesigner(免費非商業版即可),並在其中執行 tdmcp 橋接元件,監聽 9980 埠。需要支援 MCP 的用戶端,例如 Claude Desktop、Claude Code、Codex 或 Cursor。僅從原始碼建置時需要 Node.js 20+;Claude Desktop 擴充套件已內含伺服器。選用的創意 RAG 需在本機安裝 Ollama。
安裝前請注意
橋接會在 TouchDesigner 程序內執行任意 Python,並在所有網路介面上監聽 9980 埠,等同對這台機器敞開大門;僅在可信任網路使用,否則應啟用橋接驗證(TDMCP_BRIDGE_TOKEN)或關閉執行端點(TDMCP_BRIDGE_ALLOW_EXEC=0)。助理會建立與修改專案中的節點。用戶端自寫的原始 Python 工具預設隱藏,除非執行環境可信任,否則不要開啟。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 tdmcp — TouchDesigner MCP server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

MindDesigner (tdmcp) — TouchDesigner MCP server

[CI] [Docs] [npm version] [Node.js] [MCP server] [License: MIT] [tdmcp MCP server]

tdmcp is a Model Context Protocol (MCP) server for TouchDesigner — build TouchDesigner from plain language. You describe a visual to an AI assistant (Claude, Claude Code, Cursor, Codex); the AI builds the actual network of nodes inside your project, checks it for errors, and shows you a preview.

"Create a feedback tunnel from noise with blur and displace, then add bloom and output it to a window."

…and the nodes appear, wired up, in your /project1.

It works because it pairs two things every other tool was missing:

  • Real knowledge — an embedded reference of 629 operators, 68 Python classes, workflow patterns, GLSL techniques and tutorials, so the AI uses real TouchDesigner operators instead of guessing.
  • Real execution — a small bridge running inside TouchDesigner that actually creates, connects, inspects and previews nodes — with a create → verify → preview loop so the AI can see and fix its own work. Every generated network is auto-arranged into a readable left→right layout.

📖 Documentation

Full guides and reference live on the docs site → https://pantani.github.io/tdmcp/

🇧🇷 Portuguese documentation: https://pantani.github.io/tdmcp/pt/

How it works

Three pieces talk to each other on your computer:

   You + your AI            tdmcp server               TouchDesigner  (Claude / Cursor)   ─▶   (a small program)    ─▶   (the bridge inside TD)   "make a feedback                                      builds real nodes    tunnel from noise"                                   in /project1
  1. Your AI assistant — where you type what you want.
  2. The tdmcp server — a small Node program that gives the AI a set of TouchDesigner "tools" and the operator knowledge base. You install it once.
  3. The bridge — a tiny piece that runs inside TouchDesigner so the server can actually drive it. You switch it on once per machine.

What you'll need

  • TouchDesigner — the free non-commercial edition is fine.
  • An MCP-capable AI assistant: Claude Desktop (easiest), Claude Code, Codex, or Cursor.

Node.js is only needed for the build-from-source path (Node 22+). The one-click Claude Desktop extension needs nothing extra — the server is bundled inside the .mcpb extension file.

Get started

You set up two sides: your AI (so it gets the tdmcp tools) and TouchDesigner (so the AI can drive it).

🤖 Easiest — let your AI install it. Using Claude Code, Codex, or Cursor? Paste this one message in:

text
Install and connect tdmcp for me using the official install guide:https://pantani.github.io/tdmcp/guide/installDo every step yourself; only stop when you need me to do the TouchDesigner bridge step.

It clones, builds and wires everything up; the only manual step is pasting one line into TouchDesigner (Step 2 below).

🟢 Claude Desktop — one-click .mcpb (no terminal, no Node). Download tdmcp.mcpb, then in Claude Desktop open Settings → Extensions and install it (drag it in or Install from file). Leave host/port at 127.0.0.1 / 9980. Full walkthrough: the install guide.

🛠️ Claude Code / Codex / Cursor — build from source.

bash
git clone https://github.com/Pantani/tdmcp.gitcd tdmcpnpm run setup   # installs, builds, and prints the exact line to connect your client

Turn on the bridge inside TouchDesigner (everyone)

Easiest — no Textport. Download tdmcp_bridge_package.tox from the latest release, drag it into your /project1 network, and click Install on the component. The package self-bootstraps and starts the bridge on port 9980. ✅

Prefer a one-line Textport command?

Open the Textport (Dialogs → Textport and DATs), paste this one line and press Enter:

python
import urllib.request; exec(urllib.request.urlopen("https://github.com/Pantani/tdmcp/raw/v0.13.2/td/bootstrap.py").read().decode())

You should see [tdmcp] bridge running on port 9980 (/project1/tdmcp_bridge).

Either way it's safe and reversible — it adds one tidy component; remove it later with from mcp import install; install.uninstall(). Other install methods (module path, terminal, Palette package) are in the bridge docs.

Make something

With TouchDesigner open and your AI connected, ask in plain language:

"Create an audio-reactive particle galaxy and show me a preview."

The AI builds the network, checks it for errors, and returns a thumbnail. Iterate: "make it warmer," "add a feedback trail," "output it fullscreen." More ideas in the prompt cookbook.

Not connecting? The two most common fixes: make sure the bridge is on (curl http://127.0.0.1:9980/api/info returns JSON), and restart your AI client after adding the server. Full troubleshooting.

What you can do

509 tools across three layers, plus foundation primitives, CLI automation, library/packaging, AI session memory and Obsidian vault integrations — from one-line artist generators (create_feedback_network, create_audio_reactive, create_particle_system, create_generative_art, …) to building blocks (create_control_panel, animate_parameter, create_external_io for OSC/MIDI/DMX/NDI, …) down to atomic node CRUD and inspection. Many systems arrive already playable, with a control panel you can tweak, preset, or map to a controller. See the full, always-current tools reference and the recipe gallery.

Optional: Creative RAG

A local, opt-in creative repertoire of open-licensed artworks/artists/techniques the AI can search for inspiration. Off by default. Repertoire, not policy — no bridge, DMX or Python exec. Enable with TDMCP_RAG_ENABLED=1 plus a local Ollama install, then tdmcp creative-rag {sync|index|search}. Full guide: docs/CREATIVE_RAG.md.

Security

The bridge runs arbitrary Python inside your TD process and listens on port 9980 on all interfaces — treat it like an open door to that machine. Run it only on a trusted network, and for untrusted networks turn on bridge auth (TDMCP_BRIDGE_TOKEN) and/or disable the exec endpoints (TDMCP_BRIDGE_ALLOW_EXEC=0). Details: Security.

Links & community

Contributing & development

Build with npm install && npm run build; run npm test, npm run typecheck, npm run lint. Work on the docs with npm run docs:dev (the tools reference is generated by scripts/gen-tool-docs.ts). See CONTRIBUTING.md, CHANGELOG.md, and the roadmap.

License

MIT — see LICENSE.

來源:README.md,提交 b2a31e7

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.13.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分