# Agency AI MCP MCP Server

> **Agency AI MCP MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to Agency AI MCP.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/agency-ai-mcp
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

Agency AI manages Meta (Facebook and Instagram) and Google Ads campaigns from one interface. Analyze spend, revenue, ROAS, and campaign anomalies; get optimization recommendations; create ads; adjust budgets; and pause underperforming campaigns.

---

## Details

- Server ID: `agency-ai-mcp`
- Version: 0.1.0
- Tools: 17
- Authentication: OAuth, managed by MewCP
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — Agency AI MCP has to be in the toolset
first. In order:

1. Add Agency AI MCP to your toolset at https://mewcp.com/mcp/agency-ai-mcp
2. Connect your Agency AI MCP account (OAuth); MewCP stores the credential and attaches it to each call
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `manage_connections(requests?)` — connection status and account aliases, plus
  links the user opens to add an app or connect an account
- `call_tool(app_maskedId, tool_name, args, alias?)` — execute

If Agency AI MCP isn't in the toolset or connected yet, `manage_connections` with
app_maskedId `agency-ai-mcp` returns a link that adds it and connects an account.

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (17)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `get_brand_info` _(read)_ — Brand profile and economics: what the store sells, audience, and breakeven ROAS (profitability threshold). For budgets use get_pacing. Also returns currencies:…
- `get_campaigns` _(read)_ — Meta + Google ad campaigns with spend, revenue, ROAS, impressions, clicks, conversions, objective. Top 50 by spend. Each Google row carries a campaignType…
- `get_performance_timeseries` _(read)_ — Daily spend, revenue, and ROAS per connected platform over a date window. The result names the window it covers (period, start_date, end_date) — report the…
- `get_store_metrics` _(read)_ — The Shopify store's own figures for a date window, as shown on the app's home page: total sales, orders, average order value, sessions (traffic), ad spend,…
- `get_pacing` _(read)_ — Month-to-date ad spend vs the merchant-set monthly budget, per platform. A platform with budgetConfigured: false has no budget set — say so rather than…
- `get_anomalies` _(read)_ — Statistically unusual spend/ROAS days over the trailing 30 days (z-score based). Days with no data yet or a failed fetch are never flagged; today and yesterday…
- `get_recommendations` _(read)_ — Use this when the merchant asks what to change, improve, optimize, scale, cut or pause in their Meta or Google ads. Returns Agency AI's own generated…
- `get_ads` _(read)_ — Meta ads with performance for the date range (spend, revenue, ROAS, impressions, clicks, conversions) plus ad set and campaign ids, top spenders in the date…
- `get_ad_creative` _(read)_ — Creative content of one Meta ad: ad type (image/video/dynamic), primary text, headline, description (arrays when the ad carries multiple variants), CTA button,…
- `get_adsets` _(read)_ — Ad sets (Meta) or asset groups (Google): id, name, status, campaign id, Meta daily budget, and Meta performance for the date range (spend, revenue, ROAS,…
- `get_creative_assets` _(read)_ — The store's Asset Library — the images and videos it already has on file with Agency AI, uploaded or generated in the app. Each row carries an id, name, tags,…
- `get_operation_status` _(read)_ — Progress, result, or error of an ad creation started by create_ad, which runs in the background. Pass operation_id for one operation. Omit operation_id to list…
- `create_ad` _(destructive)_ — Create a new Meta campaign, ad set, or ad. placement picks how much new structure is created: new-campaign (campaign + ad set + ad), new-adset (ad set + ad…
- `update_campaign` _(destructive)_ — Update a campaign's name, daily budget, status (active/paused), and/or — on Google — target ROAS. Meta daily budgets are in the ad account's billing currency,…
- `update_adset` _(destructive)_ — Update a Meta ad set's name, daily budget, and/or status, or a Google asset group's name and/or status. Google asset groups have no budget of their own. The…
- `update_ad` _(destructive)_ — Update a Meta ad's name and/or status. Meta only — Google has no separate ad level. The change is applied immediately to the live ad account and affects real…
- `set_campaign_status` _(destructive)_ — Start (activate) or pause one or more campaigns in a single call, across Meta and Google. Reports per-campaign success or failure. The change is applied…

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/agency-ai-mcp/connect/claude
- ChatGPT: https://mewcp.com/mcp/agency-ai-mcp/connect/chatgpt
- Grok: https://mewcp.com/mcp/agency-ai-mcp/connect/grok
- DeepSeek Harness: https://mewcp.com/mcp/agency-ai-mcp/connect/dsh
- Mistral Vibe: https://mewcp.com/mcp/agency-ai-mcp/connect/mistral-vibe
- VS Code: https://mewcp.com/mcp/agency-ai-mcp/connect/vscode
- Cursor: https://mewcp.com/mcp/agency-ai-mcp/connect/cursor
- Codex: https://mewcp.com/mcp/agency-ai-mcp/connect/codex
- Claude Code: https://mewcp.com/mcp/agency-ai-mcp/connect/claude-code
- OpenCode: https://mewcp.com/mcp/agency-ai-mcp/connect/opencode
- OpenClaw: https://mewcp.com/mcp/agency-ai-mcp/connect/openclaw
- Antigravity: https://mewcp.com/mcp/agency-ai-mcp/connect/antigravity
- Hermes: https://mewcp.com/mcp/agency-ai-mcp/connect/hermes
- Kimi Code: https://mewcp.com/mcp/agency-ai-mcp/connect/kimi-code
- Grok Build: https://mewcp.com/mcp/agency-ai-mcp/connect/grok-build
- Devin Desktop: https://mewcp.com/mcp/agency-ai-mcp/connect/devin-desktop
- Zed: https://mewcp.com/mcp/agency-ai-mcp/connect/zed
- Muse Code: https://mewcp.com/mcp/agency-ai-mcp/connect/muse-code
- Cline: https://mewcp.com/mcp/agency-ai-mcp/connect/cline
- Kilo Code: https://mewcp.com/mcp/agency-ai-mcp/connect/kilo-code
- Kiro: https://mewcp.com/mcp/agency-ai-mcp/connect/kiro
- Junie: https://mewcp.com/mcp/agency-ai-mcp/connect/junie
- Amp: https://mewcp.com/mcp/agency-ai-mcp/connect/amp
- Qwen Code: https://mewcp.com/mcp/agency-ai-mcp/connect/qwen-code
- Goose: https://mewcp.com/mcp/agency-ai-mcp/connect/goose
- Python: https://mewcp.com/mcp/agency-ai-mcp/connect/python
- TypeScript: https://mewcp.com/mcp/agency-ai-mcp/connect/typescript