Configuration
Syntra ODBC is configured via config.toml in the installation directory. The most common options (cache, auth, MCP server, updates) are also exposed through the Settings tab inside the Syntra ODBC app, so you do not have to leave the GUI to change them.

Any value you change in the Settings tab is written back to config.toml on disk. Any value you set in config.toml directly shows up in the Settings tab the next time you open it. Both surfaces are equivalent for the options they cover; use config.toml directly when you need to set something the GUI does not expose (TLS, logging level, live reads on Enterprise).
Full Reference
Section titled “Full Reference”[quickbooks]# Application name shown in QuickBooks authorization dialogapp_name = "Syntra ODBC"
[server]# Network interface to bind tohost = "127.0.0.1"# SQL server listening portport = 5433# Maximum concurrent connectionsmax_connections = 20
[auth]# Credentials for connecting to the Syntra ODBC serverusername = "qbconnect"password = "change-me"
[cache]# Enable local cacheenabled = true# Default max staleness in seconds (0 = always live)default_max_staleness = 600# Staleness threshold for triggering live fallbackstale_threshold_seconds = 600
[tls]# Enable TLS encryptionenabled = false# Path to certificate filecert_file = ""# Path to private key filekey_file = ""
[logging]# Log level: trace, debug, info, warn, errorlevel = "info"# Log to filefile_enabled = true# Log file directorylog_dir = "logs"
[odbc]# Live reads on QuickBooks Enterprise: "auto" | "enabled" | "disabled"mode = "auto"# Credentials, only needed if the company file is password-protectedusername = ""password = ""Environment Variables
Section titled “Environment Variables”You can override any config value with environment variables using the SYNTRA_ prefix:
SYNTRA_SERVER_PORT=5434SYNTRA_AUTH_PASSWORD=my-passwordSYNTRA_CACHE_ENABLED=falsePer-Session Overrides
Section titled “Per-Session Overrides”You can override cache behavior per SQL session:
-- Force live queries (bypass cache)SET QB_MAX_STALENESS = 0;
-- Use cache with 5-minute toleranceSET QB_MAX_STALENESS = 300;
-- Reset to config defaultRESET QB_MAX_STALENESS;