# Connect AffiliateRail to Your AI Agent (Universal MCP)

> Use your AI to track leads, process payments, and run campaigns in AffiliateRail — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http affiliaterail https://api.universalmcp.app/mcp/affiliaterail`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/affiliaterail` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "affiliaterail", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: AffiliateRail | Category: Marketing & Analytics (AffiliateRail) | Auth: Encrypted workspace API key
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Referral records, Affiliate payouts, Send payout notices; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=affiliaterail | Guide: https://universalmcp.app/mcp/affiliaterail
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across referral records, affiliate payouts, and send payout notices. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Referral records (1):** Referral records (write)
- **Affiliate payouts (1):** Affiliate payouts (write)
- **Send payout notices (1):** Send payout notices (write)

## Example Prompts for AffiliateRail
- **Referral audit:** "In AffiliateRail, list every referral from Stripe or Paddle this month that has no matching subscription payment."
- **Payout totals:** "Summarize AffiliateRail payouts owed by PayPal and Wise this week, grouped by affiliate, with the total for each."
- **Commission rules:** "Show the AffiliateRail commission rule for each SaaS plan and flag any affiliate whose rate differs from the default."
- **Draft payout email:** "Draft a payout notice in AffiliateRail for Northwind Growth's 6 verified referrals, and hold it for approval before sending."
