
Adrex AI
io.github.gauravapiscean由 GitHub 账号 gauravapiscean 发布v1.0.12更新于 Oct 24, 2026
Open-source MCP server for Google Ads & Meta Ads — manage campaigns from any AI assistant.
概览
开源 MCP 服务器,让助手用自然语言管理 Google Ads 与 Meta Ads 的广告系列、报表、关键词和定向。
- 可以做什么
- 列出并查看 Google Ads 与 Meta Ads 的账户、广告系列、广告组、广告和受众
- 创建、更新、暂停、恢复和删除广告系列、广告组、广告与关键词(新建项默认暂停)
- 添加关键词与否定关键词,调整出价、预算和 Meta 定向
- 获取效果报表:广告系列汇总、每日时间序列、设备/平台/年龄细分、竞价洞察、预算详情
- 分析关键词、广告与素材表现、搜索词、转化跟踪健康状况及近期账户变更
- 执行跨平台账户体检、诊断效果变化原因,并查看已连接的平台
- 适用场景
- 适合希望在聊天客户端而非广告后台中查看、调整或新建 Google Ads 与 Meta Ads 广告系列的人,例如每周效果复盘、预算调整、关键词清理或上线新广告系列。
- 运行要求
- 通过 npx(Node.js)以 stdio 方式在本地运行;厂商另提供带浏览器登录的远程 HTTP 方式。需要 Adrex 账户并在其后台连接 Google/Meta 广告账户,还需在 ADREX_API_KEY 中提供 API 密钥。可选 ADREX_API_URL 覆盖后端地址,支持代理环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Adrex AI,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Adrex AI
Open-source MCP server for Google Ads & Meta Ads
Manage your ad campaigns in plain English from Claude Code, Cursor, Codex, Gemini, or any MCP client.
[npm version] [npm downloads] [MIT license]
Quick Start | 64 Tools | Platform | Discord
What is Adrex AI?
Adrex AI is an open-source MCP (Model Context Protocol) server that connects AI assistants to your Google Ads and Meta Ads accounts. Instead of navigating complex dashboards, you manage campaigns, reporting, keywords, and targeting through natural language — from Claude, Cursor, Codex, or any MCP client.
Platforms: Google Ads and Meta Ads (Facebook & Instagram) today — TikTok and LinkedIn coming soon.
You connect your ad accounts once in the Adrex dashboard (secure OAuth — your tokens stay on our servers, never in the MCP client), then drive everything from your AI assistant. There are two ways to connect (see Quick Start): a remote server with browser sign-in — no API key, or this npx server with an API key.
Safety First
These tools operate on real ad accounts that spend real money:
- All campaigns and ads are created PAUSED — no spend until you explicitly resume
- Destructive and spend-starting actions return clear warnings
- Read operations (metrics, lists) run freely without side effects
Quick Start
First, sign up at adrex.ai and connect your Google/Meta ad accounts in Settings. Then pick one of the two ways to connect.
Option A — Remote server (recommended, no API key)
Connect over HTTP and authorize in your browser — nothing to copy or paste. Your client stores its own secure token. In the Adrex dashboard, Settings → Connect to your AI (MCP) shows a one-command connect with your server URL. It looks like:
Claude Code:
Claude Desktop / Cursor / VS Code / other clients (JSON) — or use the one-click Add to Cursor / Add to VS Code buttons in Settings:
After adding, your client opens a browser tab — sign in and click Authorize. The consent screen shows which Adrex account you're authorizing as; if a different account is already signed in on that browser, use Not you? Switch before approving.
You can see and revoke every connected app in Settings → Connect to your AI → Connected AI apps.
Connected the wrong account? Every tool will report "Not connected" even though your ad accounts are linked. Revoke the app in Settings, then re-authorize. Note that re-running
claude mcp adddoes nothing once the server is configured (already exists in local config) — instead run/mcpin Claude Code, pickadrex-ai, and clear authentication.
Option B — npx server with an API key
Prefer the classic stdio server? Generate an API key in Settings, then add it below. Adrex ships a standard stdio MCP server, so it works with any MCP client — every config points at npx -y adrex-ai with your ADREX_API_KEY.
Claude Code:
Gemini CLI:
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json), Cursor (~/.cursor/mcp.json global or .cursor/mcp.json per-project), Gemini CLI (~/.gemini/settings.json), or any client using the JSON mcpServers format:
Codex (~/.codex/config.toml) — note Codex uses TOML, not JSON:
Any other MCP client (Cline, Windsurf, Zed, Continue, …): point it at command npx -y adrex-ai with env ADREX_API_KEY set to your key.
That's it — no SDK setup, no developer tokens, no OAuth juggling. The server forwards each request to the Adrex backend, which uses the ad-account credentials you connected in the dashboard.
Behind a corporate proxy? v1.0.4+ automatically routes through
HTTP_PROXY/HTTPS_PROXY.
Tools
Google Ads (35 tools)
Campaigns
Ad Groups
Ads
Keywords
Reporting
Analysis
Meta Ads (26 tools)
Campaigns
Ad Sets
Ads
Targeting & Audiences
Reporting
Cross-Platform (3 tools)
Use Cases
Performance Review
"How are my Google Ads campaigns performing this month? Show me the ones with ROAS below 2x."
Campaign Management
"Create a new Meta traffic campaign called 'Summer Sale 2026' with a $75/day budget targeting ages 25-45 in the US."
Keyword Optimization
"Show me keywords in my 'Brand Terms' ad group. Pause any with quality score below 5."
Budget Control
"Increase the budget on my top-performing campaign by 20% and pause the one that's losing money."
Want More?
The MCP server gives you full campaign management from chat. The Adrex AI Platform adds:
- AI Campaign Agent — autonomous optimization with guardrails and rollback
- Creative Studio — AI-generated ad copy and images
- A/B Testing — native platform experiments
- Competitor Intelligence — track competitor ads across Google and Meta
- Budget Rules Engine — automated rules with natural language parsing
- Visual Dashboard — interactive charts, breakdowns, and time-series
Links
License
MIT License — see LICENSE for details.
Built by the team behind Adrex AI
来源:README.md,提交 0e26f3b
工具
0版本历史
1- v1.0.12最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分