Critical-risk tools in Local Files MCP Server
2 of the 12 tools in Local Files MCP Server are classified as critical risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at critical risk
-
delete_directoryDestructiveSafely delete a directory with protection checks. Only works within allowed paths. Recursive deletion requires confirmRecursive=true. Use preview=true to see what will be delete...
-
delete_fileDestructiveSafely delete a file with protection checks. Only works within allowed paths. Use preview=true to see what will be deleted first.
Attacks that target this class
Critical-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.