teamdynamix-mcp follows a layered design:
- MCP transport bootstrap (
src/index.ts) - Domain gateway handlers (
src/tools/teamdynamix.domain-gateways.tools.ts) - TeamDynamix client/service logic (
src/services/teamdynamix/*.ts) - Shared schemas and types (
src/schemas,src/types.ts)
Why this layering
- Keeps handlers thin and predictable
- Centralizes TeamDynamix HTTP/auth behavior in one client
- Keeps input contracts explicit and testable via Zod
- Reduces exposed MCP tool surface while retaining full capability via domain actions
Operational consequence
Most documentation drift risk originates at the tool registration layer; docs should be updated immediately when a registerTool contract changes.
With the gateway model, documentation drift risk also includes action catalogs inside each gateway domain. Keep action lists synchronized with teamdynamix://capabilities.
For implementation-level details, see: