Docs

Set up Zoma and put your agent to work.

Zoma (ZomaMCP) by AgentWeb is an MCP server that lets Claude, ChatGPT, Codex and Cursor plan, launch and report on Meta, Google and X ads. Nothing spends until you approve.

You connect Zoma to Claude, ChatGPT, Codex, Cursor, or any client that supports MCP (Model Context Protocol). Your agent can then report on performance, upload your own images and videos, and create or change campaigns on Meta, Google and X. Every change is previewed first and waits for your approval.

Zoma is not affiliated with Meta, Google, X, or the unrelated company at zoma.ai. For the technical reference, see docs.agentweb.pro/zoma.

Before you begin

You need:

  • A Zoma account. You can create one during setup.
  • An ad account you can manage on Meta, Google Ads or X Ads, or any mix. Setup run by your agent connects Meta first; without a Meta account, add the server yourself (see Connect your AI tool).
  • An agent that supports MCP, such as Claude, ChatGPT, Claude Code, Codex, Cursor or VS Code.
  • For Meta ads, a Facebook Page you can advertise as. Setup won't finish without one.

Reads, drafts and paused ads need no card. Making an ad live needs the Zoma plan, which starts with a $1 7-day trial (see Pricing). Changes on Meta also need a connected ad account that granted ads management access.

Connect your AI tool

Every client uses the same MCP server URL. Pick yours below. Connecting takes about 2 minutes, and you approve it in your browser.

https://api.agentweb.pro/api/meta-toolkit/mcp

Claude

In claude.ai or Claude Desktop: Settings → Connectors → Add custom connector, then paste the URL above.

Can't find Connectors? Open Plugins in Claude's sidebar (or Customize → Connectors), then Add → Add custom connector.

ChatGPT

In ChatGPT on the web, open Plugins, select + then Add custom MCP server, paste the URL above as the server URL, choose OAuth, and select Create as a plugin. In a company workspace an admin may need to allow it.

Claude Code

$ claude mcp add --transport http zoma https://api.agentweb.pro/api/meta-toolkit/mcp

Codex

$ codex mcp add zoma --url https://api.agentweb.pro/api/meta-toolkit/mcp

Cursor

One click, or paste the URL as a remote MCP server.

Add to Cursor

VS Code

Add this to .vscode/mcp.json:

{"servers":{"zoma":{"type":"http","url":"https://api.agentweb.pro/api/meta-toolkit/mcp"}}}

Other MCP clients

Any other MCP client can connect over the HTTP transport (Streamable HTTP):

{"mcpServers":{"zoma":{"url":"https://api.agentweb.pro/api/meta-toolkit/mcp"}}}

Agents that can't use MCP can call the same tools over HTTPS with the bearer token from setup. The endpoints are in the technical reference.

Finish setup

The fastest path is to let your agent do the setup. Paste this into your agent:

Get me set up with Zoma. Follow the setup guide at https://api.agentweb.pro/api/meta-toolkit/skill.md. Send me each link I need to open, register the MCP server yourself, then call zoma_status to confirm I'm set up.

Your agent starts the flow, sends you links to approve, and registers the MCP server itself. You never copy a token.

  1. Approve the connection. Your agent gives you a link and a short code. Open the link, sign in to Zoma (or sign up), and confirm the code matches.
  2. Connect your Meta ad account. Open the Meta link your agent sends, sign in to Facebook and pick the ad accounts your agent can use.
  3. Confirm. Your agent calls zoma_status. Setup is done when it reports that everything is set. It also gives the links to add Google Ads or X Ads.

If you added the server yourself, the first connection opens the sign-in page in your browser. Then ask your agent to call zoma_status. It returns a checklist and a link for the next step, and you can start with Meta, Google Ads or X Ads. Repeat until it reports that everything is set.

Connect ad accounts

You choose what your agent can touch.

  • Meta uses Facebook login. Reads need ads_read, and changes need ads_management.
  • Google Ads uses Google sign-in.
  • X Ads uses X sign-in. On X, budgets live on line items, and line items default to a 30-day schedule unless you set an end date.

On Meta and Google, your agent only sees the ad accounts you pick. On X, it sees every ad account your X login can manage. zoma_status shows each platform's status. If you connected more than one ad account, your agent picks one by passing its account ID.

Revoke access any time from Meta Business settings, your Google Account or your X connected apps.

How changes are approved

Every change on Meta, Google or X takes two steps. Uploading files and building creatives take one, because they cannot spend:

  1. Preview. Your agent sends the change without confirming it. Nothing changes in your ad account. Zoma returns a preview.
  2. Confirm. Your agent shows you the preview. After you approve, it sends the same change again with a confirm token. The token works once and expires after 15 minutes.

If anything changed between the preview and the confirm, Zoma refuses the change and your agent shows you a fresh preview. Zoma also applies these rules:

  • New campaigns, ad sets and ads are always created paused. Going live is a separate yes.
  • Turning something on is a separate change with its own preview. It can't be combined with a budget change.
  • Creating a Meta campaign requires an explicit objective, such as OUTCOME_LEADS or OUTCOME_SALES. Meta does not let you change it later, so Zoma checks with you.
  • Budgets are in major units of the ad account's currency. 50 means $50.00 in a USD account. The preview shows the converted amount.
  • New Google campaigns and ad groups start paused. Enabling one is a separate approved change, with a conversion-tracking check first.
  • Unusually large budget changes, launches without tracking in place, and rapid repeated edits are checked or blocked.
  • On Meta, a change is done only when the result says CONFIRMED. Zoma reads it back from Meta to check. UNCONFIRMED or MISMATCH means the change may not have applied as intended. Unclear Google results come back UNCONFIRMED.

What the tools do

