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
31 lines • 1.18 kB
TypeScript
export declare const DEFAULT_ALLOWED_DIRECTORIES: string[];
export declare const DEFAULT_EXCLUDE_PATTERNS: string[];
export declare const CLAUDE_MAX_RESPONSE_SIZE: number;
export declare const CLAUDE_MAX_CHUNK_SIZE: number;
export declare const CLAUDE_MAX_LINES = 2000;
export declare const CLAUDE_MAX_DIR_ITEMS = 1000;
export declare function getAllowedDirectories(): string[];
export declare function addAllowedDirectories(paths: string[]): {
added: string[];
skipped: {
path: string;
reason: string;
}[];
current: string[];
};
export declare function isPathAllowed(targetPath: string): boolean;
export declare function safePath(inputPath: string): string;
export declare function formatSize(bytes: number): string;
export declare function shouldExcludePath(targetPath: string, excludePatterns?: string[]): boolean;
export declare function truncateContent(content: string, maxSize?: number): {
content: string;
truncated: boolean;
original_size?: undefined;
truncated_size?: undefined;
} | {
content: string;
truncated: boolean;
original_size: number;
truncated_size: number;
};
//# sourceMappingURL=utils.d.ts.map