# ============================================ # MCP (Model Context Protocol) Configuration # ============================================ # Context7 MCP Server Configuration # ------------------------------------------ # Get your API key from https://context7.com/account CONTEXT7_API_KEY=your-context7-api-key-here # MCP endpoint URL (default: mcp.context7.com/mcp) CONTEXT7_MCP_URL=mcp.context7.com/mcp # Context7 API URL (default: context7.com/api/v1) CONTEXT7_API_URL=context7.com/api/v1 # Your Context7 workspace ID or name CONTEXT7_WORKSPACE=your-workspace-id-or-name # Context mode: documentation or codebase # documentation = for accessing docs, codebase = for code context CONTEXT7_MODE=documentation # Cache TTL in seconds (optional, default: 3600) CONTEXT7_CACHE_TTL=3600 # ============================================ # GitHub MCP Server Configuration # ============================================ # GitHub Personal Access Token # Create at: https://github.com/settings/tokens # Required scopes: repo, workflow, read:org GITHUB_TOKEN=your-github-personal-access-token # GitHub API URL (default for public GitHub) GITHUB_API_URL=https://api.github.com # ============================================ # Playwright MCP Server Configuration # ============================================ # Browser to use for Playwright tests (chromium, firefox, webkit) PLAYWRIGHT_BROWSER=chromium # Run browser in headless mode (true/false) PLAYWRIGHT_HEADLESS=true # ============================================ # Azure DevOps Configuration (Optional) # ============================================ # Azure DevOps Personal Access Token # Create at: https://dev.azure.com/{yourorganization}/_usersSettings/tokens AZURE_DEVOPS_PAT=your-azure-devops-pat # Azure DevOps Organization AZURE_DEVOPS_ORG=your-organization # Azure DevOps Project AZURE_DEVOPS_PROJECT=your-project # Azure DevOps API URL (optional, for Azure DevOps Server) # AZURE_DEVOPS_API_URL=https://dev.azure.com # ============================================ # Cloud Provider Credentials (Optional) # ============================================ # AWS Configuration # ------------------------------------------ AWS_ACCESS_KEY_ID=your-aws-access-key AWS_SECRET_ACCESS_KEY=your-aws-secret-key AWS_DEFAULT_REGION=us-east-1 # Optional: AWS profile to use # AWS_PROFILE=default # Azure Cloud Configuration # ------------------------------------------ AZURE_SUBSCRIPTION_ID=your-azure-subscription-id AZURE_TENANT_ID=your-azure-tenant-id AZURE_CLIENT_ID=your-azure-client-id AZURE_CLIENT_SECRET=your-azure-client-secret # Optional: Azure Cloud environment (AzureCloud, AzureChinaCloud, AzureUSGovernment, AzureGermanCloud) # AZURE_CLOUD_ENVIRONMENT=AzureCloud # Google Cloud Platform Configuration # ------------------------------------------ GCP_PROJECT_ID=your-gcp-project-id # Path to service account key JSON file GCP_SERVICE_ACCOUNT_KEY=path/to/service-account-key.json # Optional: GCP region # GCP_REGION=us-central1 # ============================================ # AI Provider API Keys (Optional) # ============================================ # OpenAI Configuration # ------------------------------------------ OPENAI_API_KEY=your-openai-api-key # Optional: OpenAI organization ID # OPENAI_ORG_ID=your-org-id # Optional: API base URL for custom endpoints # OPENAI_API_BASE=https://api.openai.com/v1 # Google Gemini Configuration # ------------------------------------------ GEMINI_API_KEY=your-gemini-api-key # Optional: Gemini model to use # GEMINI_MODEL=gemini-pro # ============================================ # Additional MCP Servers (Optional) # ============================================ # Database MCP Server # ------------------------------------------ # DATABASE_MCP_URL=your-database-mcp-url # DATABASE_MCP_TOKEN=your-database-token # Custom MCP Server # ------------------------------------------ # CUSTOM_MCP_URL=your-custom-mcp-url # CUSTOM_MCP_API_KEY=your-custom-api-key # ============================================ # Development Environment Configuration # ============================================ # Feature toggles for development workflow # Set to 'true' or 'false' to enable/disable features # Docker-first development mode DOCKER_FIRST_DEVELOPMENT=true # Kubernetes and DevOps testing KUBERNETES_DEVOPS_TESTING=false # GitHub Actions integration GITHUB_ACTIONS_K8S=false # Integration testing mode INTEGRATION_TESTS=false # ============================================ # MCP Context Pool Settings # ============================================ # Maximum context pool size for shared contexts MCP_CONTEXT_POOL_MAX_SIZE=100MB # Context retention period (e.g., 7d, 24h, 1w) MCP_CONTEXT_RETENTION=7d # Context refresh interval (daily, hourly, on-change) MCP_CONTEXT_REFRESH=daily # ============================================ # Development & Testing # ============================================ # Enable MCP debug logging (true/false) MCP_DEBUG=false # MCP log level (error, warn, info, debug, trace) MCP_LOG_LEVEL=info # ============================================ # IMPORTANT SECURITY NOTES # ============================================ # 1. NEVER commit this file to version control # 2. This file is already in .gitignore # 3. Keep this file secure with proper permissions # 4. Rotate API keys regularly # 5. Use environment-specific .env files for different environments # 6. Consider using a secrets management service for production # ============================================