# IBM DB2i MCP Server Configuration
# Copy this file to .env and fill in your values
# ===================
# Required Settings
# ===================
# IBM i hostname or IP address
DB2I_HOSTNAME=your-ibm-i-host.com
# IBM i username
DB2I_USERNAME=your-username
# IBM i password
DB2I_PASSWORD=your-password
# ===================
# Database Settings
# ===================
# Port number (default: 446)
DB2I_PORT=446
# Database name (default: *LOCAL)
DB2I_DATABASE=*LOCAL
# Default schema/library for tools (optional)
DB2I_SCHEMA=
# Additional JDBC options (semicolon-separated)
# Example: naming=sql;date format=iso;time format=iso
DB2I_JDBC_OPTIONS=naming=sql;date format=iso
# ===================
# Logging Settings
# ===================
# Log level: debug, info, warn, error, fatal (default: info)
LOG_LEVEL=info
# Set to 'production' for JSON logs, otherwise pretty-printed
# NODE_ENV=production
# ===================
# Rate Limiting
# ===================
# Time window in milliseconds (default: 900000 = 15 minutes)
RATE_LIMIT_WINDOW_MS=900000
# Maximum requests allowed per window (default: 100)
RATE_LIMIT_MAX_REQUESTS=100
# Set to 'false' to disable rate limiting (default: true)
RATE_LIMIT_ENABLED=true