Environment Variables
| Variable | Purpose |
|---|---|
GTHONRAGENTS_API_KEY |
Supply an API key directly; takes precedence over persistent credentials |
GTHONRAGENTS_API_ENDPOINT |
Override the server endpoint below the --endpoint flag |
GTHONRAGENTS_NO_UPDATE |
Disable automatic update checks when set |
GTHONRAGENTS_CONFIG_DIR |
Redirect config, credentials, and CLI state from ~/.gthonragents |
GTHONRAGENTS_MCP_FILE_ROOTS |
Add a platform path-list of roots available to local MCP media tools |
GTHONRAGENTS_INSTALL_DIR |
Select a destination for the binary install script |
CI example
Section titled “CI example”export GTHONRAGENTS_API_KEY="$CI_GTHONRAGENTS_API_KEY"export GTHONRAGENTS_NO_UPDATE=1gthonragents statusStore the API key in the CI provider’s secret manager. Do not commit it or print it to logs.
Isolated config example
Section titled “Isolated config example”export GTHONRAGENTS_CONFIG_DIR="$PWD/.gthonragents-ci"gthonragents statusAdd that directory to .gitignore when it lives inside a working tree.
MCP root list
Section titled “MCP root list”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.
