Skip to main content
Glama
0-shiv

Google Ads Gateway MCP

by 0-shiv

Codex front door — MCP server

Wraps the Google Ads Gateway Worker as two Codex tools: list_accounts and run_gaql. Holds no Google credentials — just the Worker URL and the shared team token.

Per-laptop setup (each teammate, once)

Logging into the shared ChatGPT/Codex account does not carry this — MCP config is a local file. Each laptop does this once (~30 seconds):

cd <path-to>/google-ads-gateway/mcp
npm install

Then add the server to Codex's config. For Codex CLI, edit ~/.codex/config.toml:

[mcp_servers.google_ads]
command = "node"
args = ["/ABSOLUTE/PATH/TO/google-ads-gateway/mcp/index.js"]
env = { GADS_GATEWAY_URL = "https://google-ads-gateway.<subdomain>.workers.dev", GADS_GATEWAY_TOKEN = "<team token>" }

(For the IDE/desktop Codex, add the same command / args / env in its MCP settings UI.)

Restart Codex. Then in a session:

list my google ads accounts for ACI, pull cost, clicks and conversions by campaign for the last 30 days

Related MCP server: google-ads-mcp

Quick local test (without Codex)

GADS_GATEWAY_URL=https://google-ads-gateway.<subdomain>.workers.dev \
GADS_GATEWAY_TOKEN=<team token> \
npx @modelcontextprotocol/inspector node index.js

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A typed MCP server that wraps the Google Ads API v20, enabling AI agents to manage campaigns, budgets, keywords, conversions, and run GAQL search via structured MCP tools.
    22
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP server that provides tools and resources for interacting with Google Ads API, enabling search, metadata retrieval, and account management through natural language.
    3
    2,765 PyPI
    982
    Apache 2.0
  • A
    license
    B
    quality
    C
    maintenance
    A local MCP server that lets Codex answer conversational questions about Meta Ads performance. It provides read-only tools for listing ad accounts, checking active ads, and summarizing account performance.
    6
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for Google Ads API that enables LLMs to search and query Google Ads accounts, retrieve resource metadata, and generate keyword ideas.
    Apache 2.0