Skip to main content
Glama

Google Search MCP Server

.env.example2.35 kB
# Google Research MCP Server - Environment Configuration # ============================================================================= # REQUIRED - Google Custom Search API # ============================================================================= # Get your API key: https://console.cloud.google.com/apis/credentials # Enable Custom Search API: https://console.cloud.google.com/apis/library/customsearch.googleapis.com GOOGLE_API_KEY=your_google_api_key_here # Create Custom Search Engine: https://programmablesearchengine.google.com/ # Copy your Search Engine ID from the control panel GOOGLE_SEARCH_ENGINE_ID=your_search_engine_id_here # ============================================================================= # OPTIONAL - Advanced Configuration # ============================================================================= # MCP Transport Mode # Options: stdio (default), http # Use stdio for Claude Code/Desktop/Cline # Use http for testing or custom integrations #MCP_TRANSPORT=stdio # HTTP Server Port (only used when MCP_TRANSPORT=http) #PORT=3000 # ============================================================================= # OPTIONAL - Direct API Mode (Advanced Users Only) # ============================================================================= # By default, the server uses Agent Mode which leverages your existing Claude # session. This requires NO additional API key. # # Only enable Direct API mode if you: # - Are running automated scripts # - Need synthesis without interactive Claude session # - Have a specific use case requiring direct API calls # # To enable Direct API mode: # 1. Uncomment the lines below # 2. Get Anthropic API key: https://console.anthropic.com/ # 3. Install SDK: npm install @anthropic-ai/sdk # 4. Rebuild: npm run build # #ANTHROPIC_API_KEY=your_anthropic_api_key_here #USE_DIRECT_API=true # ============================================================================= # NOTES # ============================================================================= # - Never commit this file with real credentials # - Copy this file to .env and add your actual credentials # - The .env file is already in .gitignore # - Agent Mode (default) requires NO Anthropic API key # - See README.md for detailed setup instructions

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mixelpixx/Google-Search-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server