file-edit-check-server
punkpeye/file-edit-check-serverUpdated 20 days ago02

Remote#pre-read checks#commit documentation#TypeScriptLicense: NoneLanguage: None

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 editing
  • checked_write_to_file: Write to a file, requiring it to have been read first if it exists
  • checked_apply_diff: Apply a diff to a file, requiring it to have been read first
  • list_my_tools: List the tools registered in this server

Installation

npm install
npm run build

Usage

Add to your MCP settings file:

{
  "mcpServers": {
    "file-edit-check": {
      "command": "node",
      "args": ["/path/to/file-edit-check-server/build/index.js"],
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

Installation

Claude
Claude
Cursor
Cursor
Windsurf
Windsurf
Cline
Cline
Witsy
Witsy
Spin AI
Spin AI
Run locally with the following command:
Terminal
Add the following config to your client:
JSON
{
  "mcpServers": {
    "file-edit-check": {
      "env": {},
      "args": [
        "/path/to/file-edit-check-server/build/index.js"
      ],
      "command": "node"
    }
  }
}

MCPLink

Seamless access to top MCP servers powering the future of AI integration.

© 2025 MCPLink. All rights reserved.
discordgithubdiscord