# Gemini MCP Server Environment Configuration # Copy this file to .env and fill in your values # Required: Google Gemini API Key # Get your API key from: https://makersuite.google.com/app/apikey GEMINI_API_KEY=your_gemini_api_key_here # Optional: Default model to use # Full names: 'gemini-2.5-pro-preview-06-05' or 'gemini-2.0-flash-exp' # Defaults to gemini-2.5-pro-preview-06-05 if not specified DEFAULT_MODEL=gemini-2.5-pro-preview-06-05 # Optional: Default thinking mode for ThinkDeep tool # NOTE: Only applies to models that support extended thinking (e.g., Gemini 2.5 Pro) # Flash models (2.0) will use system prompt engineering instead # Token consumption per mode: # minimal: 128 tokens - Quick analysis, fastest response # low: 2,048 tokens - Light reasoning tasks # medium: 8,192 tokens - Balanced reasoning (good for most cases) # high: 16,384 tokens - Complex analysis (recommended for thinkdeep) # max: 32,768 tokens - Maximum reasoning depth, slowest but most thorough # Defaults to 'high' if not specified DEFAULT_THINKING_MODE_THINKDEEP=high # Optional: Workspace root directory for file access # This should be the HOST path that contains all files Claude might reference # Defaults to $HOME for direct usage, auto-configured for Docker WORKSPACE_ROOT=/Users/your-username # Optional: Logging level (DEBUG, INFO, WARNING, ERROR) # DEBUG: Shows detailed operational messages for troubleshooting # INFO: Shows general operational messages (default) # WARNING: Shows only warnings and errors # ERROR: Shows only errors LOG_LEVEL=INFO # Optional: Project root override for file sandboxing # If set, overrides the default sandbox directory # Use with caution - this controls which files the server can access # MCP_PROJECT_ROOT=/path/to/specific/project