env.exampleโข1.16 kB
# Server Configuration
ENVIRONMENT=development
LOG_LEVEL=DEBUG
PORT=8000
# Logging Configuration
# ENVIRONMENT: development or production
# LOG_LEVEL: DEBUG, INFO, WARNING, ERROR, CRITICAL
#
# In development with DEBUG level:
# - Full API keys are logged (for debugging)
# - All request/response details are logged
# - OpenAI API calls are logged with headers
#
# In production or with INFO level:
# - API keys are masked (first 8 and last 4 chars only)
# - Reduced logging of sensitive data
# - Only essential information is logged
# Note: OpenAI API key is only used as an environment variable for tests
# The API key is passed directly by the MCP client with each tool call.
# Configure the API key in your MCP client settings (e.g., Cursor's MCP configuration).
OPENAI_API_KEY: sk-proj-your-open-ai-key-here
# Optional: Metrics Persistence (Postgres / Supabase)
# Enable DB-backed request counters and table auto-creation on startup
# TRACK_METRICS_DB=true
# Postgres connection string (or use SUPABASE_DB_URL)
# DATABASE_URL=postgresql://user:password@localhost:5432/mcp_db
# SUPABASE_DB_URL=postgresql://user:password@db.supabase.co:5432/postgres