Ads MCP for Snapchat

Run your Snapchat ads from your AI assistant: reports, audits and previewed, paused-by-default changes. Free and open source (MIT). Unofficial, not affiliated with Snap Inc.

เอกสาร

Ads MCP for Snapchat

Let your AI assistant run your Snapchat ads. Ask in plain words, get a short answer, and approve changes before anything happens.

npm tests license: MIT

A free, open-source MCP server for the Snapchat Marketing API. Use it hosted (nothing to install) or on your own computer, with Claude, ChatGPT and other MCP apps.

Unofficial. Not affiliated with or endorsed by Snap Inc. This tool can change real ad campaigns that spend real money. You use it at your own risk (see LICENSE). Review every preview before approving.

What you can ask

  • "How is my account doing this week?" A dashboard of spend, ROAS and purchases, with pacing for the month.
  • "Which ad squads are not spending, and why?" It looks for the reasons it can find: paused parents, payment problems, rejected ads, audience and schedule issues.
  • "Is my billing healthy?" Funding source, credit left, and invoices that are overdue.
  • "Pause everything that wastes money." It shows you the list first, and nothing changes until you say yes.
  • "Launch a lead campaign with this form." Campaign, ad squad, creative and ad, all created paused.
  • "Build a Story ad from these five photos." Upload, cover tile, squad and ad.
  • "Create an audience from this customer list." Emails or phone numbers are hashed before they leave; only hashes go to Snapchat.
  • "Undo the last change."

Why this one

  • Free and open source. MIT licensed, no subscription, and you can read every line of the code that touches your ad account.
  • It can launch and change campaigns, not just read them. Campaigns, ad squads, creatives, ads, budgets, bids, schedules, targeting, audiences and catalogs. 91 tools.
  • Every change is previewed first. You see what will change, then confirm. Nothing is sent before that.
  • Everything new is created paused. Enabling is a separate step, and the preview shows what would really start spending.
  • Undo and an audit log. Every change is recorded with before and after values.
  • Short, plain answers in your language, with interactive cards in Claude (a dashboard, a board of campaigns, a preview you can confirm).
  • Each account's own time zone, including clock changes, so "yesterday" means yesterday where the account is.
  • Open source (MIT) and tested: over 580 automated tests that never touch a real account.

Who it is for

  • Brands and in-house marketers who want answers in plain words instead of clicking through Ads Manager: "Why did spend drop on Tuesday?", "Is anything rejected?".
  • Agencies and freelancers running several ad accounts: pick the account by name, check pacing and billing across them, and launch or copy what works.
  • App marketers and lead generation teams: App Install, Deep Link and lead form ads, with customer-list and lookalike audiences.
  • Developers who want a tested, readable MCP server for the Snapchat Marketing API to build on, or to run on their own machine.

What the reports measure

All money is in the ad account's own currency, with no conversion. Purchases are Snap-attributed conversions, not store orders, and every report says which attribution window it used.

MeasureWhere you find it
Spend, impressions, swipes (swipe-ups) and the swipe ratesnap_dashboard, snap_report
Purchases, purchase value, ROAS and cost per purchasesnap_dashboard, snap_report; snap_blended_roas compares Snap's revenue with your store's
Frequencysnap_report; snap_creative_fatigue uses it to find tired ads
Video views and any other metric Snap offerssnap_get_stats takes the metric names you ask for (raw numbers, spend in micro-currency)
Pacing: today's spend vs budget, month to date, projected monthsnap_spend_pacing, snap_dashboard
By day, hour of the day, two time windows side by side, or by country, gender, age, regionsnap_report (daily, hourly, compare, audience)
The funnel: impressions, swipes, views, add to cart, checkout, purchases, with the weakest stepsnap_funnel
Very large reportssnap_report_async_start, snap_report_async_status, snap_report_async_download

What it can do: all 91 tools

