Snapchat Ads
v1.0.2Snapchat Ads MCP server: 21 read tools, 25 opt-in preview-first writes.
Values you need
| Variable | What it is | |
|---|---|---|
SNAPCHAT_ADS_ACCOUNT_IDS | required | Comma-separated ad account UUIDs this server may use. Required, even for reads. |
SNAPCHAT_ADS_ACCESS_TOKEN | optional secret | Snap Marketing API access token. Expires after an hour; prefer the refresh credentials. |
SNAPCHAT_ADS_REFRESH_TOKEN | optional secret | Refresh token, so the server can renew the access token in memory. |
SNAPCHAT_ADS_CLIENT_ID | optional | Client ID of your Snap Marketing API OAuth app, needed for renewal. |
SNAPCHAT_ADS_CLIENT_SECRET | optional secret | Client secret of that OAuth app, needed for renewal. |
SNAPCHAT_ADS_ENABLE_WRITES | optional | true exposes the 25 write tools. Defaults to false. Writes preview until confirm:true. |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add snapchat-ads -e 'SNAPCHAT_ADS_ACCOUNT_IDS=<SNAPCHAT_ADS_ACCOUNT_IDS>' -- npx -y --package=@getmcpads/snapchat-ads-mcp-server@1.0.2 snapchat-ads-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"snapchat-ads": {
"args": [
"-y",
"--package=@getmcpads/snapchat-ads-mcp-server@1.0.2",
"snapchat-ads-mcp"
],
"command": "npx",
"env": {
"SNAPCHAT_ADS_ACCOUNT_IDS": "<SNAPCHAT_ADS_ACCOUNT_IDS>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"snapchat-ads": {
"args": [
"-y",
"--package=@getmcpads/snapchat-ads-mcp-server@1.0.2",
"snapchat-ads-mcp"
],
"command": "npx",
"env": {
"SNAPCHAT_ADS_ACCOUNT_IDS": "<SNAPCHAT_ADS_ACCOUNT_IDS>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SNAPCHAT_ADS_ACCOUNT_IDS",
"id": "snapchat-ads-account-ids",
"password": true,
"type": "promptString"
}
],
"servers": {
"snapchat-ads": {
"args": [
"-y",
"--package=@getmcpads/snapchat-ads-mcp-server@1.0.2",
"snapchat-ads-mcp"
],
"command": "npx",
"env": {
"SNAPCHAT_ADS_ACCOUNT_IDS": "${input:snapchat-ads-account-ids}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.snapchat-ads]
command = "npx"
args = ["-y", "--package=@getmcpads/snapchat-ads-mcp-server@1.0.2", "snapchat-ads-mcp"]
env = { "SNAPCHAT_ADS_ACCOUNT_IDS" = "<SNAPCHAT_ADS_ACCOUNT_IDS>" }For AI agents
- Ask the user for: SNAPCHAT_ADS_ACCOUNT_IDS. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json