Skip to main content
Glama
Sponsored-Code

sponsored-code-mcp

npm license sponsoredcode.com

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.

Related MCP server: meta-ads-manager-mcp

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-mcp

Claude 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

License

PolyForm Shield 1.0.0 — source-available. See sponsoredcode.com.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables users to analyze, manage, and optimize digital advertising campaigns through natural language conversations in Claude, offering performance insights, interactive visualizations, and campaign management for platforms like Amazon Ads.
    4
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to create, manage, and monitor Meta (Facebook/Instagram) ad campaigns directly from Claude using natural language.
    48 PyPI
    14
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Manage Facebook and Instagram ad campaigns directly from Claude Code, enabling performance viewing, budget adjustments, and campaign control without opening Ads Manager.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to interact with the Amazon Advertising API to manage campaigns, keywords, product ads, and retrieve performance metrics.
    9
    27 npm
    3
    MIT