Skip to content

Environment Variables

Variable Purpose
USETRAWSN_API_KEY Supply an API key directly; takes precedence over persistent credentials
USETRAWSN_API_ENDPOINT Override the server endpoint below the --endpoint flag
USETRAWSN_NO_UPDATE Disable automatic update checks when set
USETRAWSN_CONFIG_DIR Redirect config, credentials, and CLI state from ~/.usetrawsn
USETRAWSN_MCP_FILE_ROOTS Add a platform path-list of roots available to local MCP media tools
USETRAWSN_INSTALL_DIR Select a destination for the binary install script
Terminal window
export USETRAWSN_API_KEY="$CI_USETRAWSN_API_KEY"
export USETRAWSN_NO_UPDATE=1
usetrawsn status

Store the API key in the CI provider’s secret manager. Do not commit it or print it to logs.

Terminal window
export USETRAWSN_CONFIG_DIR="$PWD/.usetrawsn-ci"
usetrawsn status

Add that directory to .gitignore when it lives inside a working tree.

Use the platform path-list separator: : on Unix-like systems and ; on Windows. Command-line --allow-root, this variable, and client-advertised roots form one effective set.