Skip to main content
Glama

Rust MCP Filesystem

cli-command-options.md1.21 kB
## CLI Command Options ```sh Usage: rust-mcp-filesystem [OPTIONS] [ALLOWED_DIRECTORIES]... Arguments: [ALLOWED_DIRECTORIES]... Provide a space-separated list of directories that are permitted for the operation. This list allows multiple directories to be provided. Example: rust-mcp-filesystem /path/to/dir1 /path/to/dir2 /path/to/dir3 Options: -w, --allow-write [<ALLOW_WRITE>] Enables write mode for the app, allowing both reading and writing. Defaults to disabled. [env: ALLOW_WRITE=] [default: false] [possible values: true, false] -t, --enable-roots [<ENABLE_ROOTS>] Enables dynamic directory access control via Roots from the MCP client side. Defaults to disabled. When enabled, MCP clients that support Roots can dynamically update the allowed directories. Any directories provided by the client will completely replace the initially configured allowed directories on the server. [env: ENABLE_ROOTS=true] [default: false] [possible values: true, false] -h, --help Print help (see a summary with '-h') -V, --version Print version ```

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rust-mcp-stack/rust-mcp-filesystem'

If you have feedback or need assistance with the MCP directory API, please join our Discord server