Skip to main content
Glama

Enhanced Directory Context MCP Server

by PWalaGov

delete_file

Remove files securely by specifying their path, with an optional backup feature to create a .deleted copy, using the Enhanced Directory Context MCP Server.

Instructions

Delete a file

Input Schema

NameRequiredDescriptionDefault
backupNoCreate backup before deleting (.deleted extension)
pathYesFile path relative to working directory

Input Schema (JSON Schema)

{ "properties": { "backup": { "default": true, "description": "Create backup before deleting (.deleted extension)", "type": "boolean" }, "path": { "description": "File path relative to working directory", "type": "string" } }, "required": [ "path" ], "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