@pimzino/agentic-tools-mcp
Version:
A comprehensive MCP server for task management and agent memories with JSON file storage
46 lines (45 loc) • 1.54 kB
TypeScript
import { z } from 'zod';
import { Storage } from '../../storage/storage.js';
/**
* Parse a Product Requirements Document (PRD) and generate structured tasks
* This tool analyzes PRD content and creates a hierarchical task breakdown with intelligent analysis
*/
export declare function createParsePRDTool(storage: Storage, getWorkingDirectoryDescription: (config: any) => string, config: any): {
name: string;
description: string;
inputSchema: z.ZodObject<{
workingDirectory: z.ZodString;
projectId: z.ZodString;
prdContent: z.ZodString;
generateSubtasks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
defaultPriority: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
estimateComplexity: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
projectId: string;
workingDirectory: string;
prdContent: string;
generateSubtasks: boolean;
defaultPriority: number;
estimateComplexity: boolean;
}, {
projectId: string;
workingDirectory: string;
prdContent: string;
generateSubtasks?: boolean | undefined;
defaultPriority?: number | undefined;
estimateComplexity?: boolean | undefined;
}>;
handler: (args: any) => Promise<{
content: {
type: "text";
text: string;
}[];
isError: boolean;
} | {
content: {
type: "text";
text: string;
}[];
isError?: undefined;
}>;
};