Home / Marketing & sales / google-ads-mcp
google-ads-mcp
io.github.davidmosiah/google-ads-mcp · v0.1.3 stdio
Unofficial Google Ads MCP for campaigns, keywords, budgets, and gated mutations.
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #59 of 219 Marketing & sales servers on Socketlist by score, with 4 GitHub stars and a last code push 29d ago.
Install
npx -y google-ads-mcp-unofficialAssembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect google-ads-mcp to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.
claude mcp add --env GOOGLE_ADS_DEVELOPER_TOKEN=<google_ads_developer_token> --env GOOGLE_ADS_CLIENT_SECRET=<google_ads_client_secret> --transport stdio google-ads-mcp -- npx -y google-ads-mcp-unofficial.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.
{
"mcpServers": {
"google-ads-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"google-ads-mcp-unofficial"
],
"env": {
"GOOGLE_ADS_DEVELOPER_TOKEN": "${GOOGLE_ADS_DEVELOPER_TOKEN}",
"GOOGLE_ADS_CLIENT_SECRET": "${GOOGLE_ADS_CLIENT_SECRET}"
}
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"google-ads-mcp": {
"command": "npx",
"args": [
"-y",
"google-ads-mcp-unofficial"
],
"env": {
"GOOGLE_ADS_DEVELOPER_TOKEN": "${env:GOOGLE_ADS_DEVELOPER_TOKEN}",
"GOOGLE_ADS_CLIENT_SECRET": "${env:GOOGLE_ADS_CLIENT_SECRET}"
}
}
}
}Configuration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
GOOGLE_ADS_DEVELOPER_TOKEN | No | Yes | Google Ads API developer token from your Google Ads Manager account. Required. |
GOOGLE_ADS_CLIENT_ID | No | No | Google OAuth2 client ID. Required. |
GOOGLE_ADS_CLIENT_SECRET | No | Yes | Google OAuth2 client secret. Prefer storing in ~/.google-ads-mcp/config.json via setup. |
GOOGLE_ADS_LOGIN_CUSTOMER_ID | No | No | 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 | No | No | OAuth redirect URI. Defaults to http://127.0.0.1:3000/callback. |
GOOGLE_ADS_TOKEN_PATH | No | No | Optional local path for OAuth tokens. Defaults to ~/.google-ads-mcp/tokens.json (0600). |
GOOGLE_ADS_PRIVACY_MODE | No | No | Optional payload mode: summary, structured, or raw. Defaults to structured. raw returns full Google Ads API payloads. |
GOOGLE_ADS_ALLOW_MUTATIONS | No | No | 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 | No | No | Optional SQLite cache toggle. Set to true or sqlite to enable. |
GOOGLE_ADS_CACHE_PATH | No | No | Optional local SQLite cache path. Defaults to ~/.google-ads-mcp/cache.sqlite. |
GOOGLE_ADS_CACHE_TTL_SECONDS | No | No | 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 | No | No | Set to true to disable the HTTP retry middleware. Default false. |
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.
{
"allowedMcpServers": [
{
"serverCommand": [
"npx",
"-y",
"google-ads-mcp-unofficial"
]
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Score breakdown
| Part | Points | What we observed | Result |
|---|---|---|---|
| Maintenance | 35/40 | Last push 29d ago, 1 open issues | Strong |
| Security hygiene | 35/35 | Licence MIT, SECURITY.md present, published package or hosted endpoint | Strong |
| Adoption | 8/25 | 4 GitHub stars, 71 npm downloads a week | Weak |
Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.
Maintain this server? Claim or correct this listing, or get featured in Marketing & sales. Paid placements are labelled and never change the score.
Five scored MCP servers, every Monday
The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.
| GitHub stars | 4 |
| npm weekly downloads | 71 |
| Last push | 29d ago |
| Licence | MIT |
| Open issues | 1 |
| SECURITY.md | Yes |
| Language | TypeScript |
| Latest version published | 2026-07-03 |
Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.
Similar servers
google-ads
Score 82. Maintenance 40 of 40, security 35 of 35, adoption 7 of 25.io.github.mharnett/google-ads
Google Ads MCP with MCC support: 86 tools for campaigns, keywords, reporting, GAQL.
ads
Score 83. Maintenance 38 of 40, security 35 of 35, adoption 10 of 25.com.adspirer/ads
Manage Google, Meta, Amazon, TikTok, LinkedIn & ChatGPT ads. 430 tools for campaigns & analytics.
bing-ads
Score 83. Maintenance 39 of 40, security 35 of 35, adoption 8 of 25.io.github.mharnett/bing-ads
MCP server for Microsoft Advertising (Bing Ads) — campaigns, keywords, and reports