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_KEYRestart 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_KEYConfiguration Options
| Option | Description | Default |
|---|---|---|
--api-key=KEY | Your distribute API key | — |
--base-url=URL | Custom API base URL | https://api.distribute.you |
DISTRIBUTE_API_KEY | API key via environment variable | — |
DISTRIBUTE_API_URL | Base URL via environment variable | https://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.