# Connect AffiliateWP to Your AI Agent (Universal MCP)

> Use your AI to run campaigns, process payments, and create reports in AffiliateWP — and much more.

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

## Key Facts
- Software: AffiliateWP | Category: Marketing & Analytics (Affiliatewp) | Auth: Encrypted API credentials or guided on-prem setup | Deployment: on-prem
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Referral records, Commission ledger, Payout drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=affiliatewp | Guide: https://universalmcp.app/mcp/affiliatewp
- 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, commission ledger, and payout drafts. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Referral records (1):** Referral records (write)
- **Commission ledger (1):** Commission ledger (write)
- **Payout drafts (1):** Payout drafts (write)

## Example Prompts for AffiliateWP
- **Top referrers:** "In AffiliateWP, rank affiliates by referral revenue for the last 30 days and show their conversion rates."
- **Commission audit:** "Using AffiliateWP, list commissions from refunded orders this quarter and confirm which ones need clawback."
- **Payout forecast:** "Summarize AffiliateWP pending payouts by method, PayPal or bank, and total amount due before the next run."
- **Draft partner note:** "Draft a payout update email for top affiliates in AffiliateWP and hold it for my approval before sending."
