Claude Code

Use distribute directly from Claude Code.

Install

claude mcp add distribute -- npx @distribute/mcp --api-key=YOUR_KEY

This registers @distribute/mcp as a local MCP server. Claude Code will have access to 35 tools for managing your entire distribution pipeline.

Verify

Ask Claude Code:

"Check my distribute connection"

Claude will call the whoami tool and show your user ID and org ID.

Usage

Just describe what you want in natural language:

"Create a brand for acme.com and launch a cold email campaign
targeting CTOs at SaaS startups with $50/day budget"

Claude Code will:

  1. Call brands_create with your URL
  2. Call features_list to find the right feature
  3. Call workflows_list to pick the best workflow
  4. Call campaigns_create with your parameters

Example Prompts

  • "Show me all my brands"
  • "What workflows are available for journalist outreach?"
  • "Get the stats for campaign camp_abc123"
  • "Generate a press kit highlighting our latest product launch"
  • "How much have I spent this month?"
  • "List all journalists discovered for my brand"

All 35 Tools

See the full Tools Reference for detailed descriptions.