add_allowed_dir
Authorize a local directory for Cursor agent file writes after validating the path exists and resolving symlinks to reject escapes.
Instructions
Grant a directory for local Cursor agent file writes. The path is resolved with realpath (symlink escapes are rejected) and must already exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative directory path to allow |