Installation

Install the distribute MCP server for your preferred AI client.

Claude Code

One command:

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

Restart Claude Code. You now have access to 35 distribute tools.

Claude Desktop

Edit your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "distribute": {
      "command": "npx",
      "args": ["@distribute/mcp", "--api-key=YOUR_KEY"]
    }
  }
}

Restart Claude Desktop after saving.

Cursor

Add to .cursor/mcp.json in your project root (or global config):

{
  "mcpServers": {
    "distribute": {
      "command": "npx",
      "args": ["@distribute/mcp", "--api-key=YOUR_KEY"]
    }
  }
}

Restart Cursor after saving.

Any MCP Client

The distribute MCP server uses stdio transport. Configure your client to run:

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

Configuration Options

OptionDescriptionDefault
--api-key=KEYYour distribute API key
--base-url=URLCustom API base URLhttps://api.distribute.you
DISTRIBUTE_API_KEYAPI key via environment variable
DISTRIBUTE_API_URLBase URL via environment variablehttps://api.distribute.you

CLI flags take precedence over environment variables.

Verify Installation

After installing, ask your AI client:

"Check my distribute connection"

The AI will call the whoami tool and return your user ID and org ID.