file-edit-check-server
2
The File Edit Check MCP Server requires users to verify files before modification, enforcing disciplined changes with detailed commit logs.
File Edit Check MCP Server
An MCP server that enforces pre-read checks and detailed commit documentation to prevent unauthorized file modifications.
Features
- Enforces pre-read verification before file modifications
- Prevents blind writes and diffs
- Provides detailed commit message guidance
- TypeScript implementation with proper error handling
Tools
- Mark files as read for future editing
- Ensure files are read before writing
- Apply diffs with pre-read checks
- Tool registration listing
Installation
Use npm install
followed by npm run build
to set up the server.
Usage
Add to your MCP settings to configure the server for file edits.