touchdesigner-mcp-server
Version:
MCP server for TouchDesigner
33 lines (32 loc) • 1.31 kB
TypeScript
/**
* Current MCP server version
*/
export declare const getMcpServerVersion: () => string;
export declare const MCP_SERVER_VERSION: string;
/**
* Minimum compatible TouchDesigner API Server version required by the MCP server
*
* Loaded from package.json's mcpCompatibility.minApiVersion field.
* Falls back to the current package version if undefined.
*
* API Server components below this version are rejected with an error.
*
* Update when:
* - Introducing breaking API changes
* - Making incompatible changes to OpenAPI schema
*/
export declare const getMinCompatibleApiVersion: () => string;
export declare const MIN_COMPATIBLE_API_VERSION: string;
/**
* TouchDesigner API Server version this MCP server release ships with
*
* Loaded from package.json's mcpCompatibility.expectedApiVersion field
* (kept in sync with the API version axis by scripts/syncApiServerVersions.ts).
* Falls back to the minimum compatible version if undefined.
*
* The compatibility check compares the connected component against THIS value,
* not against the npm package version — the two version axes are independent,
* so a package major bump alone must never invalidate deployed components.
*/
export declare const getExpectedApiVersion: () => string;
export declare const EXPECTED_API_VERSION: string;