This tool operates as a Model Context Protocol (MCP) server, designed to empower AI assistants with the capability to manage file changes safely and reliably. It facilitates the application, validation, reversal, and generation of unified diff patches, supporting complex multi-hunk and multi-file modifications atomically. With robust security features such as symlink and binary file protection, disk space validation, and automatic rollback mechanisms, it ensures that all file operations are secure, reversible, and maintain system integrity, significantly enhancing AI's capacity for automated code modification and refactoring tasks.
主な機能
01Create and restore automatic, timestamped backups
02Handle multi-file and multi-hunk changes atomically
03Apply code changes using standard unified diff format
04Revert changes safely if something goes wrong
050 GitHub stars
06Validate patches before applying them with dry-run mode