File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 11## CLI Command Options
22
33``` sh
4- Usage: rust-mcp-filesystem [OPTIONS] < ALLOWED_DIRECTORIES> ...
4+ Usage: rust-mcp-filesystem [OPTIONS] [ ALLOWED_DIRECTORIES] ...
55
66Arguments:
7- < ALLOWED_DIRECTORIES> ...
7+ [ ALLOWED_DIRECTORIES] ...
88 Provide a space-separated list of directories that are permitted for the operation.
99 This list allows multiple directories to be provided.
1010
1111 Example: rust-mcp-filesystem /path/to/dir1 /path/to/dir2 /path/to/dir3
1212
1313Options:
1414 -w, --allow-write
15- Enables read/write mode for the app, allowing both reading and writing.
15+ Enables read/write mode for the app, allowing both reading and writing. Defaults to disabled.
16+
17+ -t, --enable-roots
18+ Enables dynamic directory access control via Roots from the MCP client side. Defaults to disabled.
19+ When enabled, MCP clients that support Roots can dynamically update the allowed directories.
20+ Any directories provided by the client will completely replace the initially configured allowed directories on the server.
1621
1722 -h, --help
1823 Print help (see a summary with ' -h' )
You can’t perform that action at this time.
0 commit comments