MCP server that enforces pre-read checks and detailed commit documentation
2 stars
Updated Apr 1, 2025
Documentation
File Edit Check MCP Server
An MCP server that enforces pre-read checks and detailed commit documentation. This server prevents blind modifications to files by requiring explicit read operations before any writes or diffs can be applied.
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
checked_read_file: Read a file and mark it as read for future editingchecked_write_to_file: Write to a file, requiring it to have been read first if it existschecked_apply_diff: Apply a diff to a file, requiring it to have been read firstlist_my_tools: List the tools registered in this server
Installation
bash
npm install
npm run buildUsage
Add to your MCP settings file:
json
{
"mcpServers": {
"file-edit-check": {
"command": "node",
"args": ["/path/to/file-edit-check-server/build/index.js"],
"disabled": false,
"alwaysAllow": []
}
}
}Similar MCP
Based on tags & features
Trending MCP
Most active this week