Build new MCP tool
tdmcp-tool-builderskillsetup L3★6
Pantani/tdmcp ↗What it does
Author one MCP tool for TouchDesigner
Best for
Building MCP handlers where Python runs inside TouchDesigner and returns JSON reports
Inputs
- · ToolContext object
- · Zod-validated args
Outputs
- · CallToolResult (text + structured data)
Requires
- · executePythonScript
- · Zod
Preconditions
TouchDesigner bridge running; canonical template at src/tools/layer2/manageComponent.ts
Failure modes
- · Python execution error
- · Zod validation failure
- · TdError thrown
Trust signals
- · Canonical template provided
- · Fail-forward error pattern (guardTd)
- · Unit test structure documented