Adrex AI
MCP server by adrex-ai Community
Adrex AI is an open-source MCP server that lets AI assistants manage Google Ads and Meta Ads campaigns. It is for advertisers and marketers who want to run ad accounts in plain English from tools like Claude, Cursor, or Codex.
Install Adrex AI
Built from the published package, never by AI.
claude mcp add adrex-ai -e ADREX_API_KEY=YOUR_ADREX_API_KEY -- npx -y adrex-aiRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"adrex-ai": {
"env": {
"ADREX_API_KEY": "YOUR_ADREX_API_KEY"
},
"args": [
"-y",
"adrex-ai"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"adrex-ai": {
"env": {
"ADREX_API_KEY": "YOUR_ADREX_API_KEY"
},
"args": [
"-y",
"adrex-ai"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"adrex-ai": {
"env": {
"ADREX_API_KEY": "YOUR_ADREX_API_KEY"
},
"args": [
"-y",
"adrex-ai"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add adrex-ai --env ADREX_API_KEY=YOUR_ADREX_API_KEY -- npx -y adrex-ai{
"mcpServers": {
"adrex-ai": {
"env": {
"ADREX_API_KEY": "YOUR_ADREX_API_KEY"
},
"args": [
"-y",
"adrex-ai"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add adrex-ai npx -y adrex-aiGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the adrex-ai block.
About
Adrex AI is an open-source MCP server that connects AI assistants such as Claude, Cursor, Codex and Gemini to Google Ads and Meta Ads accounts. It lets users manage campaigns, reporting, keywords and targeting in plain English. Google Ads and Meta Ads are supported today, with TikTok and LinkedIn listed as coming soon. All campaigns and ads are created paused, and destructive actions return warnings.
You connect your ad accounts once in the Adrex dashboard using OAuth, and tokens stay on Adrex servers. Two connection options exist: a remote HTTP server with browser sign-in and no API key, or an npx stdio server using an ADREX_API_KEY. The project is aimed at people who want to manage Google or Meta ad campaigns from an AI chat. It is released under the MIT License.
Written from the project's README and checked against it.
Tools it gives your assistant
google_ads_campaign_performancePerformance summary across all Google Ads campaigns.google_ads_create_search_campaignCreates a Search campaign, which is created PAUSED.google_ads_pause_campaignPauses a Google Ads campaign.google_ads_keyword_insightsFull keyword audit in one call, covering negatives, wasted spend and missing keywords.google_ads_search_termsShows what people searched, what it cost, and which terms spent with nothing to show.meta_ads_create_campaignCreates a Meta campaign, which is created PAUSED.meta_ads_create_adCreates a Meta ad with copy, image, and CTA.meta_ads_update_targetingUpdates targeting on a Meta ad set.account_reviewOne call that summarizes account health across Google and Meta, including money at risk.campaign_diagnosisCompares the current window with the previous one and attributes why performance moved.
What you need
- An Adrex account at adrex.ai
- Google Ads or Meta Ads accounts connected in Adrex Settings
- An Adrex API key for the npx server option
| Setting | Needed | What it is |
|---|---|---|
ADREX_Environment variable, secret | Required | Your Adrex API key from https://adrex.ai/settings (after connecting your ad accounts). |
ADREX_Environment variable | Optional | Optional override for the Adrex backend API URL. Defaults to the Adrex hosted API. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Show me my Google Ads performance for the last 7 days
- Pause the campaign with the lowest ROAS
- Create a Meta campaign for our summer sale, $50/day budget
Good to know
- Supports Google Ads and Meta Ads only; TikTok and LinkedIn are coming soon.
- New campaigns and ads are created paused.
- Tools operate on real ad accounts that spend real money.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Adrex AI
All alternatives →Provides keyword research, site audits, rank tracking and AI visibility checks through an MCP server for AI assistants. It is aimed at people who find tools like Semrush and Ahrefs too expensive or bloated.
Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.
Analyzes Google Search Console, Google Analytics and keyword data so your AI agent can find SEO and AI search gaps. Built for SaaS and B2B teams using Claude Code, Codex, ChatGPT or Cursor.
NotFair is an open-source plugin of SEO, GEO, and marketing skills for AI agents. It also registers one hosted NotFair MCP connection that uses OAuth. It is for marketers and site owners who work with Claude Code, Codex, Cursor, Gemini CLI, and similar agents.
Connects AI clients to Elmo, an open-source platform that tracks how AI answer engines mention and cite a brand. It lets assistants read visibility data and manage tracked prompts. It is aimed at marketing, SEO, and agency teams doing answer engine optimization.
Clipwright.io turns a script or short brief into a short video, either a talking-actor ad or a faceless video. The assistant gets a free price quote before each render and receives a video URL back.
Compare with OpenSEO, openshorts or SEO Skill
Adrex AI: common questions
Does Adrex AI need an API key?
The remote server connects through browser sign-in and needs no API key. The npx stdio server uses an ADREX_API_KEY generated in Adrex Settings.
Where are my ad account tokens stored?
The source says OAuth tokens stay on Adrex servers and are never stored in the MCP client.
Which ad platforms does Adrex AI support?
Google Ads and Meta Ads, including Facebook and Instagram, are supported today. TikTok and LinkedIn are listed as coming soon.
How do I install Adrex AI?
In Claude Code run claude mcp add adrex-ai -e ADREX_API_KEY=YOUR_ADREX_API_KEY -- npx -y adrex-ai. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Adrex AI the official server?
Adrex AI is a community project by adrex-ai, not verified by a company domain.
Is Adrex AI free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Adrex AI safe to use?
It scores 61 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Adrex AI?
Similar MCP servers: OpenSEO, openshorts, SEO Skill, NotFair.
Does Adrex AI work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
