MCP exports - MCP server implementation Split from index.ts for file size compliance (Issue #285) Updated Issue #538: Added missing tool registration exports
Creates a validation function bound to a specific schema.
Useful for reusing the same schema across multiple tools.
The expected type after validation
The Zod schema to bind
A validation function for the schema
const validateTask = createValidator(TaskSchema);// Later in tool handlers:const result = validateTask(args); Copy
const validateTask = createValidator(TaskSchema);// Later in tool handlers:const result = validateTask(args);
MCP exports - MCP server implementation Split from index.ts for file size compliance (Issue #285) Updated Issue #538: Added missing tool registration exports