Touchdesigner Mcp Server

io.github.8beeeaaat由 GitHub 账号 8beeeaaat 发布v1.2.0更新于 Oct 24, 2026

MCP server for TouchDesigner - Control and operate TouchDesigner projects through AI agents

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

本地 MCP 服务器,把 AI 助手连接到 TouchDesigner,使其能创建、查看和修改节点并在项目内运行 Python。

可以做什么
在 TouchDesigner 项目中创建、删除节点,更新节点参数,并通过提示词连接节点。查询项目结构、节点参数、节点错误与警告以及服务器环境信息。执行任意 Python 脚本,并调用节点上的 Python 方法。查询 TouchDesigner 的 Python 类、模块和帮助文档。将 TOP 节点当前输出截取为图像。
适用场景
适合在使用 TouchDesigner 时,让助手代为搭建或调整节点网络、检查参数与错误,或用脚本修改项目,而不必手动操作。
运行要求
通过 npx(Node.js)或 MCP 安装包在本地运行,仅限桌面端。需要运行中的 TouchDesigner,并已导入 mcp_webserver_base 组件(WebServer DAT),可在配置的端口(默认 9981)访问。该组件的 API 版本须在支持范围内。
安装前请注意
助手可以创建、修改和删除节点,并在 TouchDesigner 内执行任意 Python,对已打开项目的改动可能具有破坏性,建议先备份项目。它连接本地 WebServer DAT,除非有意更改,该端点应保持在 localhost。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Touchdesigner Mcp Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

TouchDesigner MCP

[Version] [Downloads]

This is an implementation of an MCP (Model Context Protocol) server for TouchDesigner. Its goal is to enable AI agents to control and operate TouchDesigner projects.

English / 日本語

Overview

[demo clip]

TouchDesigner MCP acts as a bridge between AI models and the TouchDesigner WebServer DAT, enabling AI agents to:

  • Create, modify, and delete nodes
  • Query node properties and project structure
  • Programmatically control TouchDesigner via Python scripts

Installation

Tell the AI agent you already use:

Set up https://github.com/8beeeaaat/touchdesigner-mcp

That's it. The full procedure lives in the Installation Guide — it opens with a table matching each AI app to its route, and everyone starts from TouchDesigner Setup. Or follow it yourself, step by step.

If you are updating, please refer to the procedure in the Latest Release.

MCP Server Features

This server enables AI agents to perform operations in TouchDesigner using the Model Context Protocol (MCP).

Tools

Tools allow AI agents to perform actions in TouchDesigner.

Tool NameDescription
create_td_nodeCreates a new node.
delete_td_nodeDeletes an existing node.
describe_td_toolsGenerates a manifest of the available TouchDesigner tools.
exec_node_methodCalls a Python method on a node.
execute_python_scriptExecutes an arbitrary Python script in TouchDesigner.
get_td_class_detailsGets details of a TouchDesigner Python class or module.
get_td_classesGets a list of TouchDesigner Python classes.
get_td_infoGets information about the TouchDesigner server environment.
get_td_module_helpGets Python help() documentation for TouchDesigner modules/classes.
get_td_node_errorsChecks errors and warnings on a node and its descendants. Missing files, dangling references and shader failures are warnings, so no errors does not mean healthy.
get_td_node_parametersGets the parameters of a specific node.
get_td_nodesGets nodes under a parent path, with optional filtering.
get_top_imageCaptures the current output of a TOP node as an image.
update_td_node_parametersUpdates the parameters of a specific node.

Prompts

Prompts provide instructions for AI agents to perform specific actions in TouchDesigner.

Prompt NameDescription
Search nodeFuzzy searches for nodes and retrieves information based on name, family, or type.
Node connectionProvides instructions to connect nodes within TouchDesigner.
Check node errorsChecks errors and warnings on a specified node, and recursively for its descendants.

Resources

Not implemented.

Developer Guide

Looking for local setup, client configuration, project structure, or release workflow notes? See the Developer Guide for all developer-facing documentation.

Troubleshooting

Troubleshooting version compatibility

The MCP server and the TouchDesigner component are versioned on two independent axes: the npm package version and the API version (the contract between the MCP server and the .tox component). Each release declares the API version it ships with (expectedApiVersion) and the minimum it supports (minApiVersion, currently 1.3.0). The connected component's API version is compared against those two values — the npm package version itself never gates compatibility, so updating the MCP server alone never invalidates a supported component.

API Server (component)ConditionBehaviorStatus
= expected API versionMatches the shipped .tox✅ Works silentlyCompatible
≥ minimum, < expectedOlder component⚠️ "Update Recommended" notice appended to responses, continuesWarning
> expected, same MAJORNewer component⚠️ Warning to update the MCP server, continuesWarning
MAJOR above expectedNewer API generation❌ Execution stops — update the MCP serverError
< minimum (or missing)Too old❌ Execution stops — update the componentError
  • To resolve compatibility errors:

    1. Download the latest touchdesigner-mcp-td.zip from the releases page.
    2. Delete the existing touchdesigner-mcp-td folder and replace it with the newly extracted contents.
    3. Remove the old mcp_webserver_base component from your TouchDesigner project and import the .tox from the new folder.
    4. Restart TouchDesigner and the AI agent running the MCP server (e.g., Claude Desktop).
  • For developers: When developing locally, run npm run version after editing package.json (or simply use npm version ...). This keeps the Python API (pyproject.toml + td/modules/utils/version.py), mcpCompatibility.expectedApiVersion, MCP bundle manifest, and registry metadata in sync so that the runtime compatibility check succeeds.

For a deeper look at how the MCP server enforces these rules, see Version Compatibility Verification.

Troubleshooting connection errors

  • TouchDesignerClient caches failed connection checks for 60 seconds. Subsequent tool calls reuse the cached error to avoid spamming TouchDesigner and automatically retry after the TTL expires.
  • When the MCP server cannot reach TouchDesigner, you now get guided error messages with concrete fixes:
    • ECONNREFUSED / "connect refused": start TouchDesigner, ensure the WebServer DAT from mcp_webserver_base.tox is running, and confirm the configured port (default 9981).
    • ETIMEDOUT / "timeout": TouchDesigner is responding slowly or the network is blocked. Restart TouchDesigner/WebServer DAT or check your network connection.
    • ENOTFOUND / getaddrinfo: the host name is invalid. Use 127.0.0.1 unless you explicitly changed it.
  • The structured error text is also logged through ILogger, so you can check the MCP logs to understand why a request stopped before hitting TouchDesigner.
  • Once the underlying issue is fixed, simply run the tool again—the client clears the cached error and re-verifies the connection automatically.

Contributing

We welcome your contributions!

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/amazing-feature).
  3. Make your changes.
  4. Add tests and ensure everything works (npm test).
  5. Commit your changes (git commit -m 'Add some amazing feature').
  6. Push to your branch (git push origin feature/amazing-feature).
  7. Open a pull request.

Please always include appropriate tests when making implementation changes.

License

MIT

来源:README.md,提交 1ecf08a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.2.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分