Codex CLI Integration with Google Search MCP

📘 Complete Guide: Using all 11 AceData Cloud MCPs in Codex CLI →

Google Search capabilities (Web / Images / News / Maps / Local Businesses / Videos) integrated at once. After connecting Codex CLI through MCP, you can directly invoke it in conversations without switching windows or copying and pasting.

Obtain API Token

Register an account at AceData Cloud Platform and copy the API Token on the homepage — one token can be used for all 11 MCP Servers. Detailed steps are in the Complete Guide.

Configuration

Edit the config file: ~/.codex/config.toml

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

http_headers = { "Authorization" = "Bearer 你的Token" }

After saving, the tool will be automatically loaded at the next codex session startup.

Usage Examples

Search for the latest AI video generation technology trends in May 2026 and list 5 key points

Use Google Search for English results of "capacitor 8 ios build error", sorted by time

Find a set of image references for "Oriental ink wash style LOGO design", give me 8 images

Tools

Tool Description
google_search Google Web / Images / News / Maps / Local Businesses / Video Search