Gemini CLI Integration with Google Search MCP

📘 Complete Guide: Using Ace Data Cloud MCP in Gemini CLI →

Google search capabilities (web / images / news / maps / local businesses / videos) are integrated at once. After connecting to Gemini CLI via MCP, you can directly call it in the conversation without switching windows or copying and pasting.

Obtain API Token

Register an account on the Ace Data Cloud platform and copy the API Token from the homepage—one Token is sufficient to use all MCP Servers. For detailed steps, see the Complete Guide.

Get Ace Data Cloud API Key

Configuration

Edit configuration: one-click command line addition (recommended)

gemini mcp add serp \
  --transport http \
  https://serp.mcp.acedata.cloud/mcp \
  --header "Authorization: Bearer yourToken"

Or manually edit ~/.gemini/settings.json:

{
  "mcpServers": {
    "serp": {
      "httpUrl": "https://serp.mcp.acedata.cloud/mcp",
      "headers": { "Authorization": "Bearer yourToken" }
    }
  }
}

The tool will be available the next time the gemini session starts.

Usage Examples

Search for the latest AI video generation technology trends in May 2026, listing 5 key points.

Use Google to search for "capacitor 8 ios build error" in English results, sorted by time.

Find a set of images for "Eastern ink style LOGO design" as references, give me 8.

Tools

Tool Description
google_search Google web / images / news / maps / local businesses / video search