Everything here works on both the hosted connector and your own computer. Anything that changes something is previewed first and created paused, and needs your confirmation. The first rows are the ones people ask about most: launching campaigns and every ad format.

Launch campaigns

Build a campaign from scratch, always created paused. Squads target by country, age, gender, interest, device, audiences and places around a point, with goals for sales, traffic, awareness, video views, landing pages, story opens, app installs and lead forms.

ToolWhat it does
snap_create_campaigncreate a new empty campaign, paused
snap_create_adsquadcreate a new purchase-optimized web ad squad (max bid, target cost or auto-bid, interests, device OS, buyer exclusions), paused
snap_create_creative, snap_create_adcreative from an image or video: WEB_VIEW (swipe-up link) or SNAP_AD (the Snap only); ad from a creative, its type taken from the creative (paused)

Every ad format

Story, Collection, lead generation, App Install, Deep Link and catalog (dynamic product) ads.

ToolWhat it does
snap_create_product_set, snap_create_dynamic_templatewrite (preview + approval): a filtered group of catalog products; a product layout
snap_create_story_creativeStory Ad: 1-20 existing Snaps in a fixed order, with an optional tile for the Stories tab
snap_create_lead_formLead generation form: standard fields, custom questions, privacy link, legal text and consent boxes, optional banner and end page
snap_create_lead_creativeLead ad creative: an image or video that opens a lead form
snap_create_app_creativeApp Install or Deep Link creative: swipe-up to the app store, or into a screen of the installed app
snap_create_collection_creativeCollection Ad: a main image or video with 4-20 product tiles, each opening its own page

Audiences

Estimate reach, then build pixel, lookalike and customer-list audiences and keep buyers out.

ToolWhat it does
snap_audience_sizeread: Snap's reach estimate for an ad squad or for targeting you are planning, with a verdict (very small / small / OK / very broad)
snap_bid_estimateread: Snap's bid range for a goal before you spend, for an ad squad or planned targeting, compared with the bid in use (below, in range or above)
snap_audience_insightsread: who is in an audience (age, gender, languages, interests, devices) compared with everyone in the same countries, with an index
snap_exclude_segmentsadd buyer-exclusion audiences to an ad squad (adsquad_id), or to up to 20 (adsquad_ids)
snap_create_lookalikecreate a lookalike audience from a customer-list seed
snap_create_pixel_audienceaudience of people who fired pixel events (e.g. ADD_CART)
snap_upload_customer_listcustomer-list audience from a local CSV; hashed locally, only hashes uploaded

Media, copy and clone

Upload pictures and videos from your computer or a public link, and duplicate what works.

ToolWhat it does
snap_upload_media_from_urlwrite: upload a JPEG, PNG, MP4 or MOV (up to 32 MB) from a public https link, for the hosted version; previews first, and only public https addresses are fetched
snap_copy_campaigncopy a campaign (all or selected ad squads, with or without ads), paused
snap_copy_adsquadcopy one ad squad into a campaign, paused
snap_clone_adclone an ad into other ad squads, paused (skips duplicates and different product sets)
snap_clone_creativeduplicate a creative with a new name/headline/link
snap_upload_mediaupload a local video/image (up to 1 GB, chunked above 32 MB) to the ad account, not attached to any ad

Edit what exists

Pause, enable, change budgets, bids, targeting, schedules and placements. Undo any change. Delete with care.

