# Berry MCP Environment Configuration
# Copy this file to .env and fill in your values
# OAuth2 Provider Configuration
OAUTH_PROVIDER=google # Options: google, github
# Google OAuth2 (if using Google)
GOOGLE_CLIENT_ID=your_google_client_id_here
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
# GitHub OAuth2 (if using GitHub)
GITHUB_CLIENT_ID=your_github_client_id_here
GITHUB_CLIENT_SECRET=your_github_client_secret_here
# Service Configuration
SERVICE_HOST=localhost
SERVICE_PORT=8080
# Logging Configuration
BERRY_PDF_LOG_LEVEL=INFO # Options: DEBUG, INFO, WARNING, ERROR
# Security Settings
REQUIRE_AUTH=true
DEFAULT_TIMEOUT=300 # seconds
# File Processing Limits
MAX_PDF_SIZE_MB=50
MAX_BATCH_FILES=10
DEFAULT_PAGE_LIMIT=20
# Storage Configuration (for production)
TOKEN_STORAGE_TYPE=file # Options: file, redis, database
TOKEN_STORAGE_PATH=~/.berry_mcp/tokens.json
# Redis Configuration (if using Redis for token storage)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# Database Configuration (if using database for token storage)
DATABASE_URL=postgresql://user:password@localhost/berry_mcp