Skip to main content
Glama

Enhanced Directory Context MCP Server

by PWalaGov

batch_file_operations

Execute multiple file operations—create, update, append, delete, rename—in a single transaction with rollback on error, streamlining file management on the Enhanced Directory Context MCP Server.

Instructions

Perform multiple file operations in a single transaction

Input Schema

NameRequiredDescriptionDefault
operationsYesArray of file operations to perform
rollback_on_errorNoRollback all operations if any fails

Input Schema (JSON Schema)

{ "properties": { "operations": { "description": "Array of file operations to perform", "items": { "properties": { "operation": { "description": "Type of operation", "enum": [ "create", "update", "append", "delete", "rename" ], "type": "string" }, "params": { "description": "Parameters for the operation", "type": "object" } }, "required": [ "operation", "params" ], "type": "object" }, "type": "array" }, "rollback_on_error": { "default": true, "description": "Rollback all operations if any fails", "type": "boolean" } }, "required": [ "operations" ], "type": "object" }

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/PWalaGov/File-Control-MCP'

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