@niondigital/moco-mcp
Version:
Model Context Protocol (MCP) server for MOCO: time tracking, project management, holidays, and presence monitoring
32 lines (31 loc) • 898 B
TypeScript
/**
* MCP tools for User Presences management
* Provides attendance tracking with daily aggregation and summation
*/
import { z } from 'zod';
declare const GetUserPresencesSchema: z.ZodObject<{
startDate: z.ZodString;
endDate: z.ZodString;
}, "strip", z.ZodTypeAny, {
startDate: string;
endDate: string;
}, {
startDate: string;
endDate: string;
}>;
/**
* Tool: get_user_presences
* Retrieves user presences within a date range with daily aggregation
*/
export declare const getUserPresencesTool: {
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 GetUserPresencesSchema>) => Promise<string>;
};
export {};