hatch-slidev-builder-mcp
Version:
A comprehensive MCP server for creating Slidev presentations with component library, interactive elements, and team collaboration features
106 lines (105 loc) • 4.17 kB
TypeScript
/**
* Enhanced Slidev Builder Tool with 4-Layer Architecture
* Combines Content Intelligence, Layout Optimization, Asset Intelligence, and Style Orchestration
*/
import { z } from 'zod';
declare const generateIntelligentDeckSchema: z.ZodObject<{
content: z.ZodString;
title: z.ZodString;
audience: z.ZodEnum<["executive", "technical", "general"]>;
presentation_type: z.ZodEnum<["business", "technical", "creative", "educational"]>;
brand_guidelines: z.ZodOptional<z.ZodString>;
output_dir: z.ZodString;
time_constraint: z.ZodOptional<z.ZodNumber>;
accessibility_requirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
enable_ai_enhancement: z.ZodDefault<z.ZodBoolean>;
include_speaker_notes: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
audience: "executive" | "technical" | "general";
title: string;
content: string;
presentation_type: "technical" | "business" | "creative" | "educational";
output_dir: string;
enable_ai_enhancement: boolean;
include_speaker_notes: boolean;
brand_guidelines?: string | undefined;
time_constraint?: number | undefined;
accessibility_requirements?: string[] | undefined;
}, {
audience: "executive" | "technical" | "general";
title: string;
content: string;
presentation_type: "technical" | "business" | "creative" | "educational";
output_dir: string;
brand_guidelines?: string | undefined;
time_constraint?: number | undefined;
accessibility_requirements?: string[] | undefined;
enable_ai_enhancement?: boolean | undefined;
include_speaker_notes?: boolean | undefined;
}>;
export declare function generateIntelligentDeck(args: z.infer<typeof generateIntelligentDeckSchema>): Promise<{
success: boolean;
output_directory: string;
slides_generated: number;
estimated_duration: string;
quality_score: string;
accessibility_score: string;
brand_compliance: string;
optimization_suggestions: string[];
files_created: string[];
next_steps: string[];
error?: undefined;
troubleshooting?: undefined;
} | {
success: boolean;
error: string;
troubleshooting: string[];
output_directory?: undefined;
slides_generated?: undefined;
estimated_duration?: undefined;
quality_score?: undefined;
accessibility_score?: undefined;
brand_compliance?: undefined;
optimization_suggestions?: undefined;
files_created?: undefined;
next_steps?: undefined;
}>;
export declare const generateIntelligentDeckTool: {
name: string;
description: string;
inputSchema: z.ZodObject<{
content: z.ZodString;
title: z.ZodString;
audience: z.ZodEnum<["executive", "technical", "general"]>;
presentation_type: z.ZodEnum<["business", "technical", "creative", "educational"]>;
brand_guidelines: z.ZodOptional<z.ZodString>;
output_dir: z.ZodString;
time_constraint: z.ZodOptional<z.ZodNumber>;
accessibility_requirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
enable_ai_enhancement: z.ZodDefault<z.ZodBoolean>;
include_speaker_notes: z.ZodDefault<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
audience: "executive" | "technical" | "general";
title: string;
content: string;
presentation_type: "technical" | "business" | "creative" | "educational";
output_dir: string;
enable_ai_enhancement: boolean;
include_speaker_notes: boolean;
brand_guidelines?: string | undefined;
time_constraint?: number | undefined;
accessibility_requirements?: string[] | undefined;
}, {
audience: "executive" | "technical" | "general";
title: string;
content: string;
presentation_type: "technical" | "business" | "creative" | "educational";
output_dir: string;
brand_guidelines?: string | undefined;
time_constraint?: number | undefined;
accessibility_requirements?: string[] | undefined;
enable_ai_enhancement?: boolean | undefined;
include_speaker_notes?: boolean | undefined;
}>;
};
export {};