
Adrex AI
io.github.gauravapisceanPublished by GitHub account gauravapisceanv1.0.12Updated Oct 24, 2026
Open-source MCP server for Google Ads & Meta Ads — manage campaigns from any AI assistant.
Overview
Open-source MCP server that lets an assistant manage Google Ads and Meta Ads campaigns, reporting, keywords and targeting in plain language.
- What you can do
- List and inspect Google Ads and Meta Ads accounts, campaigns, ad groups/ad sets, ads and audiences
- Create, update, pause, resume and delete campaigns, ad groups, ads and keywords (new items start paused)
- Add keywords and negative keywords, adjust bids, budgets and Meta targeting
- Pull performance reports: campaign summaries, daily time series, device/platform/age breakdowns, auction insights, budgets
- Analyze keyword, ad and creative performance, search terms, conversion tracking health and recent account changes
- Run cross-platform account reviews, diagnose why performance moved, and check which platforms are connected
- When to use it
- Useful when you want to review, adjust or create Google Ads and Meta Ads campaigns from a chat client instead of the ad dashboards, for example weekly performance reviews, budget changes, keyword clean-up or launching a new campaign.
- Requirements
- Runs locally via npx (Node.js) as a stdio server, or the vendor also offers a remote HTTP option with browser sign-in. Needs an Adrex account with Google/Meta ad accounts connected in its dashboard, plus an API key in ADREX_API_KEY. Optional ADREX_API_URL overrides the backend URL; proxy variables are honored.
Installation
In SourceWeft
- Open Adrex AI 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
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
Source: README.md at commit 0e26f3b
Tools
0Version history
1- v1.0.12LatestSep 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