Reads change nothing in your account. Changes go through preview then confirm, and are checked afterwards. Uploading files and building creatives needs no preview.

Meta Ads

ToolUse it to
zoma_ads_reportSpend, impressions, clicks, CTR, CPC, conversions and ROAS per campaign or for the account
list_meta_ads_campaignsList campaigns in the ad accounts you shared
get_meta_ads_metricsGet metrics for one or more campaigns over 7, 14, 30 or 90 days
call_meta_ads_insights_apiRun a custom insights query with fields, breakdowns and date ranges
meta_ads_readList or get campaigns, ad sets, ads, creatives, Pages and datasets, preview ads, search targeting, check match quality
meta_ads_writeCreate, update or copy campaigns, ad sets and ads, and upload and build creatives
meta_ads_deleteArchive or delete campaigns, ad sets and ads (refused if they spent in the last 24 hours, unless you explicitly accept that)
zoma_prepare_uploadUpload local images (max 30 MB) and videos (max 1 GB) for your creatives
ads_get_datasets, ads_get_customconversionsCheck pixels (datasets), their events and stats, and custom conversions
zoma_audiences_read, zoma_audiences_write, zoma_audiences_deleteCreate customer-list, website and lookalike audiences, add or remove people, and exclude existing customers from ad sets

Google Ads

Reporting queries (spend, clicks, conversions and CPA by campaign, ad group or keyword), plus changes to budgets, campaigns, ad groups, keywords and responsive search ads, and Performance Max campaigns. Keywords, ads, campaigns and asset groups are created paused, and turning each one on is its own approved change. Unclear results come back UNCONFIRMED.

X Ads

Read and change campaigns, line items and promoted posts, list ad accounts and funding instruments, and pull stats by day or in total. Budgets go on line items, in your account's currency, echoed back before you approve. New line items are created paused and run for 30 days unless you set an end date. Activating one is a separate approval.

Zoma (all platforms)

ToolUse it to
zoma_statusCheck your setup, see each platform's status, and get the next step with a link
zoma_usageThis month's tool calls, how many changes were confirmed, mismatched or unconfirmed, and your latest changes

Your agent can list every tool with its description; this page covers the main ones.

Upload your own creatives (Meta)

Use this when you made images or videos elsewhere, such as Higgsfield, Midjourney, Canva, or with a designer. Uploading an asset or building a creative doesn't spend money, so these steps don't need a preview.

  1. Get the file to Zoma. If the file already has a public https URL, your agent uses that URL. If it's on your computer, your agent prepares a one-time upload. The upload link lasts 15 minutes.
  2. Upload it to your ad account. For videos, Meta processes the file and returns a thumbnail.
  3. Build the creative. A name, your Page, primary text, headline, link, an optional call to action, and the image or video.
  4. Create the ad. Your agent creates the ad in the ad set using the preview and approval flow. The ad is created paused.
File typeFormatsMax size
Images.jpg, .jpeg, .png, .gif, .webp30 MB
Videos.mp4, .mov, .m4v, .webm1 GB

Example prompts

Meta

  • Which campaigns are above my $80 CPA this week?
  • Pause anything with CPA over $80, preview first
  • Turn these 5 videos into paused retargeting ads
  • Duplicate my best ad set with a $30/day budget, paused

Google Ads

  • Which Google Search campaigns had the worst CPA last week?
  • Pause Google ad groups with spend but zero conversions in 30 days, preview first
  • List my Google Ads budgets and which campaigns use each one
  • Turn my Brand campaign back on, preview first

X Ads

  • How did my X campaigns do last week? Spend and engagements by line item
  • Add a $40/day line item to my launch campaign, paused, preview first
  • Promote these 3 posts in my new line item
  • Which funding instruments can I use on my X Ads account?

Pricing

Reads and drafts need no card. Going live starts a $1 7-day trial, then $50/month with 5,000 calls included, then $0.01 per call after that. Every successful call, reads included, counts once the plan starts. The $1 is charged when you start the trial. Cancel before it ends to avoid the $50 charge.

The trial is once per person. If you had the plan before, it starts at $50 right away.

Cancel any time from the billing link in your trial reminder email, sent on day 3, or write to support@agentweb.pro.

Limits

  • Zoma accepts up to 60 calls a minute.
  • Zoma limits daily budgets on Meta, Google and X (500 a day in most currencies) and refuses any single change that more than doubles a budget. A refusal says which limit applied.
  • Connected through Databricks, Zoma only reads.

Not available yet

Product catalogs and feeds, Meta Ad Library search, and LinkedIn Ads are not available yet.

Usage and revoking access

Ask your agent to call zoma_usage to see this month's tool calls and writes. To remove access to your ad accounts, revoke it from Meta Business settings, your Google Account or your X connected apps.

To disconnect Zoma itself, remove it from your AI tool's connectors.

Troubleshooting

A change was refused

Ask your agent to call zoma_status. It returns the step that is missing and a link to finish it. If it was about making an ad live, the refusal includes the link to start the Zoma plan.

Reads work but changes fail

Changes on Meta fail with an ads management message: your Meta connection was made without permission to manage ads. Write to support@agentweb.pro and we will help you reconnect.

The setup code expired

Setup codes expire. Ask your agent to start setup again.

The result says UNCONFIRMED or MISMATCH

The change may not have applied as previewed. Ask your agent to read it back before retrying.

A video upload says processing

Meta is still processing the video. Your agent tries again in a minute.

Support

Questions: support@agentweb.pro. Answers to common questions are in the FAQ. The technical reference is at docs.agentweb.pro/zoma, and the guide for agents is at api.agentweb.pro/api/meta-toolkit/skill.md.

Let your AI assistant run your ads.Connect Claude, ChatGPT, Codex or Cursor to Meta, Google and X Ads in about two minutes.
Connect my agent