UNPKG

fast-filesystem-mcp

Version:

Fast Filesystem MCP Server - Advanced file operations with Auto-Chunking, Sequential Reading, complex file operations (copy, move, delete, batch, compress), optimized for Claude Desktop

42 lines 1.51 kB
export interface CompressionOptions { enable_compression?: boolean; summary_mode?: boolean; reference_mode?: boolean; minimize_paths?: boolean; minimal_metadata?: boolean; max_content_preview?: number; } export interface ContentReference { content_id: string; content_type: 'text' | 'binary' | 'directory' | 'search_results'; size: number; preview?: string; fetch_url?: string; } export declare class ContentMinimizer { private contentStore; private readonly PREVIEW_SIZE; compressText(text: string): Promise<{ compressed: string; original_size: number; compressed_size: number; }>; decompressText(compressedBase64: string): Promise<string>; summarizeText(text: string, maxLength?: number): { summary: string; is_truncated: boolean; original_length: number; }; minimizePaths(paths: string[], basePath?: string): { minimized_paths: string[]; common_prefix: string; }; minimizeMetadata(item: any): any; createContentReference(content: any, type: ContentReference['content_type'], options?: CompressionOptions): ContentReference; getStoredContent(contentId: string): any | null; cleanup(): void; minimizeResponse(data: any, options?: CompressionOptions): Promise<any>; } export declare const globalContentMinimizer: ContentMinimizer; export declare function fetchContent(contentId: string): Promise<any>; //# sourceMappingURL=content-minimizer.d.ts.map