We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shariqriazz/google-ai-search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
.env.example•1.21 KiB
# Environment variables for google-ai-search-mcp
# --- Required ---
# REQUIRED only if AI_PROVIDER is "vertex"
GOOGLE_CLOUD_PROJECT="YOUR_GCP_PROJECT_ID"
# REQUIRED only if AI_PROVIDER is "gemini"
GEMINI_API_KEY="YOUR_GEMINI_API_KEY" # Get from Google AI Studio
# --- General AI Configuration ---
AI_PROVIDER="vertex" # Provider to use: "vertex" or "gemini"
# Optional - Model ID depends on the chosen provider
VERTEX_MODEL_ID="gemini-2.5-pro" # e.g., gemini-2.5-pro
GEMINI_MODEL_ID="gemini-2.5-pro" # e.g., gemini-2.5-pro
# --- Optional AI Parameters (Common) ---
# GOOGLE_CLOUD_LOCATION is specific to Vertex AI
GOOGLE_CLOUD_LOCATION="us-central1"
AI_TEMPERATURE="0.0" # Range: 0.0 to 1.0
AI_USE_STREAMING="true" # Use streaming responses: "true" or "false"
AI_MAX_OUTPUT_TOKENS="65536" # Max tokens in response (Note: Models have their own upper limits)
AI_MAX_RETRIES="3" # Number of retries on transient errors
AI_RETRY_DELAY_MS="1000" # Delay between retries in milliseconds
# --- Optional Vertex AI Authentication ---
# Uncomment and set if using a Service Account Key instead of Application Default Credentials (ADC) for Vertex AI
# GOOGLE_APPLICATION_CREDENTIALS="/path/to/your/service-account-key.json"