sponsored-code-mcp
v4.0.0
Published
MCP server for the Sponsored Code brand API — manage campaigns and pull analytics from Claude or any Model Context Protocol client with an API key.
Downloads
34
Maintainers
Readme
Brand MCP server
Manage your Sponsored Code 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's the brand SDK wrapped as an MCP server, and it signs in with an API key.
Runs over stdio via npx — no install, no wallet, no browser.
Get an API key
In the dashboard, open Settings → API keys and create a key. You'll
see the secret (scode_live_…) once — store it safely. A key is scoped to one team and to read and/or
write:
- read — analytics, impressions, list campaigns
- write — create, pause, and resume campaigns
A key can't move funds or change a payout wallet. Revoke it any time from the same screen.
Configure your client
Any MCP-capable CLI — Claude Code, Codex, Gemini, and friends all share the same mcp add subcommand, so swap the binary for your tool:
claude mcp add sponsored-code \
--env SCODE_API_KEY=scode_live_your_key \
-- npx -y sponsored-code-mcpClaude Desktop (claude_desktop_config.json) or Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"sponsored-code": {
"command": "npx",
"args": ["-y", "sponsored-code-mcp"],
"env": { "SCODE_API_KEY": "scode_live_your_key" }
}
}
}Tools
| tool | scope | what it does |
|---|---|---|
| whoami | read | The team and scopes your key resolves to. |
| analytics | read | Impressions, spend, reach, clicks, geography, per-campaign. |
| recent_impressions | read | Your team's most recent impressions. |
| list_campaigns | read | Every campaign in the team and its 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.
Learn more
- Docs → MCP for brands
- Docs → SDK & API — the same actions from your own code.
License
PolyForm Shield 1.0.0 — source-available. See sponsoredcode.com.
