# Environment Configuration Example
# Copy this file to .env and fill in your actual API keys and settings
# ======================
# Required API Keys
# ======================
# DeepSeek API Key (Required)
DEEPSEEK_API_KEY=sk-your-deepseek-api-key-here
# Optional AI Provider API Keys
OPENAI_API_KEY=sk-your-openai-api-key-here
ANTHROPIC_API_KEY=your-anthropic-api-key-here
O3_API_KEY=your-o3-api-key-here
# ======================
# Server Configuration
# ======================
# Environment mode (development, staging, production)
NODE_ENV=development
# Logging level (debug, info, warn, error)
LOG_LEVEL=info
# MCP Protocol settings
MCP_PROTOCOL=stdio
MCP_PORT=3000
MCP_HOST=localhost
MCP_DEFAULT_PROVIDER=deepseek
MCP_PROVIDERS=deepseek,openai,anthropic
# ======================
# Cache Configuration
# ======================
# Cache settings
CACHE_TYPE=memory
CACHE_TTL=3600
CACHE_MAX_SIZE=100000000
# Redis settings (if using Redis cache)
REDIS_URL=redis://localhost:6379
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=
# ======================
# Database Configuration
# ======================
# Database URL (if using external database)
DATABASE_URL=postgresql://username:password@localhost:5432/claude_mcp
# ======================
# Monitoring & Metrics
# ======================
# Metrics collection
METRICS_ENABLED=true
METRICS_COLLECTION_INTERVAL=5000
METRICS_EXPORT_ENABLED=false
METRICS_EXPORT_ENDPOINT=http://localhost:4317
# OpenTelemetry settings
OTEL_SERVICE_NAME=claude-code-ai-collab-mcp
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
# ======================
# Security Settings
# ======================
# API rate limiting
RATE_LIMIT_ENABLED=true
RATE_LIMIT_REQUESTS_PER_MINUTE=100
RATE_LIMIT_BURST_SIZE=10
# Request limits
MAX_REQUEST_SIZE=10485760
MAX_PROMPT_LENGTH=100000
MAX_RESPONSE_LENGTH=100000
# ======================
# Feature Flags
# ======================
# Enable/disable features
FEATURE_COLLABORATION=true
FEATURE_CACHING=true
FEATURE_METRICS=true
FEATURE_SEARCH=true
FEATURE_SYNTHESIS=true
# ======================
# Development Settings
# ======================
# Development mode settings
DEBUG_MODE=false
VERBOSE_LOGGING=false
MOCK_PROVIDERS=false
DISABLE_CACHE=false
ENABLE_PROFILING=false
# Testing settings
MOCK_RESPONSES=false
DETERMINISTIC_IDS=true
FIXED_TIMESTAMPS=false
# ======================
# Docker Settings
# ======================
# Docker registry for deployments
DOCKER_REGISTRY=localhost:5000
# ======================
# Cloud Provider Settings
# ======================
# AWS settings
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
# Google Cloud settings
GOOGLE_CLOUD_PROJECT=
GOOGLE_APPLICATION_CREDENTIALS=
# Azure settings
AZURE_SUBSCRIPTION_ID=
AZURE_CLIENT_ID=
AZURE_CLIENT_SECRET=
AZURE_TENANT_ID=
# ======================
# Additional Settings
# ======================
# Custom base URLs (if using different endpoints)
DEEPSEEK_BASE_URL=https://api.deepseek.com
OPENAI_BASE_URL=https://api.openai.com/v1
ANTHROPIC_BASE_URL=https://api.anthropic.com
O3_BASE_URL=https://api.o3.com
# Timeout settings (milliseconds)
REQUEST_TIMEOUT=30000
PROVIDER_TIMEOUT=30000
STRATEGY_TIMEOUT=60000
TOTAL_TIMEOUT=120000
# Concurrency settings
MAX_CONCURRENT_REQUESTS=10
MAX_CONCURRENT_PROVIDERS=3
QUEUE_SIZE=100