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 サーバーは、読み取り前のチェックと詳細なコミット ドキュメントを実施して、不正なファイル変更を防ぎ、書き込み操作と diff 操作の前に明示的な読み取りが行われるようにします。

  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