claude-expert-workflow-mcp
Version:
Production-ready MCP server for AI-powered product development consultation through specialized expert roles. Enterprise-grade with memory management, monitoring, and Claude Code integration.
127 lines • 4.68 kB
TypeScript
import { z } from 'zod';
export interface ConversationMessage {
role: 'user' | 'assistant';
content: string;
timestamp: Date;
}
export interface ConversationState {
id: string;
messages: ConversationMessage[];
currentTopic?: string;
completedTopics: string[];
createdAt: Date;
updatedAt: Date;
}
export interface ExpertRole {
title: string;
systemPrompt: string;
topics: string[];
outputFormat: string;
}
export declare const ConsultExpertSchema: z.ZodObject<{
projectInfo: z.ZodString;
conversationId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
projectInfo: string;
conversationId?: string | undefined;
}, {
projectInfo: string;
conversationId?: string | undefined;
}>;
export declare const GeneratePRDSchema: z.ZodObject<{
conversationId: z.ZodString;
projectName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
conversationId: string;
projectName?: string | undefined;
}, {
conversationId: string;
projectName?: string | undefined;
}>;
export declare const GenerateDesignSpecSchema: z.ZodObject<{
conversationId: z.ZodString;
projectName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
conversationId: string;
projectName?: string | undefined;
}, {
conversationId: string;
projectName?: string | undefined;
}>;
export type ConsultExpertInput = z.infer<typeof ConsultExpertSchema>;
export type GeneratePRDInput = z.infer<typeof GeneratePRDSchema>;
export type GenerateDesignSpecInput = z.infer<typeof GenerateDesignSpecSchema>;
export declare const GenerateTechArchitectureSchema: z.ZodObject<{
conversationId: z.ZodString;
projectName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
conversationId: string;
projectName?: string | undefined;
}, {
conversationId: string;
projectName?: string | undefined;
}>;
export type GenerateTechArchitectureInput = z.infer<typeof GenerateTechArchitectureSchema>;
export * from './workflow';
export declare const StartWorkflowSchema: z.ZodObject<{
projectDescription: z.ZodString;
workflowType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["linear", "parallel", "custom"]>>>;
expertList: z.ZodOptional<z.ZodArray<z.ZodEnum<["product_manager", "ux_designer", "software_architect"]>, "many">>;
}, "strip", z.ZodTypeAny, {
projectDescription: string;
workflowType: "linear" | "parallel" | "custom";
expertList?: ("product_manager" | "ux_designer" | "software_architect")[] | undefined;
}, {
projectDescription: string;
workflowType?: "linear" | "parallel" | "custom" | undefined;
expertList?: ("product_manager" | "ux_designer" | "software_architect")[] | undefined;
}>;
export declare const ProgressWorkflowSchema: z.ZodObject<{
workflowId: z.ZodString;
}, "strip", z.ZodTypeAny, {
workflowId: string;
}, {
workflowId: string;
}>;
export declare const GetWorkflowStatusSchema: z.ZodObject<{
workflowId: z.ZodString;
}, "strip", z.ZodTypeAny, {
workflowId: string;
}, {
workflowId: string;
}>;
export declare const GenerateIntegratedDocumentSchema: z.ZodObject<{
workflowId: z.ZodString;
includeCrossReferences: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
includeExecutiveSummary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
includeDetailedSections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
workflowId: string;
includeCrossReferences: boolean;
includeExecutiveSummary: boolean;
includeDetailedSections: boolean;
}, {
workflowId: string;
includeCrossReferences?: boolean | undefined;
includeExecutiveSummary?: boolean | undefined;
includeDetailedSections?: boolean | undefined;
}>;
export declare const AddWorkflowExpertOutputSchema: z.ZodObject<{
workflowId: z.ZodString;
expertType: z.ZodEnum<["product_manager", "ux_designer", "software_architect"]>;
conversationId: z.ZodString;
}, "strip", z.ZodTypeAny, {
conversationId: string;
workflowId: string;
expertType: "product_manager" | "ux_designer" | "software_architect";
}, {
conversationId: string;
workflowId: string;
expertType: "product_manager" | "ux_designer" | "software_architect";
}>;
export type StartWorkflowInput = z.infer<typeof StartWorkflowSchema>;
export type ProgressWorkflowInput = z.infer<typeof ProgressWorkflowSchema>;
export type GetWorkflowStatusInput = z.infer<typeof GetWorkflowStatusSchema>;
export type GenerateIntegratedDocumentInput = z.infer<typeof GenerateIntegratedDocumentSchema>;
export type AddWorkflowExpertOutputInput = z.infer<typeof AddWorkflowExpertOutputSchema>;
//# sourceMappingURL=index.d.ts.map