Codex CLI Integration with Google Search MCP

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

Google search capabilities (web / images / news / maps / local businesses / videos) can be accessed in one go. After integrating MCP with Codex CLI, you can directly call it in the conversation without switching windows or copying and pasting.

Obtain API Token

Register an account at 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 the configuration: ~/.codex/config.toml

[mcp_servers.serp]
url = "https://serp.mcp.acedata.cloud/mcp"
type = "http"

http_headers = { "Authorization" = "Bearer yourToken" }

After saving, the tool will automatically load during the next codex session startup.

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