Beta Feature: MCP integration is currently in beta and not available to all users yet. Interested in getting access? Contact us to join the beta program.
What is MCP?
The Model Context Protocol (MCP) is an open standard that enables AI assistants like Claude, Cursor, and others to interact directly with external services. With Affonso’s MCP integration, you can manage your affiliate program using natural language commands.MCP allows AI assistants to read and modify your affiliate data in real-time, making it perfect for quick queries, bulk operations, and automation workflows.
Why Use MCP?
Natural Language
Ask questions like “Show me my top 5 affiliates by revenue” or “Create a new affiliate for [email protected]”
Real-Time Data
Get instant access to your affiliate data without switching between tools
Bulk Operations
Perform complex operations across multiple affiliates, referrals, or commissions
AI-Powered Analysis
Let AI analyze your affiliate performance and provide insights
Available Tools
Affonso MCP provides 18 tools across 4 domains:| Domain | Tools | Description |
|---|---|---|
| Affiliates | 5 | List, get, create, update, delete affiliates |
| Referrals | 5 | Track clicks, leads, and conversions |
| Commissions | 5 | Manage commission transactions |
| Payouts | 3 | Process and track affiliate payouts |
How It Works
- You ask your AI assistant a question about your affiliates
- The AI calls the appropriate Affonso MCP tool
- Affonso authenticates and executes the request
- Results are returned in a readable format
MCP Endpoint
Authentication
MCP uses the same API keys as the REST API. You’ll need a valid API key with appropriate permissions:- Production:
sk_live_+ 32 characters - Development:
sk_dev_+ 32 characters
Response Formats
All MCP tools support two response formats:| Format | Best For |
|---|---|
| Markdown (default) | Human-readable output with formatting |
| JSON | Programmatic processing and detailed data |
responseFormat parameter on any tool.
