google-ads-mcp
v0.1.3Unofficial Google Ads MCP for campaigns, keywords, budgets, and gated mutations.
Values you need
| Variable | What it is | |
|---|---|---|
GOOGLE_ADS_DEVELOPER_TOKEN | optional secret | Google Ads API developer token from your Google Ads Manager account. Required. |
GOOGLE_ADS_CLIENT_ID | optional | Google OAuth2 client ID. Required. |
GOOGLE_ADS_CLIENT_SECRET | optional secret | Google OAuth2 client secret. Prefer storing in ~/.google-ads-mcp/config.json via setup. |
GOOGLE_ADS_LOGIN_CUSTOMER_ID | optional | Manager (MCC) customer ID used as login-customer-id header, no dashes (e.g., 1234567890). Optional but required for multi-account access. |
GOOGLE_ADS_REDIRECT_URI | optional | OAuth redirect URI. Defaults to http://127.0.0.1:3000/callback. |
GOOGLE_ADS_TOKEN_PATH | optional | Optional local path for OAuth tokens. Defaults to ~/.google-ads-mcp/tokens.json (0600). |
GOOGLE_ADS_PRIVACY_MODE | optional | Optional payload mode: summary, structured, or raw. Defaults to structured. raw returns full Google Ads API payloads. |
GOOGLE_ADS_ALLOW_MUTATIONS | optional | Set to true to enable write tools (pause/resume keywords/campaigns, set bids, set budgets). Default false (read-only). Agents changing real ad spend is high-stakes; review every change. |
GOOGLE_ADS_CACHE | optional | Optional SQLite cache toggle. Set to true or sqlite to enable. |
GOOGLE_ADS_CACHE_PATH | optional | Optional local SQLite cache path. Defaults to ~/.google-ads-mcp/cache.sqlite. |
GOOGLE_ADS_CACHE_TTL_SECONDS | optional | Optional cache TTL in seconds. Defaults to 60. Set to 0 to keep entries indefinitely (entries are still overwritten on each hit). |
GOOGLE_ADS_NO_RETRY | optional | Set to true to disable the HTTP retry middleware. Default false. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add google-ads-mcp -- npx -y google-ads-mcp-unofficial@0.1.3Add to
claude_desktop_config.json{
"mcpServers": {
"google-ads-mcp": {
"args": [
"-y",
"google-ads-mcp-unofficial@0.1.3"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"google-ads-mcp": {
"args": [
"-y",
"google-ads-mcp-unofficial@0.1.3"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"google-ads-mcp": {
"args": [
"-y",
"google-ads-mcp-unofficial@0.1.3"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.google-ads-mcp]
command = "npx"
args = ["-y", "google-ads-mcp-unofficial@0.1.3"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: google_ads_data_inventory, google_ads_capabilities, google_ads_agent_manifest, google_ads_connection_status, google_ads_privacy_audit, google_ads_cache_status, google_ads_clear_cache, google_ads_profile_get, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json