The FS Context server acts as a robust, read-only gateway to your filesystem, enabling secure exploration, efficient searching, and deep analysis. Built on the Model Context Protocol (MCP), it offers comprehensive tools for listing directories, finding files with glob patterns, searching content with regular expressions, and reading file contents. All operations are performed with strict security measures, including path validation, symlink escape protection, and read-only access, ensuring system integrity while providing programmatic access to file system data.
Key Features
01Content searching using regex with context lines
02Secure file reading with head previews and batch operations
03Comprehensive security validation: path validation, symlink protection, read-only operations
04Directory listing and path search with glob patterns
050 GitHub stars
06Parallel batch reads and metadata lookups for multiple files
Use Cases
01Efficiently find specific files, directories, or code patterns across a filesystem
02Programmatically explore and inspect project structures
03Securely access file metadata and content for development or analysis tools