.env.exampleā¢1.54 kB
# Finizi B4B MCP Server - Production Configuration Template
# Copy this file to .env and update with your actual values
# ================================
# B4B API Configuration
# ================================
# Base URL for the Finizi B4B API (without /api/v1)
# For production, use your actual B4B API URL
B4B_API_BASE_URL=https://your-b4b-api.example.com
# API version to use
B4B_API_VERSION=v1
# ================================
# Network & Timeout Configuration
# ================================
# Request timeout in seconds
API_TIMEOUT=30
# Connection timeout in seconds
API_CONNECT_TIMEOUT=10
# ================================
# Retry Configuration
# ================================
# Maximum number of retry attempts for failed requests
MAX_RETRIES=3
# Backoff multiplier for exponential retry
RETRY_BACKOFF=1.0
# ================================
# Token Management
# ================================
# Minutes before token expiry to trigger auto-refresh
TOKEN_REFRESH_THRESHOLD_MINUTES=15
# ================================
# Logging Configuration
# ================================
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# ================================
# Rate Limiting
# ================================
# Maximum requests allowed per time window
RATE_LIMIT_REQUESTS=100
# ================================
# Cloud Run Configuration (automatically set by Cloud Run)
# ================================
# Port to listen on (automatically set by Cloud Run, default: 8080)
# PORT=8080