
Gadschain
io.github.SnipMCP由 GitHub 账号 SnipMCP 发布v0.1.1更新于 Oct 27, 2026
Google Ads MCP server. Read campaigns, manage budgets, pause/enable, add negative keywords.
概览
本地运行的 MCP 服务器,让助手读取并调整 Google Ads 广告系列:预算、暂停/启用状态和否定关键词。
- 可以做什么
- 列出广告系列,并按花费与转化指标查看搜索词
- 以美元为单位修改广告系列每日预算
- 暂停或启用广告系列
- 为指定广告系列添加否定关键词并选择匹配类型
- 返回结构化、已清洗的结果,出错时给出可读的错误信息而非原始 API 数据
- 适用场景
- 适合日常 Google Ads 账户运营:找出浪费预算的广告系列或搜索词、调整预算、暂停或恢复广告系列、添加否定关键词,都可以在对话中完成。
- 运行要求
- 以 Python 包在本地运行(pip 安装,或用 Docker)。需要通过环境变量提供 Google Ads API 凭据:GOOGLE_ADS_DEVELOPER_TOKEN、GOOGLE_ADS_CLIENT_ID、GOOGLE_ADS_CLIENT_SECRET、GOOGLE_ADS_REFRESH_TOKEN,以及 GOOGLE_ADS_LOGIN_CUSTOMER_ID 和 GOOGLE_ADS_CUSTOMER_ID。需要访问 Google Ads API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Gadschain,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
GadsChain
The AI layer between your Google Ads account and your marketing decisions.
Battle-tested. Six tools cover the daily-ops loop — campaign listing, search-term review, budget tuning, pause/enable, and negative-keyword grooming. All responses are strict Pydantic models. No raw protobuf reaches the agent.
☁️ Moving to production?
The open-source server runs locally with your own API keys. For hosted infrastructure with multi-account failover, SLA guarantees, and webhook alerts — join the managed cloud waitlist.
The Problem
Raw Google Ads API returns thousands of rows. One bad campaign structure bleeds budget silently. GadsChain reads, sanitizes, and acts on your ad data before waste compounds.
Installation
Or with Docker:
Configuration
Usage
Three example prompts to send to Claude (or any MCP-compatible agent):
Use get_campaigns to show me which campaigns are bleeding budget this monthRun get_search_terms for the last 30 days and tell me which queries are wasting spendAdd "free", "cheap", "jobs" as negative keywords to campaign 12345
Run it in two terminals
How it works
Three layers between raw Google Ads output and your model:
- Fetch: Targeted GAQL queries — only the columns the daily-ops loop actually needs. No
SELECT *, no protobuf pagination footguns. - Transform: Currency micros divided to dollars, CTR scaled to percent, enums to human strings, every nested attribute lookup tolerates missing fields without crashing.
- Act: Mutations route through guard rails —
REMOVEDblocked on status changes, shared budgets refused (shared_budget_refused), match types validated before any mutate call. The agent never gets an exception; it gets a structured{"error": ..., "message": ...}it can reason about.
Real numbers from a live Franka Pizzeria account (28-day window)
In one read of a real account, GadsChain surfaced $51.41 spent over 28 days for 3 conversions at $17.14 each — a 1.84% conversion rate hidden inside a 4.81% CTR that looks healthy on paper. The Display Network was the silent culprit, with Friday clicks averaging $0.11 CPC vs the $0.44 search-side average — cheap junk traffic inflating CTR while contributing nothing to conversions. The agent saw it because the transformed payload made channel attribution legible instead of buried in protobuf.
Roadmap
- Managed cloud tier (hosted, multi-tenant, webhook alerts)
- Phase 2: ChatGPT REST shim (FastAPI surface over the same six tools)
- Bid-strategy tuning tools (target CPA, target ROAS)
- Anomaly alerts on cost-per-conversion drift
Contributing
PRs welcome. Run pytest before submitting.
来源:README.md,提交 c95819c
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分