.env.template•1.19 kB
# Gerrit Code Review MCP Server Configuration
# Copy this file to .env and fill in your actual values
# Your Gerrit server hostname (without https://)
# Supports both formats:
# - Standard: gerrit.example.com
# - With path: gerrit.example.com/r (for servers with custom paths)
GERRIT_HOST=gerrit.example.com
# Your Gerrit username
GERRIT_USER=your-username
# Authentication - Choose ONE of the following methods:
# Method 1 (Recommended): HTTP Password for newer Gerrit instances
# Generate from Gerrit web interface: Settings > HTTP Credentials > Generate New Password
GERRIT_HTTP_PASSWORD=your-generated-http-password
# Method 2 (Fallback): Login Password for older Gerrit instances
# Use your regular Gerrit login password if HTTP password doesn't work
# GERRIT_PASSWORD=your-login-password
# Note: The server will use GERRIT_HTTP_PASSWORD if set, otherwise GERRIT_PASSWORD
# Only set one of these variables - comment out the one you don't use
# Optional: File patterns to exclude from reviews (comma-separated regex patterns)
# This helps prevent infinite loops with large files
GERRIT_EXCLUDED_PATTERNS=\.pbxproj$,\.xcworkspace$,node_modules/,\.lock$,package-lock\.json$