@niondigital/moco-mcp
Version:
Model Context Protocol (MCP) server for MOCO: time tracking, project management, holidays, and presence monitoring
35 lines (34 loc) • 1 kB
TypeScript
/**
* MCP tools for Activities management
* Provides time tracking data with automatic aggregation and summation
*/
import { z } from 'zod';
declare const GetActivitiesSchema: z.ZodObject<{
startDate: z.ZodString;
endDate: z.ZodString;
projectId: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
startDate: string;
endDate: string;
projectId?: number | undefined;
}, {
startDate: string;
endDate: string;
projectId?: number | undefined;
}>;
/**
* Tool: get_activities
* Retrieves activities within a date range with comprehensive aggregation
*/
export declare const getActivitiesTool: {
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 GetActivitiesSchema>) => Promise<string>;
};
export {};