Docs menu

Connect an assistant · Chat apps

Connect Grok to Apogee

Grok (grok.com) connects to Apogee's MCP server at https://app.apogee.ad/mcp with Apogee's sign-in (OAuth). It then works on your Meta, TikTok and Snapchat ad accounts through Apogee's 80 tools: it reads freely, and launches or changes ads only after your explicit yes to a recap.

OAuth Streamable HTTP Apogee: Pro, Growth or Scale Markdown

At a glance

Server URLhttps://app.apogee.ad/mcp
TransportStreamable HTTP, stateless: every request is a POST answered with JSON.
Sign-inApogee's sign-in (OAuth 2.1 with PKCE): the assistant opens Apogee's page, you log in and click Authorize.
ScopesRead (read), Launch (launch), Actions (actions): ticked on Apogee's page when Grok signs in; untick what it should not do (scopes).
Apogee planPro, Growth or Scale (not Starter)
Server instructionsOn connection, Apogee tells Grok how to launch: the interview, the recap, your yes (read them).

Set it up

  1. Go to grok.com/connectors, click New Connector, then Custom.
  2. Name it Apogee, paste https://app.apogee.ad/mcp as the server URL, and click Add connector.
  3. In the window that opens, log in to Apogee, check what Grok may do, and click Authorize.
  4. Grok finds Apogee's tools: ask in a chat.

Grok Business and Enterprise: an admin adds Apogee first at console.x.ai, Grok Business → Connectors → + Add Connector → Other, with https://app.apogee.ad/mcp; then each member connects it at grok.com/connectors.

Grok Bot, xAI's personal agent, connects on its own: see Personal agents.

Written from xAI docs: Grok connectors and xAI docs: connector management.

Plans

  • On Grok's side: Grok users, at grok.com. Grok Business and Enterprise: an admin adds the connector for the team first.
  • On Apogee's side: the Pro, Growth or Scale plan includes the MCP server, with credits every month (10,000 on Pro, 30,000 on Growth, 100,000 on Scale); Starter does not. A 7-day trial for €1 includes a quarter of the plan's credits (plans, credits).
  • Your ad accounts connected in the Apogee app (Meta, TikTok or Snapchat): Grok sees exactly what your Apogee account sees.

Check the connection

