Skip to main content
Glama
Snapchat Ads MCP Server

Snapchat Ads MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SNAPCHAT_ADS_HOMENoPer-user data folder.~/.snapchat-ads-mcp
SNAPCHAT_ADS_HOSTNoHTTP transport bind address host.127.0.0.1
SNAPCHAT_ADS_PORTNoHTTP transport bind address port.8000
SNAPCHAT_ADS_DRY_RUNNotrue previews writes without sending them.
SNAPCHAT_ADS_MAX_BIDNoOptional cap in whole units of the account currency.
SNAPCHAT_ADS_MAX_RPSNoRequests per second.8
SNAPCHAT_ADS_TIMEOUTNoRequest timeout in seconds.30
SNAPCHAT_ADS_AUDIT_LOGNoAudit log path.~/.snapchat-ads-mcp/logs/audit.jsonl
SNAPCHAT_ADS_CLIENT_IDYesSnap OAuth app client ID.
SNAPCHAT_ADS_LOG_LEVELNoDEBUG, INFO, WARNING, or ERROR; logs go to stderr.
SNAPCHAT_ADS_PAGE_SIZENoList page size, 50-1000.500
SNAPCHAT_ADS_READ_ONLYNotrue registers only read-only tools.
SNAPCHAT_ADS_TRANSPORTNostdio, streamable-http (served at /mcp), or sse (deprecated).stdio
SNAPCHAT_ADS_MAX_BUDGETNoOptional cap in whole units of the account currency.
SNAPCHAT_ADS_TOKEN_FILENoRefresh-token file written by auth.~/.snapchat-ads-mcp/secrets/snapchat-ads-token.json
SNAPCHAT_ADS_UPLOAD_DIRNoFolder media may be uploaded from; unset means uploads are off.
SNAPCHAT_ADS_TOOL_GROUPSNoComma-separated groups: accounts, campaigns, ad_squads, ads, bulk, creatives, audiences, targeting, pixels, catalogs, reporting, request.
SNAPCHAT_ADS_ALLOW_REMOTENotrue or --allow-remote lets HTTP transports bind to a non-loopback address.
SNAPCHAT_ADS_REDIRECT_URINoRedirect URI for auth if not the default.http://localhost:8765/callback
SNAPCHAT_ADS_AD_ACCOUNT_IDNoDefault ad account ID for tools that take ad_account_id.
SNAPCHAT_ADS_CLIENT_SECRETYesSnap OAuth app client secret.
SNAPCHAT_ADS_REFRESH_TOKENNoThe refresh token itself, instead of the token file.
SNAPCHAT_ADS_BULK_THRESHOLDNoItems per write before confirm=APPLY is needed.10
SNAPCHAT_ADS_MAX_DOWNLOAD_MBNoLargest async report the server downloads into memory.200
SNAPCHAT_ADS_ORGANIZATION_IDNoDefault organization ID for tools that take organization_id.
SNAPCHAT_ADS_MAX_INCREASE_PCTNoBid/budget rise that needs confirm=APPLY.20
SNAPCHAT_ADS_AUDIT_RETENTION_DAYSNoDays to keep audit entries, pruned at startup; 0 keeps them.30

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources