File Operations MCP Server

watch_directory

Watch a directory for changes

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the directory to watch
recursiveNoWatch subdirectories recursively

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "Path to the directory to watch", "type": "string" }, "recursive": { "default": false, "description": "Watch subdirectories recursively", "type": "boolean" } }, "required": [ "path" ], "type": "object" }