MCP Server
Use distribute from Claude Code, Claude Desktop, Cursor, or any MCP-compatible client.
What is MCP?
The Model Context Protocol (MCP) is an open standard that allows AI assistants to connect to external tools. distribute provides an MCP server with 35 tools for managing your entire distribution pipeline.
Quick Install
claude mcp add distribute -- npx @distribute/mcp --api-key=YOUR_KEYSee Installation for Claude Desktop, Cursor, and other clients.
How It Works
The @distribute/mcp package runs as a local stdio server. Your AI client communicates with it via the MCP protocol, and it calls the distribute API on your behalf.
- Install via
npx @distribute/mcpwith your API key - Your AI client discovers 35 available tools
- Describe what you want in natural language
- The AI translates to the appropriate tool calls
Example Prompts
"Create a brand for acme.com"
"Launch a cold email campaign targeting CTOs at tech startups, $10/day budget"
"Show me the stats for my latest campaign"
"Generate a press kit for my brand"
"What's my current billing balance?"
"List all journalists discovered for acme.com"Tool Categories
| Category | Tools | Description |
|---|---|---|
| Identity | 1 | Verify connection and API key |
| Brands | 4 | Create and manage brand profiles |
| Features | 6 | Browse automation types and stats |
| Campaigns | 5 | Create, stop, and monitor campaigns |
| Workflows | 4 | Inspect workflow details and key status |
| Leads | 1 | List discovered leads |
| Emails | 1 | View generated emails |
| Outlets | 2 | Media outlets discovered for your brand |
| Journalists | 2 | Journalists discovered for your brand |
| Articles | 1 | Articles mentioning your brand |
| Press Kits | 4 | Generate and manage press kits |
| Billing | 3 | Balance, account, transactions |
| Costs | 3 | Cost breakdown and delivery stats |
See the full Tools Reference for detailed descriptions of each tool.
Authentication
The MCP server requires your API key, provided via CLI flag or environment variable:
# CLI flag (recommended)
npx @distribute/mcp --api-key=dist_YOUR_KEY
# Environment variable
DISTRIBUTE_API_KEY=dist_YOUR_KEY npx @distribute/mcpGet your API key at dashboard.distribute.you/api-keys.