ToolWhat it does
snap_set_frequency_capwrite (preview + approval): at most N impressions per person per N hours/days, or clear it
snap_set_ad_schedulewrite (preview + approval): which hours of which days ads run; Snap allows it only on lifetime-budget ad squads
snap_set_bid_strategywrite (preview + approval): switch an ad squad between max bid, target cost and auto-bid (no bid; the preview says it removes the bid cap), with a new bid for the first two, inside the bid limits. Snap's goal rules for each strategy are checked.
snap_set_placementwrite (preview + approval): automatic, or custom positions (Discover feed, Camera, Spotlight, Stories...). Undo works when a placement was set before.
snap_set_statuspause / enable one item (id) or up to 20 (ids; skips items already in that state, warns when a parent is paused)
snap_set_daily_budget, snap_set_bid, snap_renameedit. snap_set_daily_budget also takes adsquad_ids with mode set or scale for up to 20 ad squads; snap_rename takes ids with find and replace for up to 20 items
snap_set_targetingchange countries, age, gender, interests, device OS, include segments, stop excluding segments; everything else is kept
snap_set_scheduleset start/end time on a campaign or ad squad (id), or on up to 20 (ids)
snap_undorevert a change from the log (refuses if the field changed again since)
snap_deleteguarded delete: paused, no spend in 30 days, no active children, exact name typed

Reports and numbers

Spend, ROAS, purchases, pacing for the month, comparisons, and big reports.

ToolWhat it does
snap_spend_pacingread: today's spend per active ad squad vs its budget for this time of day, month-to-date spend, projected month and, with a monthly budget, over / under
snap_blended_roasread: Snap's reported revenue vs the revenue your store confirms (you give the store figure): overstates, understates or consistent
snap_creative_compareread: the ads of a campaign or ad squad ranked against the median ROAS (WINNER / LAGGING), grouped by call to action
snap_funnelread: impressions → swipes → views → add to cart → checkout → purchases with the rate at each step and the weakest step
snap_portfolio_summaryread: all your ad accounts side by side (yesterday and last 7 days, what needs attention, totals per currency). Reads the settings files you list in SNAP_PORTFOLIO_FILES; the AI app cannot choose files.
snap_dashboard, snap_campaign_boardread: interactive cards (see docs/tools.md): an account dashboard (spend, ROAS, purchases, pacing, alerts, 7/14/30 days) and a campaign or ad squad board with Pause, Resume and budget buttons. Without card support the same numbers come back as data
snap_reportread: performance reports. view = table (ROAS, CPA, swipe rate, frequency by ad squad or ad; the default), daily (day by day, up to 31 days), hourly (by local hour of the day, last 1-7 days, best and worst hours), compare (two time windows side by side) or audience (by country, gender, age, region, dma or make)
snap_report_async_start, snap_report_async_status, snap_report_async_downloadread: very large CSV reports saved to exports/

Checks and audits

Why something is not spending, rejected ads, odd spikes, worn-out creatives, broken links and tracking.

ToolWhat it does
snap_ad_previewread: a no-login preview link (90 days) and a Snapcode to scan on a phone (7 days)
snap_check_landing_pagesread: opens each active ad's link once (https only, never private addresses) and flags broken, slow, server-error and non-https links, links that end on another site, and links missing parameters you name
snap_anomaly_checkread: yesterday vs the usual day: spend spike or drop, zero or falling purchases (possible broken pixel), ROAS drop, cost-per-purchase spike
snap_competitor_adsread: a company's ads from Snap's public Ads Gallery (no login, nothing about your account sent; Europe only)
snap_capi_status, snap_capi_test_eventConversions API TEST events only: read the last test events and their errors; send one test event (previewed, email hashed). No tool sends real conversion events.
snap_budget_adviceread: suggested daily-budget moves (lower the weak, raise the proven, funded by what is freed, inside your limits), each naming the tool that applies it
snap_unused_mediaread: uploaded images and videos no creative uses (never deletes)
snap_audience_healthread: audiences that are not targetable, tiny, stale, or unused by active ad squads
snap_catalog_feed_statusread: for each catalog feed, the last completed upload, the latest upload's status and issues
snap_health_checkread: audits every active squad for missing buyer exclusion, high frequency, low swipe rate, low ROAS, spend with no purchases, paused parents
snap_review_issuesread: rejected / pending ads with Snap's reasons
snap_delivery_checkread: why an active ad squad is not spending: paused campaign, schedule not started or ended, no ads or none approved, no budget, missing pixel, inactive account; passes Snap's own delivery status through
snap_pixel_healthread: pixel signal readiness and event-quality issues, top priority first
snap_creative_fatigueread: which ads are tired (ROAS down 30%+ with higher frequency or lower swipe rate), which to replace first

