Skip to main content
Glama

File Edit Check MCP Server

by 8grackles

文件编辑检查 MCP 服务器

强制执行预读检查和详细提交文档的 MCP 服务器。此服务器要求在应用任何写入或差异之前进行显式读取操作,以防止对文件进行盲目修改。

特征

  • 在文件修改之前强制执行预读验证
  • 防止盲写和差异
  • 提供详细的提交信息指导
  • 具有适当错误处理的 TypeScript 实现

工具

  • checked_read_file :读取文件并将其标记为已读以供将来编辑
  • checked_write_to_file :写入文件,如果文件存在则要求先读取该文件
  • checked_apply_diff :对文件应用差异,要求先读取该文件
  • list_my_tools :列出此服务器中注册的工具

安装

npm install npm run build

用法

添加到您的 MCP 设置文件:

{ "mcpServers": { "file-edit-check": { "command": "node", "args": ["/path/to/file-edit-check-server/build/index.js"], "disabled": false, "alwaysAllow": [] } } }
-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

该 MCP 服务器强制执行预读检查和详细的提交文档,以防止未经授权的文件修改,确保写入和差异操作之前进行明确的读取。

  1. 特征
    1. 工具
      1. 安装
        1. 用法

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol (MCP) server that provides file deletion capabilities. This server allows AI assistants to safely delete files when needed, with support for both relative and absolute paths.
            Last updated -
            1
            12
            1
            JavaScript
            Apache 2.0
            • Apple
          • -
            security
            A
            license
            -
            quality
            A secure MCP server enabling read-only access and file search capabilities within a specified directory, while respecting .gitignore patterns.
            Last updated -
            Python
            MIT License
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            This server offers secure, read-only access to directory files via the MCP, supporting file searching, .gitignore compliance, path traversal protection, and MIME type detection using the 'file://' URI scheme.
            Last updated -
            6
            MIT License
            • Apple
            • Linux
          • A
            security
            A
            license
            A
            quality
            A TypeScript MCP server port of Anthropic's filesystem editing tools, allowing file manipulation via client-approved operations without automated writes to prevent system harm.
            Last updated -
            5
            5
            TypeScript
            MIT License

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/8grackles/file-edit-check-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server