# GitGuardian MCP Server Environment Variables
# OAuth Authentication
GITGUARDIAN_CLIENT_ID=your_oauth_client_id_here
# Optional: Space-separated list of scopes
GITGUARDIAN_SCOPES=honeytokens:read honeytokens:write incidents:read incidents:write custom_tags:read custom_tags:write token:read
# Note: OAuth callback server uses port range 29170-29998 (same as ggshield)
# This ensures compatibility with self-hosted GitGuardian instances
# Optional: Override the GitGuardian instance URL
GITGUARDIAN_URL=https://dashboard.gitguardian.com
# Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
LOG_LEVEL=INFO
# Optional: Sentry Integration for Error Tracking
# Sentry provides error tracking and performance monitoring
# Install with: pip install 'secops-mcp-server[sentry]'
# SENTRY_DSN=https://your-sentry-dsn@sentry.io/project-id
# SENTRY_ENVIRONMENT=production
# SENTRY_RELEASE=1.0.0
# SENTRY_TRACES_SAMPLE_RATE=0.1
# SENTRY_PROFILES_SAMPLE_RATE=0.1