Billing and account

Funding source, credit left, overdue invoices, who has access, payments, lead forms and more.

ToolWhat it does
snap_billing_checkread: ad account status, funding sources (card expiry, daily limit vs budgets, credit left) and a verdict
snap_account_adminread: the ad account's settings (status, currency, time zone, billing type, spend cap), the organization's billing centers, and how many people have access with which role (emails masked); never changes anything
snap_list_profilesread: the public profiles (brand identities) this login can use for creatives, with their ids; with only one, new creatives use it automatically
snap_account_detailsread: pick one list with what: invoices, transactions, lead forms, mobile apps, event details, interaction zones, offer disclaimers, phone numbers (masked), organizations, organization pixels, media stats, catalog products; contact details masked, and if Snapchat does not answer it says which paths were tried

Find and list

Find anything by name, see the campaign board, list what is in the account.

ToolWhat it does
snap_list_dynamic_templatesread: the ad account's dynamic templates (product layouts for catalog ads)
snap_list_campaigns, snap_list_adsquads, snap_list_ads, snap_list_creatives, snap_get_entity, snap_get_media, snap_get_statsread
snap_findread: find campaigns, ad squads or ads by (part of) their name and get their ids, with parent names and ad squad budgets; accents and Arabic letter variants are ignored
snap_api_getread-only GET for anything else (allow-listed paths, never writes)
snap_list_segments, snap_list_pixels, snap_list_catalogs, snap_list_product_sets, snap_targeting_optionsread: audiences, pixels, catalogs, product sets, interest/region/language ids
snap_list_mediaimages and videos in the account (READY by default), newest first, filter by type and name

Start, setup and history

A first-run guide, a connection check, choosing the ad account, and the record of every change.

ToolWhat it does
snap_pingcheck credentials
snap_connectconnect an ad account from inside the chat (link, pasted address, account choice); saves access on this computer, changes no ads
snap_start_hereread: the first-run guide: who is connected (masked), whether changes are allowed, the limits, the active ad account (or the list to choose from), a snapshot of campaigns and ad squads, a warning about active ad squads under paused campaigns, and what to say next
snap_change_logread the local log
snap_change_historyread: the changes made through this server, newest first, with before and after values and an Undo button for each one that can be reverted (interactive card)
snap_setup_checkread: a checklist of the login, ad account, pixel, brand profile, main country, change log and human approval, plus the money limits in use (interactive card)

Creators and tracking

Turn creators' ad codes into paused ads, and test Conversions API events.

ToolWhat it does
snap_influencer_batchinfluencer flow for up to 10 ad codes into one squad; expired codes are skipped
snap_claim_ad_codeclaim a creator ad code (one-way, single-use)
snap_influencer_adthe whole influencer flow in one step: claim, wait for media, creative, paused ad

More detail (ad formats step by step, playbooks, interactive cards) is in docs/tools.md.

Get started in 2 minutes

1. Add the connector. In your AI app add this address as a custom connector:

https://ads-mcp-remote.ads-mcp.workers.dev/mcp
  • Claude: Settings, Connectors, Add custom connector. Name it Ads MCP for Snapchat and paste the address.

  • ChatGPT: Settings, Apps, Advanced settings, Developer mode, then create a connector with that address and OAuth. Full steps (not tested yet, so tell us how it goes).

  • Claude Code: run this, then type /mcp inside Claude Code and choose Authenticate to sign in with Snapchat:

    claude mcp add --transport http snapchat-ads https://ads-mcp-remote.ads-mcp.workers.dev/mcp
    
  • Cursor: add this to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project). When Cursor shows Needs authentication, click Connect and sign in with Snapchat:

    {
      "mcpServers": {
        "snapchat-ads": {
          "url": "https://ads-mcp-remote.ads-mcp.workers.dev/mcp"
        }
      }
    }
    
  • Any other app that supports remote MCP servers with sign-in uses the same address. Only Claude has been tested so far.

