# 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: Redis connection URL for conversation memory # Defaults to redis://localhost:6379/0 # For Docker: redis://redis:6379/0 REDIS_URL=redis://localhost:6379/0 # 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