
Mcp Gads
io.github.pijuszPublished by GitHub account pijuszv0.5.4Updated Oct 24, 2026
Google Ads MCP server — query campaigns, keywords, assets & more via natural language
Overview
A local MCP server that lets an assistant query Google Ads accounts, campaigns, keywords, assets and performance metrics in natural language.
- What you can do
- List accounts, currencies and MCC hierarchies, and run arbitrary GAQL queries with table, JSON or CSV output plus GAQL help and resource lists. Read campaign, ad group, ad, budget, conversion, impression share, schedule, audience, landing page, placement, asset group, video and label reporting. Review keyword ideas, search volumes, quality scores, search terms and search term insights. Inspect image assets, download them to disk and see where assets are used. Fetch Google recommendations and account change history. Optionally pause or enable campaigns, ad groups and ads, change daily budgets and add negative keywords when write tools are enabled.
- When to use it
- Useful when you want an assistant to pull and explain Google Ads performance data, research keywords, audit search terms or assets, or make small account changes without opening the Google Ads interface.
- Requirements
- Runs locally over stdio via npx (Node 22+), bunx, a global npm install or a prebuilt binary for macOS, Linux or Windows. Needs a Google Ads API developer token in GOOGLE_ADS_DEVELOPER_TOKEN and an OAuth client JSON path in GOOGLE_ADS_CREDENTIALS_PATH; a setup command completes OAuth and saves a refresh token. Optional variables set auth type, default customer ID, MCC login ID, impersonation email, API version and mutation enabling.
Installation
In SourceWeft
- Open Mcp Gads in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Google Ads MCP server — query campaigns, keywords, assets & more via natural language.
Built with Bun + TypeScript. Works with Claude, Cursor, and any MCP client.
Quick Start
1. Get Credentials
You need a Google Ads API developer token and OAuth client credentials.
- Download your OAuth client JSON from Google Cloud Console
- Set environment variables:
- Run the setup helper to authorize:
This opens your browser, completes OAuth, and saves a refresh token.
2. Add to Claude Code
That's it. Restart Claude Code and the tools are available. Every session runs the latest version automatically.
Also works with
bunx mcp-gads@latestif you have Bun. Requires Node 22+ when running vianpx.
If your environment blocks npm registry access at runtime, install once and run the published binary name directly:
Alternative: standalone binary
Download a pre-built binary from Releases:
macOS / Linux:
Windows (PowerShell):
ChatGPT Codex
Codex uses TOML, not JSON. Install once, then add to ~/.codex/config.toml:
Three gotchas that cause silent failures on Codex:
- Don't use
npx -ywithout raising the timeout. Codex's defaultstartup_timeout_secis 10s, which is too short for npx's first-run download. A global install (above) or the prebuilt binary sidesteps this entirely. If you must use npx, addstartup_timeout_sec = 30. - Env vars must go under
[mcp_servers.gads.env]. Codex does not inherit the parent shell environment into stdio servers — exporting vars in your shell won't reach the server. - Use absolute paths for
GOOGLE_ADS_CREDENTIALS_PATH. Codex spawns the server with its own cwd, so relative paths silently miss.
On Windows some Codex versions use startup_timeout_ms = 20000 instead of _sec.
Claude Desktop
Add to your claude_desktop_config.json:
Using npx (auto-updates)
Using binary (macOS / Linux)
Using binary (Windows)
Tools (39)
Account Management
Queries
Campaigns
Ads
Assets
Keywords
Geographic & Device
Insights
Extended Reporting
Write Tools (disabled by default)
Enable with GOOGLE_ADS_ENABLE_MUTATIONS=true:
Configuration
Updates
Using npx @latest (recommended): You always get the latest version — no manual updates needed.
Using a binary: The server checks for new releases on startup and logs to stderr if outdated:
Check your installed version:
To update, download the new binary and replace the old one.
Development
Requires Bun.
License
MIT
Source: README.md at commit 79040e3
Tools
0Version history
1- v0.5.4LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts