tdmcp-bridge-endpoint

Promote TD bridge operations from /api/exec to dedicated REST endpoints.

30|6|Updated May 25, 2026
One-click install
npx skills add https://github.com/Pantani/tdmcp --skill tdmcp-bridge-endpoint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdmcp-bridge-endpoint
Source: https://github.com/Pantani/tdmcp/tree/main/.agents/skills/tdmcp-bridge-endpoint
Command: npx skills add https://github.com/Pantani/tdmcp --skill tdmcp-bridge-endpoint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides an end-to-end approach for turning a TouchDesigner bridge operation that runs through /api/exec into a stable REST endpoint, enabling safer deployments and better observability when exec is disabled.

Core Features & Use Cases

  • Create a REST route that mirrors existing /api/exec logic for bridge operations such as connect, logs, and node_detail reads.
  • Add a typed client method, a Zod envelope, and route validators to enforce a single source of truth and predictable errors.
  • Rewire the bridge tools to consume the new REST endpoint while preserving current behavior, including an exec fallback for backward compatibility.
  • Include offline tests (py_compile, bridge unittest, and MSW client tests) to validate the integration without TouchDesigner.

Quick Start

Promote the bridge endpoint from /api/exec to REST and wire the client, validator, and tests to use the new route.

Frequently Asked Questions about tdmcp-bridge-endpoint

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I promote a TouchDesigner bridge operation from /api/exec to a REST endpoint?

To promote a TouchDesigner bridge operation from /api/exec to a REST endpoint, you create a dedicated Python route that mirrors the existing exec logic, add a Zod validator, and rewire the bridge tools to consume the new path.

What is the best way to maintain backward compatibility when moving TouchDesigner bridge routes off /api/exec?

Maintaining backward compatibility when moving TouchDesigner bridge routes off /api/exec requires implementing an exec fallback in the bridge tools, ensuring current behavior is preserved if the new REST endpoint is unavailable.

How do I test a REST API bridge endpoint in TouchDesigner without connecting to a live instance?

To test a REST API bridge endpoint without a live TouchDesigner instance, you run offline tests including py_compile for Python routes, bridge unittests, and MSW client tests to validate the integration locally.

Do I need a TypeScript client method and Zod validator for each new TouchDesigner REST route?

Yes, each TouchDesigner REST route requires a TypeScript client method and a Zod envelope to enforce a single source of truth, ensure predictable errors, and validate the request and response payloads.

Can I use this approach to add REST routes for TouchDesigner operations like connect, logs, and node_detail?

Yes, this approach applies to adding or updating REST routes for TouchDesigner bridge operations such as connect, logs, and node_detail, ensuring they function safely even when the exec path is disabled.

Why does promoting a TouchDesigner bridge endpoint to REST improve deployment safety?

Promoting a TouchDesigner bridge endpoint to REST improves deployment safety and observability by replacing dynamic /api/exec execution with stable, validated routes that provide predictable errors and better request tracking.