adrex-ai
OfficialProvides tools to manage Google Ads campaigns, ad groups, ads, keywords, and reporting, including campaign performance, time series, breakdowns, and auction insights.
Provides tools to manage Meta Ads campaigns, ad sets, ads, targeting and audiences, and reporting across Facebook and Instagram.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@adrex-aiShow me my Google Ads performance for the last 7 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
What is Adrex AI?
Adrex AI is an open-source MCP (Model Context Protocol) server that connects AI assistants to your Google Ads account, with Meta Ads coming soon. 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 today — Meta Ads (Facebook & Instagram), TikTok, and LinkedIn coming soon.
You: "Show me my Google Ads performance for the last 7 days"
Claude: [calls google_ads_campaign_performance] → table with spend, clicks, CTR, ROAS
You: "Pause the campaign with the lowest ROAS"
Claude: [calls google_ads_pause_campaign] → campaign paused, no more spend
You: "Create a Meta campaign for our summer sale, $50/day budget"
Claude: [calls meta_ads_create_campaign] → campaign created PAUSED for your reviewYou 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
Related MCP server: flour-ads
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 mcp add --transport http adrex-ai https://<your-adrex-server>/mcpClaude Desktop / Cursor / VS Code / other clients (JSON) — or use the one-click Add to Cursor / Add to VS Code buttons in Settings:
{
"mcpServers": {
"adrex-ai": { "type": "http", "url": "https://<your-adrex-server>/mcp" }
}
}After adding, your client opens a browser tab — sign in and click Authorize. Done.
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:
claude mcp add -s user adrex-ai -e ADREX_API_KEY=your-api-key -- npx -y adrex-aiGemini CLI:
gemini mcp add adrex-ai -e ADREX_API_KEY=your-api-key -- npx -y adrex-aiClaude 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:
{
"mcpServers": {
"adrex-ai": {
"command": "npx",
"args": ["-y", "adrex-ai"],
"env": {
"ADREX_API_KEY": "your-api-key"
}
}
}
}Codex (~/.codex/config.toml) — note Codex uses TOML, not JSON:
[mcp_servers.adrex-ai]
command = "npx"
args = ["-y", "adrex-ai"]
env = { ADREX_API_KEY = "your-api-key" }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 (28 tools)
Campaigns
Tool | Description |
| List all accessible Google Ads accounts |
| List campaigns with performance metrics |
| Get detailed campaign info and metrics |
| Create a Search campaign (created PAUSED) |
| Update name, budget, or bidding strategy |
| Pause a campaign |
| Resume a paused campaign |
| Permanently remove a campaign |
Ad Groups
Tool | Description |
| List ad groups with metrics |
| Create an ad group with CPC bid |
| Update name, bid, or status |
| Pause an ad group |
| Remove an ad group |
Ads
Tool | Description |
| List ads with headlines, URLs, and metrics |
| Create RSA with headlines & descriptions |
| Pause an ad |
| Enable a paused ad |
| Remove an ad |
Keywords
Tool | Description |
| List keywords with quality score and metrics |
| Add keywords (BROAD, PHRASE, EXACT) |
| Add negative keywords to a campaign |
| Pause a keyword |
| Remove a keyword |
Reporting
Tool | Description |
| Performance summary across all campaigns |
| Daily metrics over a date range |
| Breakdowns by device or network |
| Competitive auction metrics |
| Campaign budget details |
Meta Ads (25 tools)
Campaigns
Tool | Description |
| List all Meta ad accounts |
| List campaigns with metrics |
| Get detailed campaign info |
| Create a campaign (created PAUSED) |
| Update name, budget, or status |
| Pause a campaign |
| Activate a paused campaign |
| Delete a campaign |
Ad Sets
Tool | Description |
| List ad sets with targeting and metrics |
| Create ad set with targeting options |
| Update name, budget, or status |
| Pause an ad set |
| Delete an ad set |
Ads
Tool | Description |
| List ads with creative details and metrics |
| Create ad with copy, image, and CTA |
| Pause an ad |
| Activate a paused ad |
| Delete an ad |
Targeting & Audiences
Tool | Description |
| Search targeting interests and behaviors |
| List custom audiences |
| List your Facebook pages |
| Update ad set targeting |
Reporting
Tool | Description |
| Performance summary across campaigns |
| Daily performance time series |
| Breakdowns by device, platform, age, gender |
Cross-Platform (1 tool)
Tool | Description |
| Check which platforms are connected and your usage |
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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for AI agents to manage ad campaigns across Google, Meta, LinkedIn, Microsoft, Reddit, TikTok, and moreLast updated212314MIT
- Alicense-qualityDmaintenanceMCP server for managing ad campaigns across Google Ads, Meta, and more. Enables deploying campaigns, checking performance, and managing budgets from terminal or AI assistants.Last updatedMIT
- AlicenseAqualityAmaintenanceAn MCP server that gives your AI assistant read + write access to Google Ads and GA4 — with safety guardrails that prevent accidental spend.Last updated67223MIT
- Flicense-qualityDmaintenanceMCP server that lets any LLM manage Google Ads campaigns from the terminal. Supports read and write operations.Last updated
Related MCP Connectors
OpenAI Ads MCP for ChatGPT Ads campaigns, creatives, audiences, insights, and conversions.
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/adrex-ai/adrex-ai'
If you have feedback or need assistance with the MCP directory API, please join our Discord server