2. Sign in with Snapchat. Press Connect and use the Snapchat login you use for Ads Manager. "Allow changes" is ticked by default, so you can launch and edit from the start. Untick it if you only want to look: that choice is fixed for the connection, and to change it you remove the connector and sign in again.

3. Say: Use snap_start_here. Pick your ad account by name, then ask anything from the lists above.

Prefer to keep everything on your own computer? See running it locally: a Claude Desktop file (no terminal) or npx -y ads-mcp-for-snapchat setup.

HostedOn your computer
Installnoneone file or one command
Where your login token livesencrypted on the maintainer's Cloudflare accountonly on your computer
Works with ChatGPT and other remote-only appsyes in design, not tested yetno
Interactive cards in Claudeyesnot in the Claude Desktop extension
All 91 toolsyesyes
Spending capsnone: you decide, your AI app's prompt is the approvalyes, limits you set
Pictures, videos, customer listsfrom a public link or pasted valuesfrom files in ~/SnapAds

Let your AI set it up

Paste this into Claude Code, Cursor, Codex or any assistant that can read web pages and edit files:

Set up Ads MCP for Snapchat for me by following https://raw.githubusercontent.com/Usame794/snapchat-ads-mcp/main/skills/ads-mcp-for-snapchat/SKILL.md

It checks whether you are already connected, asks whether you want the hosted connector or your own computer, adds the server to your app without touching your other servers, and checks that it works. It never asks you to paste a secret into the chat: signing in happens in your browser, and secrets are typed into the setup command in your own terminal. The same file is an Agent Skill, so your assistant can keep it as a guide to using the tools well.

How safe is it?

  • Every write is a two-step: a preview, then a confirmation with a single-use approval code bound to exactly that change.
  • Things are created paused, and each change checks that it belongs to your ad account.
  • Locally, hard spending limits apply (you set them). On the hosted connector there are no spending caps: each person decides the amounts, so keep your AI app's permission prompt on for tools that change things. You can also ask for an extra approval page of the service when you sign in.
  • The hosted service keeps your Snapchat login token encrypted, and the operator holds the keys and could decrypt it. Only sign in if you trust the operator; you can delete everything with snap_disconnect and revoke the app in Snapchat Business Manager at any time.

Details: safety, limits and terms and what the hosted version stores.

How this relates to Snap's own Ads MCP server

Snap runs its own hosted Ads MCP server. According to Snap's documentation it is read-only: an agent can read Snapchat Ads data but cannot create, update or delete anything.

  • Only need to look at your numbers? Snap's own server is the simplest way, and you don't have to install anything.
  • Want to launch and change campaigns? That is what this project is for, with previews, approval, undo and an audit log.
  • You can use both side by side.

This project is unofficial and is not made, endorsed or supported by Snap.

Documentation

Honest status

  • Reports, audits, billing checks, dashboards and the basic campaign flows have been used on a real account. Lead generation, App Install, Deep Link and Story and Collection ads are built from Snap's reference with mocked tests, and have not been run on a live account yet. If Snap refuses something, its message says why; please open an issue.
  • The hosted connector has been tested with Claude only. ChatGPT has not been tried yet.
  • Not built: Lens creatives, reach-and-frequency budgets, position-level reports, custom placement lists.
  • It is run by one independent maintainer and has not had an independent security review.

Development

npm ci, then npm test (all tests use a mocked API; none touch your account). See ARCHITECTURE.md for the design and CONTRIBUTING.md before sending changes. Found a security problem? Use the private form described in SECURITY.md, not a public issue.

MIT licensed. "Snapchat" is a trademark of Snap Inc., used only to say which API this tool works with.