UNPKG

@mickdarling/dollhousemcp

Version:

DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.

28 lines 766 B
/** * Input validation and sanitization functions */ /** * Validate and sanitize a filename */ export declare function validateFilename(filename: string): string; /** * Validate and sanitize a path */ export declare function validatePath(inputPath: string): string; /** * Validate and sanitize a username */ export declare function validateUsername(username: string): string; /** * Validate a category */ export declare function validateCategory(category: string): string; /** * Validate content size */ export declare function validateContentSize(content: string, maxSize?: number): void; /** * General input sanitization */ export declare function sanitizeInput(input: string, maxLength?: number): string; //# sourceMappingURL=InputValidator.d.ts.map