UNPKG

mcp-adr-analysis-server

Version:

MCP server for analyzing Architectural Decision Records and project architecture

40 lines 1.2 kB
/** * Actual File Operations Utilities * * Utilities that perform real file system operations instead of returning prompts */ export interface ProjectFileInfo { filename: string; content: string; path: string; relativePath: string; type: string; size: number; exists: boolean; } export interface ProjectStructure { rootPath: string; packageFiles: ProjectFileInfo[]; configFiles: ProjectFileInfo[]; environmentFiles: ProjectFileInfo[]; buildFiles: ProjectFileInfo[]; dockerFiles: ProjectFileInfo[]; kubernetesFiles: ProjectFileInfo[]; ciFiles: ProjectFileInfo[]; scriptFiles: ProjectFileInfo[]; totalFiles: number; directories: string[]; } /** * Actually scan and analyze project structure using file system operations */ export declare function scanProjectStructure(projectPath: string, options?: { readContent?: boolean; maxFileSize?: number; includeHidden?: boolean; }): Promise<ProjectStructure>; /** * Find and read environment files specifically */ export declare function findActualEnvironmentFiles(projectPath: string): Promise<ProjectFileInfo[]>; //# sourceMappingURL=actual-file-operations.d.ts.map