io.github.8beeeaaat/touchdesigner-mcp-server

平台与服务

by 8beeeaaat

用于 TouchDesigner 的 MCP server,可通过 AI agents 控制并操作项目流程。

把TouchDesigner接入MCP,让AI代理直接操控项目流程,减少手动搭建和调试,对实时视觉创作尤其省心。

什么是 io.github.8beeeaaat/touchdesigner-mcp-server

用于 TouchDesigner 的 MCP server,可通过 AI agents 控制并操作项目流程。

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

Please refer to the Installation Guide.

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.
exec_node_methodCalls a Python method on a node.
execute_python_scriptExecutes an arbitrary Python script in TouchDesigner.
get_module_helpGets Python help() documentation for TouchDesigner modules/classes.
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_node_errorsChecks for errors on a specified node and its children.
get_td_node_parametersGets the parameters of a specific node.
get_td_nodesGets nodes under a parent path, with optional filtering.
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 for errors on a specified node, and recursively for its children.

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 uses semantic versioning for flexible compatibility checks

MCP ServerAPI ServerMinimum compatible API versionBehaviorStatusNotes
1.3.x1.3.01.3.0✅ Works normallyCompatibleRecommended baseline configuration
1.3.x1.4.01.3.0⚠️ Warning shown, continuesWarningOlder MCP MINOR with newer API may lack new features
1.4.01.3.x1.3.0⚠️ Warning shown, continuesWarningNewer MCP MINOR may have additional features
1.3.21.3.11.3.2❌ Execution stopsErrorAPI below minimum compatible version
2.0.01.x.xN/A❌ Execution stopsErrorDifferent MAJOR = breaking changes

Compatibility Rules:

  • Compatible: Same MAJOR version AND API version ≥ 1.3.0 (minimum compatible version)

  • ⚠️ Warning: Different MINOR or PATCH versions within the same MAJOR version (shows warning but continues execution)

  • Error: Different MAJOR versions OR API server < 1.3.0 (execution stops immediately, update required)

  • 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), 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

常见问题

io.github.8beeeaaat/touchdesigner-mcp-server 是什么?

用于 TouchDesigner 的 MCP server,可通过 AI agents 控制并操作项目流程。

相关 Skills

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描109.6k

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描109.6k

接口设计评审

by alirezarezvani

Universal
热门

审查 REST API 设计是否符合行业规范,自动检查命名、HTTP 方法、状态码与文档覆盖,识别破坏性变更并给出设计评分,适合评审接口方案和版本迭代前把关。

做API和架构方案时,它能帮你提前揪出接口设计问题并对齐最佳实践,评审视角系统,团队协作更省心。

平台与服务
未扫描9.0k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
82.9k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.3k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
34.5k

评论