<-- Why not sponsor me, even a few bucks shows you appreciate the work and gives encouragement. You can sponsor me monthly, or just a one time thing. Check out my other projects while you're here.
β Help Others Find This Extension! If Filesystem Plus is working well for you, please star this repository to help other Claude Desktop users discover enhanced file system security!
π¬ Stay Updated: Click the "Watch" button (top-right of this repo) β "Releases only" to get email notifications when new versions are released!
Filesystem Plus was born from me wanting to improve the abysmal performance of file operations, as well as fix the lack of permission controls. This extension adds granular permission control, allowing you to give Claude Desktop read-only access to sensitive directories while maintaining full read-write access to working directories.
This is extremely important because I also added a delete file function, yup Claude Desktop can now delete files. I suggest never allowing it unrestricted, as just like other extensions tools are controlled by allow once, and allow always permissions.
Sadly I was only able to make file copying faster, like a ton faster! I'm stil researching making other operations faster.
- Read-Only Directory Protection - Configure directories that Claude can read but never modify
- Safe File Deletion - NEW! Delete files/directories with comprehensive safety checks
- Blocks system directories (
C:\,/system32/,/boot/,/etc/) - Prevents read-only directory deletion
- Multiple validation layers and confirmation prompts
- Blocks system directories (
- Granular Permission Control - Mix read-write and read-only directories in the same extension
- Path Traversal Protection - Prevents
../escape attempts and symlink exploitation
- Blazing Fast File Copying - HUGE performance improvement with direct OS operations
- Windows Drive Root Support - Fixed access to network drives, UNC paths, and mapped drives (Y:, Z:)
- Cross-Platform Path Handling - Seamless Windows/macOS/Linux compatibility
- Enhanced Error Handling - Clear, actionable error messages for all failure scenarios
- Enhanced Directory Listing - See permission levels for each configured directory
- Individual Tool Permissions - Each tool (including delete) requires separate Claude Desktop approval
- Drop-in Replacement - Uses the same familiar file operations as the original extension
- Zero Configuration Changes - Existing automations continue to work unchanged
- ALL directories have FULL read-write access
- No protection against accidental modifications
- Claude can delete or overwrite any accessible file
- One permission level for all directories
- Read-only directories are protected from ALL write operations
- Clear visual indicators show permission levels
- Write operations blocked with helpful error messages
- Mix read-write and read-only directories as needed
- Claude Desktop (v0.10.0 or later)
- Windows, macOS, or Linux
β οΈ DXT Status Update: We're currently investigating issues with DXT packaging that may prevent some features from working correctly. Manual installation is the only method supported currently.
- Download the latest release: Download Filesystem Plus
- Extract the
filesystem-plusfolder - Open Claude Desktop β Settings β Extensions β Advanced Settings
- Click Install Unpacked Extension
- Select the extracted
filesystem-plusfolder - Confirm installation
π§ Known Issue: DXT installation may not show complete extension details in Claude Desktop. We're working on a fix.
- Download the latest
.dxtfile: Download Filesystem Plus - Open Claude Desktop β Settings β Extensions
- Windows: Drag and drop the
.dxtfile into the extensions area Mac/Linux: Go to Advanced β Install Extension β Select the.dxtfile - Installation complete!
- In the extension settings, configure directories:
- π Full Access Directories: Claude can read, write, create, and modify files
- π Read-Only Directories: Claude can only read files (no modifications allowed)
- Click Save to apply changes
- Test with a small file operation to verify permissions
Extension configuration page showing dual directory types with clear permission indicators
Filesystem Plus is an enhanced version of the original Filesystem extension developed by Anthropic. We extend our gratitude to the Anthropic team for creating the foundational filesystem MCP server that makes this enhanced version possible.
Original Work: Anthropic Claude Desktop Filesystem Extension
License: MIT License (both original and enhanced versions)
Our Enhancements: Read-only protection, performance optimizations, granular permissions
This project builds upon Anthropic's excellent foundation while adding security features requested by the community. All code modifications and enhancements are also released under the MIT License.
π Full Access: ~/Documents/Claude-Workspace
π Read-Only: ~/Documents/Important-Files
π Read-Only: ~/Documents/Financial-Records
π Full Access: ~/Projects/current-project
π Full Access: ~/Downloads/temp-files
π Read-Only: ~/Projects/production-code
π Read-Only: ~/.config
π Full Access: ~/Content/drafts
π Full Access: ~/Content/images
π Read-Only: ~/Content/published
π Read-Only: ~/Content/templates
read_file- Read file contentsread_multiple_files- Read multiple files at oncelist_directory- List directory contentsdirectory_tree- Get directory structuresearch_files- Search for files by patternget_file_info- Get file metadatalist_allowed_directories- Show configured directories with permissions
write_file- Create or overwrite filesedit_file- Make line-based editscreate_directory- Create new directoriesmove_file- Move or rename filesdelete_file- NEW! Permanently delete files/directories with comprehensive safety checks- Recursive directory deletion with confirmation
- System directory protection (blocks
/system32/,/etc/, drive roots) - Requires individual tool permission approval in Claude Desktop
- Blocked in read-only directories for additional safety
All write operations (including delete) in read-only directories return clear error messages instead of succeeding.
Filesystem Plus uses a permission proxy architecture:
- Request Interception: All file operations are intercepted before reaching the filesystem
- Permission Checking: Write operations are checked against read-only directory list
- Selective Blocking: Read-only violations return permission denied errors
- Pass-Through: Allowed operations are forwarded to the original filesystem server
This ensures zero performance impact for allowed operations while providing robust protection for sensitive directories.
| Feature | Original Filesystem | Filesystem Plus |
|---|---|---|
| Permission Model | All-or-nothing | β Granular control |
| Read-Only Protection | β None | β Full protection |
| File Deletion | β Not supported | β Safe deletion with system protection |
| Windows Drive Root Access | β Limited | β Full drive root + UNC path support |
| Permission Visibility | β Hidden | β Clear indicators |
| Safety Checks | β Basic | β Multi-layer system directory protection |
| Error Messages | β Generic | β Detailed explanations |
| Cross-Platform Paths | β Limited | β Enhanced Windows/macOS/Linux support |
| Backward Compatibility | β N/A | β 100% compatible |
| Performance | β Fast | β Same speed + optimized file copying |
- Read-only protection is enforced at the extension level - Claude cannot bypass these restrictions
- Permissions are configured per-session - Changes require Claude Desktop restart
- Path traversal attempts are blocked -
../attempts to escape directories are prevented - All write operations are logged - Failed attempts are recorded in Claude Desktop logs
- Ensure Node.js support is enabled in Claude Desktop
- Check Claude Desktop logs for error messages
- Verify the
filesystem-plusfolder contains all required files
- Restart Claude Desktop after configuration changes
- Test with a simple write operation in a read-only directory
- Check that directory paths are absolute and correctly typed
- Filesystem Plus has the same performance as the original extension
- Large file operations may appear slower due to permission checks
- Use
read_multiple_filesfor better batch performance
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.
- Fork the repository
- Clone your fork locally
- Create a feature branch
- Make your changes
- Test with Claude Desktop
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
claude-desktop, filesystem, security, permissions, read-only, file-management, desktop-extension, mcp-protocol
Enjoying enhanced filesystem security with Filesystem Plus? Consider starring this repository to help other Claude Desktop users discover granular file system control!
π‘οΈ Filesystem Plus β Enhanced Claude Desktop Extension
Because file system security shouldn't be all-or-nothing.
