45 lines
2.0 KiB
Plaintext
45 lines
2.0 KiB
Plaintext
# Gemini MCP Server Environment Configuration
|
|
# Copy this file to .env and fill in your values
|
|
|
|
# API Keys - At least one is required
|
|
# Get your Gemini API key from: https://makersuite.google.com/app/apikey
|
|
GEMINI_API_KEY=your_gemini_api_key_here
|
|
|
|
# Get your OpenAI API key from: https://platform.openai.com/api-keys
|
|
OPENAI_API_KEY=your_openai_api_key_here
|
|
|
|
# Optional: Default model to use
|
|
# Options: 'auto' (Claude picks best model), 'pro', 'flash', 'o3', 'o3-mini', 'gpt-4o'
|
|
# Full names: 'gemini-2.5-pro-preview-06-05' or 'gemini-2.0-flash-exp'
|
|
# When set to 'auto', Claude will select the best model for each task
|
|
# Defaults to 'auto' if not specified
|
|
DEFAULT_MODEL=auto
|
|
|
|
# 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 |