@dollhousemcp/mcp-server
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.
9 lines • 444 B
TypeScript
export declare class PathValidator {
private static ALLOWED_DIRECTORIES;
private static ALLOWED_EXTENSIONS;
static initialize(personasDir: string, allowedExtensions?: string[]): void;
static validatePersonaPath(userPath: string): Promise<string>;
static safeReadFile(filePath: string): Promise<string>;
static safeWriteFile(filePath: string, content: string): Promise<void>;
}
//# sourceMappingURL=pathValidator.d.ts.map