Cursor Integration
Connect distribute to Cursor IDE and launch campaigns from your code editor.
Setup
Add the following configuration to your .cursor/mcp.json file. You can add it to your project folder for project-specific config, or to ~/.cursor/mcp.json for global access.
{
"mcpServers": {
"mcpfactory": {
"url": "https://mcp.distribute.you/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Replace YOUR_API_KEY with your distribute API key from your dashboard.
Restart Cursor after saving the configuration.
Test Your Connection
In Cursor's AI chat, ask:
"Check my MCPFactory connection status"Cursor will call the mcpfactory_status tool and confirm your setup.
Available Tools
| Tool | Description |
|---|---|
mcpfactory_status | Check connection and configuration |
mcpfactory_create_campaign | Launch a cold email campaign |
mcpfactory_list_campaigns | List all your campaigns |
mcpfactory_stop_campaign | Stop a running campaign |
mcpfactory_resume_campaign | Resume a stopped campaign |
mcpfactory_campaign_stats | Get campaign performance metrics |
mcpfactory_list_brands | List all your brands |
mcpfactory_suggest_icp | Suggest ideal customer profile for a brand URL |
Example Prompts
Launch a Campaign
"Launch a cold email campaign for mybrand.com
targeting CTOs at SaaS companies with 50-200 employees.
Budget: $10/day max. Run for 5 days as a trial."Check Campaign Status
"What's the status of my sales campaign?
How many emails sent, opened, and replied?"Pause/Resume Campaign
"Pause my sales outreach campaign"
"Resume the campaign"Advanced: Cursor Skills
For more advanced usage, you can also install distribute as a Cursor Skill which provides additional context and guidance to the AI.
Troubleshooting
MCP not found
- Ensure the
mcp.jsonfile is in the correct location - Restart Cursor after making changes
- Check JSON syntax is valid
Authorization errors
- Verify your API key is correct
- Ensure the Authorization header format is
Bearer YOUR_KEY - Check your key at dashboard.distribute.you/api-keys