Skip to main content
Glama

File Edit Check MCP Server

by 8grackles

checked_write_to_file

Ensures file integrity by requiring a pre-read before writing, enforcing checks to prevent unauthorized modifications. Ideal for secure file edits with explicit read-diff-write workflows.

Instructions

Write to a file, requiring it to have been read first if it exists

Input Schema

NameRequiredDescriptionDefault
contentYesContent to write to the file
line_countYesNumber of lines in the content
pathYesPath to write the file to

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Content to write to the file", "type": "string" }, "line_count": { "description": "Number of lines in the content", "type": "number" }, "path": { "description": "Path to write the file to", "type": "string" } }, "required": [ "path", "content", "line_count" ], "type": "object" }

You must be authenticated.

Other Tools from File Edit Check MCP Server

Related Tools

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