UNPKG

ludus-mcp

Version:

MCP server for managing Ludus cybersecurity training environments through natural language commands

55 lines 1.81 kB
import { z } from 'zod'; import { Logger } from '../utils/logger.js'; import { LudusCliWrapper } from '../ludusMCP/cliWrapper.js'; declare const LudusEnvironmentGuidesSchema: z.ZodObject<{ action: z.ZodEnum<["search", "read", "list"]>; search_query: z.ZodOptional<z.ZodString>; guide_name: z.ZodOptional<z.ZodString>; max_results: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { action: "search" | "list" | "read"; max_results: number; search_query?: string | undefined; guide_name?: string | undefined; }, { action: "search" | "list" | "read"; search_query?: string | undefined; max_results?: number | undefined; guide_name?: string | undefined; }>; export declare function createLudusEnvironmentGuidesSearchTool(logger: Logger, ludusCliWrapper: LudusCliWrapper): { name: string; description: string; inputSchema: { type: string; properties: { action: { type: string; enum: string[]; description: string; }; search_query: { type: string; description: string; }; guide_name: { type: string; description: string; }; max_results: { type: string; default: number; description: string; }; }; required: string[]; }; }; export declare function handleLudusEnvironmentGuidesSearch(args: z.infer<typeof LudusEnvironmentGuidesSchema>, logger: Logger, ludusCliWrapper: LudusCliWrapper): Promise<{ content: Array<{ type: string; text: string; }>; }>; export {}; //# sourceMappingURL=ludusEnvironmentGuidesSearch.d.ts.map