File Operations MCP Server

watch_directory

Monitor a specified directory for changes, with optional recursive subdirectory tracking, to enable real-time file system updates and notifications.

Instructions

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" }

You must be authenticated.

Other Tools from File Operations MCP Server

Related Tools

ID: 7b750si00d