UNPKG

@niondigital/moco-mcp

Version:

Model Context Protocol (MCP) server for MOCO: time tracking, project management, holidays, and presence monitoring

51 lines (50 loc) 1.48 kB
/** * MCP tools for Projects management * Provides project listing, searching, and task retrieval functionality */ import { z } from 'zod'; declare const GetProjectsSchema: z.ZodObject<{ query: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { query?: string | undefined; }, { query?: string | undefined; }>; declare const GetProjectTasksSchema: z.ZodObject<{ projectId: z.ZodNumber; }, "strip", z.ZodTypeAny, { projectId: number; }, { projectId: number; }>; /** * Tool: get_projects * Retrieves all projects or searches for projects by name/description */ export declare const getProjectsTool: { 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 GetProjectsSchema>) => Promise<string>; }; /** * Tool: get_project_tasks * Retrieves all tasks for a specific project */ export declare const getProjectTasksTool: { 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 GetProjectTasksSchema>) => Promise<string>; }; export {};