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.
Dokümantasyon
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.
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.
| Measure | Where you find it |
|---|---|
| Spend, impressions, swipes (swipe-ups) and the swipe rate | snap_dashboard, snap_report |
| Purchases, purchase value, ROAS and cost per purchase | snap_dashboard, snap_report; snap_blended_roas compares Snap's revenue with your store's |
| Frequency | snap_report; snap_creative_fatigue uses it to find tired ads |
| Video views and any other metric Snap offers | snap_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 month | snap_spend_pacing, snap_dashboard |
| By day, hour of the day, two time windows side by side, or by country, gender, age, region | snap_report (daily, hourly, compare, audience) |
| The funnel: impressions, swipes, views, add to cart, checkout, purchases, with the weakest step | snap_funnel |
| Very large reports | snap_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.
| Tool | What it does |
|---|---|
snap_create_campaign | create a new empty campaign, paused |
snap_create_adsquad | create 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_ad | creative 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.
| Tool | What it does |
|---|---|
snap_create_product_set, snap_create_dynamic_template | write (preview + approval): a filtered group of catalog products; a product layout |
snap_create_story_creative | Story Ad: 1-20 existing Snaps in a fixed order, with an optional tile for the Stories tab |
snap_create_lead_form | Lead generation form: standard fields, custom questions, privacy link, legal text and consent boxes, optional banner and end page |
snap_create_lead_creative | Lead ad creative: an image or video that opens a lead form |
snap_create_app_creative | App Install or Deep Link creative: swipe-up to the app store, or into a screen of the installed app |
snap_create_collection_creative | Collection 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.
| Tool | What it does |
|---|---|
snap_audience_size | read: 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_estimate | read: 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_insights | read: who is in an audience (age, gender, languages, interests, devices) compared with everyone in the same countries, with an index |
snap_exclude_segments | add buyer-exclusion audiences to an ad squad (adsquad_id), or to up to 20 (adsquad_ids) |
snap_create_lookalike | create a lookalike audience from a customer-list seed |
snap_create_pixel_audience | audience of people who fired pixel events (e.g. ADD_CART) |
snap_upload_customer_list | customer-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.
| Tool | What it does |
|---|---|
snap_upload_media_from_url | write: 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_campaign | copy a campaign (all or selected ad squads, with or without ads), paused |
snap_copy_adsquad | copy one ad squad into a campaign, paused |
snap_clone_ad | clone an ad into other ad squads, paused (skips duplicates and different product sets) |
snap_clone_creative | duplicate a creative with a new name/headline/link |
snap_upload_media | upload 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.
| Tool | What it does |
|---|---|
snap_set_frequency_cap | write (preview + approval): at most N impressions per person per N hours/days, or clear it |
snap_set_ad_schedule | write (preview + approval): which hours of which days ads run; Snap allows it only on lifetime-budget ad squads |
snap_set_bid_strategy | write (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_placement | write (preview + approval): automatic, or custom positions (Discover feed, Camera, Spotlight, Stories...). Undo works when a placement was set before. |
snap_set_status | pause / 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_rename | edit. 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_targeting | change countries, age, gender, interests, device OS, include segments, stop excluding segments; everything else is kept |
snap_set_schedule | set start/end time on a campaign or ad squad (id), or on up to 20 (ids) |
snap_undo | revert a change from the log (refuses if the field changed again since) |
snap_delete | guarded 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.
| Tool | What it does |
|---|---|
snap_spend_pacing | read: 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_roas | read: Snap's reported revenue vs the revenue your store confirms (you give the store figure): overstates, understates or consistent |
snap_creative_compare | read: the ads of a campaign or ad squad ranked against the median ROAS (WINNER / LAGGING), grouped by call to action |
snap_funnel | read: impressions → swipes → views → add to cart → checkout → purchases with the rate at each step and the weakest step |
snap_portfolio_summary | read: 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_board | read: 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_report | read: 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_download | read: 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.
| Tool | What it does |
|---|---|
snap_ad_preview | read: a no-login preview link (90 days) and a Snapcode to scan on a phone (7 days) |
snap_check_landing_pages | read: 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_check | read: yesterday vs the usual day: spend spike or drop, zero or falling purchases (possible broken pixel), ROAS drop, cost-per-purchase spike |
snap_competitor_ads | read: 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_event | Conversions 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_advice | read: 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_media | read: uploaded images and videos no creative uses (never deletes) |
snap_audience_health | read: audiences that are not targetable, tiny, stale, or unused by active ad squads |
snap_catalog_feed_status | read: for each catalog feed, the last completed upload, the latest upload's status and issues |
snap_health_check | read: audits every active squad for missing buyer exclusion, high frequency, low swipe rate, low ROAS, spend with no purchases, paused parents |
snap_review_issues | read: rejected / pending ads with Snap's reasons |
snap_delivery_check | read: 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_health | read: pixel signal readiness and event-quality issues, top priority first |
snap_creative_fatigue | read: 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.
| Tool | What it does |
|---|---|
snap_billing_check | read: ad account status, funding sources (card expiry, daily limit vs budgets, credit left) and a verdict |
snap_account_admin | read: 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_profiles | read: the public profiles (brand identities) this login can use for creatives, with their ids; with only one, new creatives use it automatically |
snap_account_details | read: 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.
| Tool | What it does |
|---|---|
snap_list_dynamic_templates | read: 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_stats | read |
snap_find | read: 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_get | read-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_options | read: audiences, pixels, catalogs, product sets, interest/region/language ids |
snap_list_media | images 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.
| Tool | What it does |
|---|---|
snap_ping | check credentials |
snap_connect | connect an ad account from inside the chat (link, pasted address, account choice); saves access on this computer, changes no ads |
snap_start_here | read: 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_log | read the local log |
snap_change_history | read: 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_check | read: 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.
| Tool | What it does |
|---|---|
snap_influencer_batch | influencer flow for up to 10 ad codes into one squad; expired codes are skipped |
snap_claim_ad_code | claim a creator ad code (one-way, single-use) |
snap_influencer_ad | the 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 Snapchatand 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
/mcpinside 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.
| Hosted | On your computer | |
|---|---|---|
| Install | none | one file or one command |
| Where your login token lives | encrypted on the maintainer's Cloudflare account | only on your computer |
| Works with ChatGPT and other remote-only apps | yes in design, not tested yet | no |
| Interactive cards in Claude | yes | not in the Claude Desktop extension |
| All 91 tools | yes | yes |
| Spending caps | none: you decide, your AI app's prompt is the approval | yes, limits you set |
| Pictures, videos, customer lists | from a public link or pasted values | from 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_disconnectand 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
- Tools, ad formats and playbooks: how to build each ad type step by step, playbooks, interactive cards.
- Running it on your own computer: setup, several ad accounts, scheduled reports.
- The hosted connector and ChatGPT setup.
- Safety, limits and terms: every setting and what it does.
- Status: what was verified on a real account, and what is not built.
- Architecture, privacy, security policy, contributing, changelog.
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.