Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Host address for the server | 0.0.0.0 |
| PORT | No | Port number for the server | 8000 |
| DEBUG | No | Enable debug mode | false |
| REDIS_URL | Yes | Redis connection URL (required). For local development use redis://localhost:6379. Heroku automatically sets this for production. | |
| WOW_VERSION | No | World of Warcraft version (retail or classic) | |
| SUPABASE_URL | No | Your Supabase project URL (optional, for activity logging) | |
| OAUTH_BASE_URL | No | Your server's public URL for OAuth callbacks | http://localhost:8000 |
| OAUTH_PROVIDER | No | OAuth provider to use for authentication. Options: discord (empty = disabled) | |
| BLIZZARD_REGION | No | Blizzard API region (e.g., us, eu, kr, tw) | |
| API_TIMEOUT_READ | No | API read timeout in seconds | 60 |
| API_TIMEOUT_TOTAL | No | Total API timeout in seconds (necessary for reducing API traffic to Blizzard) | 300 |
| DISCORD_CLIENT_ID | No | Discord OAuth client ID (required if OAUTH_PROVIDER is set to discord) | |
| BLIZZARD_CLIENT_ID | Yes | Your Blizzard Battle.net API client ID (required) | |
| ENABLE_AI_ANALYSIS | No | Enable AI analysis features | true |
| API_TIMEOUT_CONNECT | No | API connection timeout in seconds | 10 |
| ENABLE_REDIS_CACHING | No | Enable Redis caching feature | true |
| SUPABASE_SERVICE_KEY | No | Supabase service role key that bypasses RLS (optional, for activity logging) | |
| DISCORD_CLIENT_SECRET | No | Discord OAuth client secret (required if OAUTH_PROVIDER is set to discord) | |
| BLIZZARD_CLIENT_SECRET | Yes | Your Blizzard Battle.net API client secret (required) | |
| ENABLE_SUPABASE_LOGGING | No | Enable Supabase activity logging feature | true |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |