@niondigital/moco-mcp
Version:
Model Context Protocol (MCP) server for MOCO: time tracking, project management, holidays, and presence monitoring
29 lines (28 loc) • 824 B
TypeScript
/**
* MCP tools for User Holidays management
* Provides holiday tracking with comprehensive calculations and summaries
*/
import { z } from 'zod';
declare const GetUserHolidaysSchema: z.ZodObject<{
year: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
year: number;
}, {
year: number;
}>;
/**
* Tool: get_user_holidays
* Retrieves user holidays for a specific year with comprehensive calculations
*/
export declare const getUserHolidaysTool: {
name: string;
description: string;
inputSchema: import("zod-to-json-schema").JsonSchema7Type & {
$schema?: string | undefined;
definitions?: {
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
} | undefined;
};
handler: (params: z.infer<typeof GetUserHolidaysSchema>) => Promise<string>;
};
export {};