@spaik/mcp-server-roi
Version:
MCP server for AI ROI prediction and tracking with Monte Carlo simulations
168 lines • 7.59 kB
TypeScript
import { z } from 'zod';
import { IndustryUseCase } from '../services/industry-calculators.js';
export declare const NaturalLanguageInputSchema: z.ZodObject<{
query: z.ZodString;
context: z.ZodOptional<z.ZodObject<{
industry: z.ZodOptional<z.ZodString>;
companySize: z.ZodOptional<z.ZodString>;
currentChallenges: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
industry?: string | undefined;
companySize?: string | undefined;
currentChallenges?: string[] | undefined;
}, {
industry?: string | undefined;
companySize?: string | undefined;
currentChallenges?: string[] | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
query: string;
context?: {
industry?: string | undefined;
companySize?: string | undefined;
currentChallenges?: string[] | undefined;
} | undefined;
}, {
query: string;
context?: {
industry?: string | undefined;
companySize?: string | undefined;
currentChallenges?: string[] | undefined;
} | undefined;
}>;
export declare const QuickAssessmentSchema: z.ZodObject<{
client_name: z.ZodString;
project_type: z.ZodEnum<["customer_service_automation", "document_processing", "data_analytics", "process_automation", "predictive_maintenance", "fraud_detection", "inventory_optimization", "workforce_optimization", "quality_control", "compliance_automation", "custom"]>;
quick_use_cases: z.ZodDefault<z.ZodArray<z.ZodObject<{
name: z.ZodString;
category: z.ZodEnum<["automation", "analytics", "customer_service", "operations", "sales_marketing", "hr_recruiting", "finance_accounting", "custom"]>;
monthly_volume: z.ZodNumber;
current_cost_per_unit: z.ZodNumber;
current_time_minutes: z.ZodNumber;
automation_potential: z.ZodEnum<["low", "medium", "high"]>;
use_industry_benchmarks: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
name: string;
category: "custom" | "automation" | "analytics" | "customer_service" | "operations" | "sales_marketing" | "hr_recruiting" | "finance_accounting";
monthly_volume: number;
current_cost_per_unit: number;
current_time_minutes: number;
automation_potential: "low" | "medium" | "high";
use_industry_benchmarks: boolean;
}, {
name: string;
category: "custom" | "automation" | "analytics" | "customer_service" | "operations" | "sales_marketing" | "hr_recruiting" | "finance_accounting";
monthly_volume: number;
current_cost_per_unit: number;
current_time_minutes: number;
automation_potential: "low" | "medium" | "high";
use_industry_benchmarks?: boolean | undefined;
}>, "many">>;
industry: z.ZodOptional<z.ZodEnum<["financial_services", "healthcare", "retail", "manufacturing", "technology", "education", "government", "other"]>>;
company_size: z.ZodOptional<z.ZodEnum<["small", "medium", "large", "enterprise"]>>;
hourly_rate: z.ZodDefault<z.ZodNumber>;
use_industry_benchmarks: z.ZodDefault<z.ZodBoolean>;
natural_language_input: z.ZodOptional<z.ZodString>;
enable_scenario_generation: z.ZodDefault<z.ZodBoolean>;
enable_voice_mode: z.ZodDefault<z.ZodBoolean>;
benchmark_config: z.ZodOptional<z.ZodObject<{
sonar_api_key: z.ZodOptional<z.ZodString>;
enable_real_time: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
enable_real_time: boolean;
sonar_api_key?: string | undefined;
}, {
sonar_api_key?: string | undefined;
enable_real_time?: boolean | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
use_industry_benchmarks: boolean;
client_name: string;
project_type: "custom" | "customer_service_automation" | "fraud_detection" | "document_processing" | "predictive_maintenance" | "data_analytics" | "inventory_optimization" | "process_automation" | "workforce_optimization" | "quality_control" | "compliance_automation";
quick_use_cases: {
name: string;
category: "custom" | "automation" | "analytics" | "customer_service" | "operations" | "sales_marketing" | "hr_recruiting" | "finance_accounting";
monthly_volume: number;
current_cost_per_unit: number;
current_time_minutes: number;
automation_potential: "low" | "medium" | "high";
use_industry_benchmarks: boolean;
}[];
hourly_rate: number;
enable_scenario_generation: boolean;
enable_voice_mode: boolean;
industry?: "financial_services" | "healthcare" | "retail" | "manufacturing" | "technology" | "education" | "government" | "other" | undefined;
company_size?: "medium" | "small" | "large" | "enterprise" | undefined;
benchmark_config?: {
enable_real_time: boolean;
sonar_api_key?: string | undefined;
} | undefined;
natural_language_input?: string | undefined;
}, {
client_name: string;
project_type: "custom" | "customer_service_automation" | "fraud_detection" | "document_processing" | "predictive_maintenance" | "data_analytics" | "inventory_optimization" | "process_automation" | "workforce_optimization" | "quality_control" | "compliance_automation";
industry?: "financial_services" | "healthcare" | "retail" | "manufacturing" | "technology" | "education" | "government" | "other" | undefined;
use_industry_benchmarks?: boolean | undefined;
company_size?: "medium" | "small" | "large" | "enterprise" | undefined;
benchmark_config?: {
sonar_api_key?: string | undefined;
enable_real_time?: boolean | undefined;
} | undefined;
quick_use_cases?: {
name: string;
category: "custom" | "automation" | "analytics" | "customer_service" | "operations" | "sales_marketing" | "hr_recruiting" | "finance_accounting";
monthly_volume: number;
current_cost_per_unit: number;
current_time_minutes: number;
automation_potential: "low" | "medium" | "high";
use_industry_benchmarks?: boolean | undefined;
}[] | undefined;
hourly_rate?: number | undefined;
natural_language_input?: string | undefined;
enable_scenario_generation?: boolean | undefined;
enable_voice_mode?: boolean | undefined;
}>;
export type QuickAssessmentInput = z.infer<typeof QuickAssessmentSchema>;
export interface AssessmentResult {
summary: {
totalMonthlyBenefit: number;
estimatedROI: number;
paybackPeriodMonths: number;
confidenceScore: number;
implementationComplexity: 'low' | 'medium' | 'high';
};
scenarios: {
conservative: ScenarioResult;
expected: ScenarioResult;
optimistic: ScenarioResult;
};
recommendations: {
immediate: string[];
shortTerm: string[];
longTerm: string[];
};
industryInsights: {
benchmarkComparison: {
metric: string;
yourValue: number;
industryAverage: number;
percentile: number;
}[];
topOpportunities: string[];
competitiveAdvantage: string;
};
generatedScenarios?: IndustryUseCase[];
voiceOutput?: string;
}
interface ScenarioResult {
monthlyBenefit: number;
annualBenefit: number;
roi: number;
assumptions: string[];
}
/**
* Quick assessment with industry-specific calculations
*/
export declare function quickAssessment(input: QuickAssessmentInput): Promise<AssessmentResult>;
export {};
//# sourceMappingURL=quick-assessment.d.ts.map