Agency AI
Agency AI MCP turns Claude and ChatGPT into a full ad manager for your Meta (Facebook, Instagram) and Google ad accounts.
Documentation
Agency AI MCP Server
Create, launch, and manage Meta + Google ads from Claude and ChatGPT
๐ฏ Full ad management in chat | ๐ Real-time performance insights | โก Ad creation + editing | ๐ฐ Budget optimization
Works with any e-commerce platform or website. Deepest automation on Shopify.
๐ Table of Contents
- Overview
- What You Can Do
- Tool Reference
- Ad Management & Autopilot
- Platforms
- Requirements
- Quick Start
- Example Prompts
- FAQ
- Links
๐ฏ Overview
Agency AI MCP turns Claude and ChatGPT into a full ad manager for your Meta (Facebook, Instagram) and Google ad accounts. Ask questions, get strategy, and make real changes to your campaigns without leaving the chat:
โจ Performance Analysis โ campaign data, breakdowns, NCROAS and advanced KPIs ๐ฏ Strategy โ budget guidance, creative recommendations, scaling plans โก Ad Creation & Editing โ create conversion-optimized ads, update budgets, pause or launch campaigns ๐ค Autopilot โ schedule recurring ad management with Claude and ChatGPT scheduled tasks โฑ๏ธ Fast & Efficient โ faster responses with less token spend than direct-to-ad-platform MCPs
๐จ What You Can Do
๐ Analyst
Get campaign data, performance breakdowns, NCROAS and advanced KPIs across Meta and Google. Understand what's working and what's not.
๐ก Example: "Compare my top 5 campaigns by ROAS last month"
๐ฏ Strategist
Receive budget guidance, creative recommendations, scaling plans, and cross-channel campaign planning strategies.
๐ก Example: "Which campaigns should I scale and why?"
โก Ad Manager
Create new ads, pause underperformers, adjust budgets, and launch campaigns across Meta and Google in seconds โ without leaving the chat. Put it on a schedule and your account manages itself.
๐ก Example: "Pause all campaigns with ROAS below 2:1"
๐งฐ Tool Reference
15 tools: 10 read tools for analysis and 5 write tools for ad management.
๐ Read tools
| Tool | What it returns |
|---|---|
get_brand_info | Brand profile and economics โ what the store sells, its audience, and breakeven ROAS |
get_campaigns | Meta + Google campaigns with spend, revenue, ROAS, impressions, clicks, conversions, objective |
get_adsets | Meta ad sets (with daily budget and performance) or Google asset groups |
get_ads | Meta ads with performance for the date range, ranked by spend โ also the source-ad picker for create_ad |
get_ad_creative | One Meta ad's creative: type, primary text, headline, description, CTA, landing page, media URLs |
get_performance_timeseries | Daily spend, revenue, and ROAS per connected platform |
get_pacing | Month-to-date spend vs the monthly budget you set, per platform |
get_anomalies | Statistically unusual spend/ROAS days over the trailing 30 days |
get_recommendations | AI optimization recommendations with reasoning and confidence |
get_operation_status | Progress, result, or error of a queued ad creation |
โ๏ธ Ad management tools (write)
| Tool | What it changes |
|---|---|
create_ad | Creates a new Meta campaign, ad set, or ad โ with fresh conversion-optimized creative or an existing ad's creative |
update_campaign | Campaign name, daily budget, and/or status โ Meta and Google |
update_adset | Meta ad set name, daily budget, and/or status; Google asset group name and/or status |
update_ad | Meta ad name and/or status |
set_campaign_status | Starts or pauses up to 25 campaigns in one call, across both platforms |
โก Ad Management & Autopilot (write tools)
Five write tools let Claude or ChatGPT create ads, edit campaigns, and act on your ad account directly. Nothing runs without you: your assistant confirms every write with you before it executes โ see Guardrails below.
๐ ๏ธ What each write tool does
create_ad โ Creates a new Meta campaign, ad set, or ad. Creative comes from one of two places: brand-new conversion-optimized creative and copy generated by Agency AI, or an existing ad you point at (its creative is reused). placement decides how much structure is created:
placement | What gets created |
|---|---|
new-campaign | Campaign + ad set + ad (needs a daily budget) |
new-adset | Ad set + ad inside an existing campaign |
existing-adset | Ad only, inside an existing ad set |
Creation runs in the background and returns an operation_id; ask your assistant to check on it and it will call get_operation_status. A source ad set's schedule is not inherited: the new ad set runs with no end date unless you give a future one.
update_campaign โ Renames a campaign, changes its daily budget, and/or starts/pauses it, on Meta or Google. Each field reports its own outcome, so a partial result ("renamed, but the budget was rejected") comes back honestly rather than as a blanket failure.
update_adset โ Same three fields for a Meta ad set. Google asset groups support name and status only; their budget lives on the campaign.
update_ad โ Renames or starts/pauses a Meta ad. Meta only โ Google Performance Max has no separate ad level.
set_campaign_status โ Bulk start/pause for up to 25 campaigns in a single call, Meta and Google mixed. Each campaign succeeds or fails independently and the result lists every outcome, so one bad id never blocks the rest.
๐ค Autopilot
Pair the write tools with Claude's and ChatGPT's built-in scheduled tasks and routine ad management runs itself. Set the rule once in plain English; your assistant runs it on schedule:
- A 9am daily check that pauses anything below breakeven ROAS
- A Monday budget rebalance toward last week's winners
- A daily anomaly scan that flags unusual spend before it compounds
๐ก๏ธ Guardrails
- ๐ Your account only โ the account is resolved from your verified connection, never from what the assistant passes in. Ids that don't belong to your connected Meta or Google account are rejected before anything is written.
- โ
Confirmation first โ write tools are declared to Claude and ChatGPT as destructive (
readOnlyHint: false,destructiveHint: true), so your assistant asks before running one and the client can show its own approval prompt. The server also instructs the model to confirm with you before any write. - ๐ฐ Budget ceiling โ Meta daily budgets are clamped to $1โ$5,000/day, in chat exactly as in the dashboard.
- ๐ Same pipeline as the dashboard โ writes go through the same services and ownership checks the Agency AI dashboard uses, and every change lands in your activity log.
- ๐ Metered โ every tool call is recorded for your account (tool, duration, response size, errors), so what your assistant did is auditable.
- โฉ๏ธ Reversible โ anything paused can be re-activated the same way. A queued ad creation can be checked with
get_operation_status; pause the result if you change your mind.
๐ Platforms
Agency AI MCP works with any e-commerce platform or website โ connect your Meta and Google ad accounts and everything above works.
On Shopify? The Agency AI Shopify app adds a deeper data layer โ store revenue matched against ad spend, NCROAS and advanced KPIs โ for the most accurate analysis and automation. We recommend it for Shopify stores.
Not on Shopify? Create a standalone Agency AI account at agencyai.app/mcp and connect your Meta and Google ad accounts directly.
โ Requirements
- โ๏ธ An Agency AI account โ install the Shopify app or create an account on any platform
- โ๏ธ Claude Max subscription OR ChatGPT plan supporting custom connectors
- โ๏ธ At least one connected ad account (Meta and/or Google) in Agency AI
๐ Quick Start
Endpoint URL
https://s.agencyai.app/mcp
You'll need this URL for ChatGPT; Claude finds Agency AI in its connector directory.
๐ฑ Claude Setup
- Open Claude (claude.ai)
- Click your profile โ Settings โ Connectors
- Click Browse connectors and search for Agency AI
- Click Connect
- Sign in with your Agency AI account when prompted
- โ Done! Start asking Claude about your ads
Not seeing it? Click Add custom connector and paste https://s.agencyai.app/mcp.
๐ฌ ChatGPT Setup
- Open ChatGPT (chatgpt.com)
- Click your profile โ Settings โ Connectors
- Click Add connector
- Paste:
https://s.agencyai.app/mcp - Sign in with your Agency AI account when prompted
- โ Done! Start asking ChatGPT about your ads
๐ Need detailed steps? See llms-install.md for a complete walkthrough.
๐ฌ Example Prompts
Try these questions with your connected Claude or ChatGPT:
๐ Analysis
"How did my Meta campaigns perform last 30 days vs prior 30?"
"Show me my top 10 best-performing ads by ROAS"
"Which campaigns are underperforming and why?"
๐ฏ Strategy
"Which ads should I iterate on and which should I cut?"
"Where should I shift budget this week?"
"Give me creative recommendations for my top 5 performers"
โก Ad Management
"Pause all campaigns with ROAS below 2:1"
"Create a new ad for our bestseller and launch it in a new campaign at $50/day"
"Raise Spring Drop's daily budget to $150"
"Every weekday at 9am, check my account and pause anything below breakeven"
โ FAQ
What is Agency AI MCP? An MCP server that connects your Meta and Google ad accounts to Claude and ChatGPT. It handles performance analysis, budget optimization, creative recommendations, and scaling strategy, and it creates ads, edits campaigns, and runs your account on autopilot โ all by chat.
Do I need Shopify? No. Agency AI MCP works with any e-commerce platform or website. Shopify stores get the deepest data layer and the most accurate automation through the Agency AI Shopify app, so we recommend it if you're on Shopify.
Can Claude or ChatGPT actually create and edit my ads? Yes. Your assistant can create new conversion-optimized ads, change budgets and names, and pause or launch campaigns, ad sets, and ads across Meta and Google.
Will it change anything without my approval? No. Write tools are declared destructive so your assistant confirms with you before acting. Changes are budget-capped, ownership-checked, and every one lands in your activity log.
How is this different from connecting Meta or Google MCPs directly? One connector covers both platforms with pre-computed KPIs, a strategy layer, and ad creation built in. Responses come back faster with less token spend than direct-to-ad-platform MCPs.
What does it cost? MCP access is included with Agency AI plans. Create an account at agencyai.app/mcp to get started.
๐ Links
| Link | Purpose |
|---|---|
| ๐ Website | Learn more about Agency AI |
| ๐ Get Started | Create an account and connect |
| ๐๏ธ Shopify App | Install from Shopify App Store |
| ๐ง Support | Get help or send feedback |
๐ License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.