Ask Grok, in your own words:

  1. "Which Apogee account are you connected to, and with which scopes?" Grok calls whoami: the Apogee account this connection acts as, the credential used (an assistant's connection or an API key) and its scopes.
  2. "List my Meta ad accounts on Apogee, then my TikTok and Snapchat ones." Grok calls list_ad_accounts, with platform set to tiktok or snapchat for the others. An empty list means no ad account of that platform is connected in the Apogee app.

Both are reads: free within the daily free reads, nothing changes. If Grok does not find Apogee's tools, check that Apogee is turned on where the last step above says.

Check the server from a terminal

Without a credential the server answers 401 with a WWW-Authenticate header pointing to https://app.apogee.ad/.well-known/oauth-protected-resource/mcp: that is where OAuth discovery starts.

No credential: expect 401
curl -i -X POST https://app.apogee.ad/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

What it can do

Grok gets Apogee's 80 tools, filtered by the scopes of its connection: a tool outside them is not even listed.

ScopeWhat it allowsToolsFor example
Read
read
Read ad accounts, campaigns, ad sets, ads and their numbers on Meta, TikTok and Snapchat, the comments of your ads and the Bridge's stats; follow imports, launches and transfers (nothing is sent). 54 whoami, list_ad_accounts, get_account_overview, get_top_performers, get_platform_overview, get_launch_questions
Launch
launch
Import and upload creatives, prepare and launch ads, run Bridge transfers, create a campaign. 9 import_link, prepare_launch, launch, prepare_bridge_transfer, execute_action
Actions
actions
Pause, activate, change budgets and targeting, duplicate, create ad sets and ads from existing posts. 18 pause_ad, update_budget, execute_action

By effect: 54 only read; 19 prepare a plan or an action; 4 write in Apogee only and 3 change the ad account, after your yes. Every tool, its parameters and its cost: all the tools.

Prompts to start with

Replace the [brackets] with your own names. Each prompt ends with Apogee's safety reminder: "Create everything paused, and show me the full recap before you create anything." or "Show me each change and wait for my yes before you make it."

The same launch from a link: no download, no upload on your side.

Prompt
Take every creative in [link] and launch them in a NEW ad set in my [testing campaign] campaign of [ad account]. Reuse the settings of the latest ad set and the latest ad launched in that campaign. Create everything paused, and show me the full recap before you create anything.

What it asks you: Which ad account, when you have several. The files it found behind the link, then the ads it reads from their names: one ad per creative in all its formats. Confirm or correct them. The new ad set's name, and what it copies from the latest ad set and ad. Which Advantage+ enhancements to turn on. The whole recap, then your explicit yes.

Works in every assistant. Google Drive, Dropbox and Frame.io links go through the account you connected in Apogee; a public Frame.io share works without one when downloads are allowed (reading it takes 20 to 30 seconds), a password-protected one does not.

Weekly review: what to scale, what to cut

Your numbers read for you, and the changes proposed one by one. Nothing changes without your yes.

Prompt
Look at [ad account] over the last 7 days. Which ads should I scale and which should I cut, judged on [ROAS or CPA]? Show me the numbers, then propose the changes. Show me each change and wait for my yes before you make it.

What it asks you: Your targets, when Apogee does not know them yet (it can remember them in your business profile). Each proposed change (pause, budget up or down) with what it will change, and your OK for each one.

Send a Meta ad to Snapchat or TikTok

An ad that works on Meta, sent to Snapchat or TikTok with Bridge, without exporting anything. The Meta ad is not touched.

Snapchat
Take my Meta ad [Meta ad] from [Meta ad account] and send it to Snapchat: campaign [campaign], ad squad [ad squad]. Create everything paused, and show me the full recap before you create anything.

What it asks you: Which Snapchat or TikTok ad account, when you have several. What the destination still needs and cannot take from the ads already there: a Snapchat public profile, a TikTok identity, a website, a headline. What cannot be carried over as is (a call to action remapped, a video that is not vertical): your yes accepts it. The whole recap, then your explicit yes.

Videos only on Snapchat and TikTok.

More templates: the MCP server's prompt templates.

Guardrails and limits

The server enforces them, whatever Grok is told:

  • Your yes before anything changes. A launch is prepare_launch, the recap, then launch; a change is an action tool, then execute_action; a Bridge transfer is prepare_bridge_transfer, then bridge_transfer. Nothing is created, changed or transferred before your explicit yes to the whole recap.
  • Ads are created paused unless you ask otherwise.
  • A prepared plan or action is valid 24 hours and runs once.
  • Daily budget cap: a daily budget above 500 in the ad account's currency is refused (budget_above_cap).
  • 25 launches and Bridge transfers per ad account in 24 hours through the MCP and the API.
  • 2,000 units per assistant connection or API key in 24 hours: a read 1, a change 2, Apogee's AI 5, a launch or a transfer 10.
  • MCP requests: 600 on Pro, 1,200 on Growth and Scale per 15 minutes (rate limits).
  • Credits: reads are free up to 5,000 on Pro, 10,000 on Growth and Scale a day; a change on an ad platform, an ad created and Apogee's AI cost credits, only when they succeed (credits).
  • Each platform on its own: Meta, TikTok and Snapchat keep their own currency and attribution; Apogee never adds them up.

Errors and fixes

A refused tool call comes back to Grok as a result with isError: true and the reason in words, so it can tell you what to do. The common ones:

What you seeWhy, and the fix
401: Apogee needs authentication, or every call failsThe sign-in was disconnected in Apogee, or its refresh token (valid 60 days) expired: connect again from the authorization step. An access token lasts 1 hour and Grok renews it on its own.
Grok sees Apogee but says it cannot launch or change anythingThe connection lacks a scope, so those tools are not listed. Connect again and keep Launch and Actions ticked on Apogee's page.
403 upgrade_requiredThe Apogee account is not on a plan with the MCP. It works again as soon as the account is on Pro, Growth or Scale.
The option to add Apogee is missing or greyed outYour organization controls it: an administrator allows it first (see Plans and the notes under the steps).
402 credits_exhaustedThis month's credits and the credit packs are used: buy a pack (credits) or wait for the 1st of the month (UTC). Reads go on.
429 rate_limited, quota_exceeded, daily_read_capA limit of the list above is reached: wait the seconds the answer gives (rate limits).
412 meta_not_connected, platform_not_connectedApogee's own Facebook, TikTok or Snapchat connection expired, not Grok's: log in to the Apogee app again, or reconnect the platform there.
410 plan_expired, 409 plan_already_launchedThe recap was prepared more than 24 hours earlier, or already ran: ask Grok to prepare it again.
409 same_error_againThe last launches on this ad account failed with the same error: fix its cause (the platform's message says what), then tell Grok it is fixed.

Every code: errors.

Disconnect

  • In Apogee: Settings → MCP → Connected assistants, then Disconnect next to Grok. It loses access at once; ads already launched are not touched, and you can connect it again at any time.
  • In Grok: remove Apogee where you added it.

Guides and related pages

Last updated on . The parameters, limits, credits and error codes of these pages are generated from the code of the Apogee API (contract 2026-10-06).

A question, something missing? Write to hello@apogee.ad.

Book a demo

Pick the time that suits you.

Open in a new tab

Loading the calendar…

Talk to Founder