ProxyWhirl Docs
Guides

Configuration

Configure ProxyWhirl with TOML files, CLI config commands, and environment variables.

Configuration

ProxyWhirl layers configuration from defaults, TOML files, environment variables, and CLI flags.

Initialize a Config File

uv run proxywhirl config init
uv run proxywhirl config show
uv run proxywhirl config set max_retries 3
uv run proxywhirl config get max_retries

Use --config /path/to/.proxywhirl.toml for isolated test or CI configs.

Optional Extras

uv add "proxywhirl[storage]"
uv add "proxywhirl[security]"
uv add "proxywhirl[js]"
uv add "proxywhirl[mcp]"

Key Environment Variables

VariableComponentPurpose
PROXYWHIRL_KEYCLI/configMaster encryption key
PROXYWHIRL_CACHE_ENCRYPTION_KEYcacheFernet key for L2 cache
PROXYWHIRL_STORAGE_PATHAPISQLite database path
PROXYWHIRL_API_KEYAPIREST API authentication
PROXYWHIRL_MCP_API_KEYMCPMCP server auth key

See Configuration Reference for the full inventory.

See Also

On this page