MCP for brands
Manage your campaigns from Claude — or any Model Context Protocol client — right inside the chat. Ask “how are my ads doing?” or “launch a campaign for X”. It runs on the SDK and signs in with an API key.
Get an API key
Create one in the dashboard under API keys. A read key covers analytics and listing; a write key can also launch and pause campaigns. The key can’t move funds or change a payout wallet.
Runs over stdio via npx — set SCODE_API_KEY and pick your client:
Drop in your API key and go:
terminal
claude mcp add sponsored-code \
--env SCODE_API_KEY=scode_live_your_key \
-- npx -y sponsored-code-mcpAny MCP-capable CLI uses the same mcp add — swap claude for your tool.
Requires Claude Code CLI.
Tools
whoami: the team and scopes your key resolves to.analytics: your team’s impressions, spend, reach, clicks, geography, per-campaign.recent_impressions: your team’s latest impressions.list_campaigns: your campaigns and their status.create_campaign· write: launch a campaign into the live auction.set_campaign_status· write: pause or resume a campaign.
Analytics are aggregate — the API never exposes an individual developer’s wallet or IP.
