.env.example•991 B
# Google Search MCP Configuration
# Copy this file to .env and fill in your actual values
#
# NOTE: Environment variables will override .env file values if both are set.
# For example, if you have GOOGLE_API_KEY in both .env and as an environment
# variable, the environment variable value will be used.
# Google Custom Search Engine API Key
# Get this from: https://console.developers.google.com/
# Environment variable: GOOGLE_API_KEY (overrides this .env setting)
GOOGLE_API_KEY=your_google_api_key_here
# Google Custom Search Engine ID (CX)
# Get this from: https://cse.google.com/cse/all
# Environment variable: GOOGLE_CX (overrides this .env setting)
GOOGLE_CX=your_custom_search_engine_id_here
# Optional: Restrict results to specific domains (comma-separated)
# Examples:
# ALLOW_DOMAINS=example.com
# ALLOW_DOMAINS=example.com, docs.python.org
# If set, results outside these domains will be filtered out.
# Environment variable: GOOGLE_ALLOW_DOMAINS
GOOGLE_ALLOW_DOMAINS=