UNPKG

@wallacewen/tapd-mcp-server

Version:

Model Context Protocol server for TAPD (Tencent Agile Product Development) - Provides professional weekly report generation and timesheet analysis

73 lines 2.12 kB
#!/usr/bin/env node import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; /** * Helper function to convert null to undefined * @param value Any value that might be null * @returns The original value or undefined if null */ declare function nullToUndefined<T>(value: T | null | undefined): T | undefined; export declare const mcpServer: McpServer; /** * Handler for querying TAPD time sheets for weekly report generation * @param params Parameters for querying time sheets * @returns Promise with the time sheet query result */ export declare function handleTAPDQueryTimeSheets(params: { name: string; start_date: string; end_date: string; }): Promise<{ content: { type: "text"; text: string; }[]; }>; /** * Handler for selecting TAPD time sheet data for mantis operation analysis * @param params Parameters for selecting time sheet data * @returns Promise with the mantis analysis result */ export declare function handleTAPDSelectTimeSheet(params: { start_date: string; end_date: string; }): Promise<{ content: { type: "text"; text: string; }[]; }>; /** * Handler for generating weekly report using workflow API * @param params Parameters for generating weekly report with specific start and end dates * @returns Promise with the weekly report generation result */ export declare function handleWorkflowWeeklyReport(params: { project_name: string; week_start_date: string; week_end_date: string; additional_context?: string; }): Promise<{ content: { type: "text"; text: string; }[]; }>; /** * Handler for running workflow to query TAPD bug list and details * @param params Parameters for workflow run * @returns Promise with the workflow run result */ export declare function handleBugAnalysisWorkflow(params: { user_name?: string; project_name?: string; msg?: string; page_no?: string; page_size?: string; }): Promise<{ content: { type: "text"; text: string; }[]; }>; export { nullToUndefined }; //# sourceMappingURL=index.d.ts.map