touchdesigner-mcp

touchdesigner-mcp is a skill for Claude Code, Codex from StarryCod/cogitum. It costs 38 tokens per session (4,156 once invoked), scanned A, a copy of touchdesigner-mcp, MIT.

A connection for controlling a running TouchDesigner application, a tool for building real-time interactive visuals. It can create and connect visual-processing components, change settings, run Python, and check errors.

In plain words
What is it for?
Building real-time visual systems, creating and wiring TouchDesigner operators, changing their parameters, executing project code, and inspecting errors.
Why use it?
It lets a coding agent work with a live TouchDesigner project instead of requiring every change to be made manually in the application.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/starrycod/cogitum/touchdesigner-mcp
Any agent
npx skills add StarryCod/cogitum --skill touchdesigner-mcp
Clone the repo
git clone --depth 1 https://github.com/StarryCod/cogitum

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for touchdesigner-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/starrycod/cogitum/touchdesigner-mcp.svg)](https://agentmods.dev/skills/starrycod/cogitum/touchdesigner-mcp)
Your own site
<a href="https://agentmods.dev/skills/starrycod/cogitum/touchdesigner-mcp"><img src="https://agentmods.dev/badge/skills/starrycod/cogitum/touchdesigner-mcp.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,156 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00038 $0.04156
Opus 5 $0.00019 $0.02078
Sonnet 5 $0.00008 $0.00831
Haiku 4.5 $0.00004 $0.00416

Measured 5d ago against content hash 0205a3c92931, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

touchdesigner-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/setup.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

92% identical to touchdesigner-mcp — 14 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cogitum/data/skills/creative/touchdesigner-mcp/SKILL.md · 357 lines

How it starts

The opening of the file, as written. The whole thing — 357 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TouchDesigner Integration (twozero MCP)

CRITICAL RULES

  1. NEVER guess parameter names. Call td_get_par_info for the op type FIRST. Your training data is wrong for TD 2025.32.
  2. If tdAttributeError fires, STOP. Call td_get_operator_info on the failing node before continuing.
  3. NEVER hardcode absolute paths in script callbacks. Use me.parent() / scriptOp.parent().
  4. Prefer native MCP tools over td_execute_python. Use td_create_operator, td_set_operator_pars, td_get_errors etc. Only fall back to td_execute_python for complex multi-step logic.
  5. Call td_get_hints before building. It returns patterns specific to the op type you're working with.

Architecture

Cogitum -> MCP (Streamable HTTP) -> twozero.tox (port 40404) -> TD Python

36 native tools. Free plugin (no payment/license — confirmed April 2026). Context-aware (knows selected OP, current network). Hub health check: GET http://localhost:40404/mcp returns JSON with instance PID, project name, TD version.

Setup (Automated)

Run the setup script to handle everything:

bash "${HERMES_HOME:-$HOME/.cogitum}/skills/creative/touchdesigner-mcp/scripts/setup.sh"

The script will:

  1. Check if TD is running
  2. Download twozero.tox if not already cached
  3. Add twozero_td MCP server to Cogitum config (if missing)
  4. Test the MCP connection on port 40404
  5. Report what manual steps remain (drag .tox into TD, enable MCP toggle)

Manual steps (one-time, cannot be automated)

  1. Drag ~/Downloads/twozero.tox into the TD network editor → click Install
  2. Enable MCP: click twozero icon → Settings → mcp → "auto start MCP" → Yes
  3. Restart Cogitum session to pick up the new MCP server

After setup, verify:

nc -z 127.0.0.1 40404 && echo "twozero MCP: READY"

Environment Notes

  • Non-Commercial TD caps resolution at 1280×1280. Use outputresolution = 'custom' and set width/height explicitly.
  • Codecs: prores (preferred on macOS) or mjpa as fallback. H.264/H.265/AV1 require a Commercial license.
  • Always call td_get_par_info before setting params — names vary by TD version (see CRITICAL RULES #1).

Read the full file on GitHub · 357 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 357 lines · 38 tokens per session scan A 0205a3c92931

Subscribe to this mod's changes

touchdesigner-mcp is a skill published in the GitHub repository StarryCod/cogitum (11 stars, last pushed 3mo ago), licensed MIT. It adds 38 tokens to every session and 4,156 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to touchdesigner-mcp, differing in 14 lines, and is treated as a copy.

Related

Other skills, from other repositories

image-resize

Use this skill when the task involves resizing, scaling, or compressing image files. Suitable for tasks like "resize these photos to 800px wide", "compress images to reduce file size", or "batch scale all JPEGs in a folder". Only relevant for image processing tasks — do NOT use for data files, text, or non-image tasks.

agentscope-ai/agentscope-java · 75 tokens

p5.js

Production pipeline for interactive and generative visual art using p5.js. Creates browser-based sketches, generative art, data visualizations, interactive experiences, 3D scenes, audio-reactive visuals, and motion graphics — exported as HTML, PNG, GIF, MP4, or SVG. Covers: 2D/3D rendering, noise and particle systems…

agentic-in/elephant-agent · 152 tokens

ASCII Video

Production pipeline for ASCII art video — any format. Converts video/audio/images/generative input into colored ASCII character video output (MP4, GIF, image sequence). Covers: video-to-ASCII conversion, audio-reactive music visualizers, generative ASCII art animations, hybrid video+audio reactive, text/lyrics…

agentic-in/elephant-agent · 118 tokens

AudioCraft

PyTorch library for audio generation including text-to-music (MusicGen) and text-to-sound (AudioGen). Use when you need to generate music from text descriptions, create sound effects, or perform melody-conditioned music generation.

agentic-in/elephant-agent · 49 tokens

Manim Video

Production pipeline for mathematical and technical animations using Manim Community Edition. Creates 3Blue1Brown-style explainer videos, algorithm visualizations, equation derivations, architecture diagrams, and data stories. Use when users request: animated explanations, math animations, concept visualizations…

agentic-in/elephant-agent · 87 tokens

Stable Diffusion

State-of-the-art text-to-image generation with Stable Diffusion models via HuggingFace Diffusers. Use when generating images from text prompts, performing image-to-image translation, inpainting, or building custom diffusion pipelines.

agentic-in/elephant-agent · 47 tokens