r/MCPservers • • 2d ago

Open-source MCP server for Google Ads (142 tools, read-only by default, works with Claude/Codex/Cursor)

A stdio MCP server that exposes 142 Google Ads API v25 operations to any MCP-compatible client (Claude Desktop, Claude Code, Codex CLI/Desktop/IDE, Cursor, Antigravity, Gemini CLI, Cherry Studio, Cline).

Design choices

  • Modular tool catalog. 10 domain modules (core, diagnostics, measurement, search, pmax, shopping, display, demand-gen, mcc, operations) + 5 one-word presets. Default preset loads 25 tools so tools/list doesn't poison LLM context.
  • Read-only by default. The 68 write tools in the operations module are excluded from tools/list when READ_ONLY_MODE=true. Every write tool additionally requires dry_run=true first → human approval → unchanged payload re-submitted with approval_id.
  • Governance layer. File-based multi-operator locking, structured audit log with export/rotation, parsed GoogleAdsError, approval expiry, daily budget-increase caps, max-bid micros cap.
  • Multi-tenant remote pilot (optional [remote] extras) with OAuth JWT validation, PKCE self-serve, per-tenant worker isolation, Fernet-encrypted refresh tokens.
  • Analysis profiles as Markdown + TOML files packaged in the wheel. Users can fork them per vertical.

Non-goals (deliberate)

  • No LLM inside the server. It's pure plumbing — the agent reasons, the server executes API calls honestly.
  • No "AI recommendations" invented on the server side. Every "finding" comes from a data query the user can reproduce.

Would love feedback on the governance model and the preset design — especially from folks who've built other write-capable MCP servers.

Repo: https://github.com/fidelp27/mcp-googleads
PyPI: pip install google-ads-mcp-server
License: MIT

1 Upvotes

8 comments sorted by

•

u/AutoModerator 2d ago

Weekly MCP news in one short email: spec changes, SDK security fixes, new servers. Free, from the r/MCPservers team.

Subscribe: https://mcpnewsletter.com/join?utm_source=reddit_automod&utm_medium=social

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/kantorcodes1 2d ago

One part of the write flow I could not pin down from the post: a write needs a dry_run preview first, then the unchanged payload goes back in with the approval_id. If the campaign itself changes between the preview and that second call, does the execute still apply the approved diff, or does it fail and force a fresh preview?

1

u/buildep27 1d ago

It fails and requires a fresh preview if the field that operation checks has changed. For example, if you preview pausing an enabled campaign and someone else pauses it before you execute, the MCP sees that the campaign status changed, marks the approval as stale, and blocks the write even though the payload and approval_id are unchanged. The check is specific to the operation. Pause and enable check campaign status, so a campaign rename alone wouldn’t invalidate that approval. There’s an automated test for the pause scenario.

1

u/kantorcodes1 1d ago

The operation-specific part is the bit I had wrong. A rename does not stale a pause approval, a status flip does, so the approval is tied to the field the write depends on. Is the pause case the only stale test you have so far, or do the other write operations each have one like it?

1

u/buildep27 1d ago

We have three direct stale-approval cases in the test suite. They simulate someone changing the campaign status, the budget amount, or a conversion action’s primary flag between preview and execution. In all three, the MCP rejects the original approval even though the requested change stays the same.

Enable and remove share the campaign-status check used by pause. Keyword bid updates and campaign conversion-goal updates also check for stale state. Those four still need their own stale-approval tests.

1

u/kantorcodes1 1d ago

Three direct cases and four more riding on shared checks is a clearer picture than I had. The stale check is the part worth writing down outside your own tests. HOL Guard keeps an MCP descriptor for servers like this in hol-guard under contributions/mcp-servers/, and yours would be mcp.googleads.json, with the pause approval going stale on a status flip as the first test. mcp.effectum.json is a merged one to copy the shape from. Would you open that PR? The guide is here: https://github.com/hashgraph-online/hol-guard/blob/main/docs/guard/mcp-server-contributions.md

1

u/JuicerSocial 1d ago

I'm curious about the preset approach. Have you noticed a difference in how reliably agents select the right tool when you expose 25 instead of the full catalog? We're working in the social media MCP space at Juicer, and balancing functionality with context overhead is particularly interesting to us.

1

u/buildep27 1d ago

I haven’t run a controlled comparison yet, so I don’t have a number for how much 25 tools improve selection accuracy. What the preset does give us is control over what the client discovers. core exposes 25 tools for common reporting and account checks, and presets like leads and ecommerce add the tools those workflows need. Full read-only mode exposes 74. I’d compare the two on tasks both catalogs can handle and measure correct first tool call, unnecessary calls, and tool-schema tokens actually sent to the model. I’m curious how you’re measuring that at Juicer. Are you seeing more impact from catalog size or from overlap between similar tools?