File Operations MCP Server

remove_directory

Remove a directory

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the directory to remove
recursiveNoRemove directory contents recursively

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Path to the directory to remove", "type": "string" }, "recursive": { "default": false, "description": "Remove directory contents recursively", "type": "boolean" } }, "required": [ "path" ], "type": "object" }