list_affiliatesLABSCO SUMMARY
The whole affiliate API, delete included.
This is a complete wrapper rather than a read-only view: affiliates, conversions and coupons can all be created, updated and deleted through tool calls, and referrals created outright. That makes onboarding partners and correcting bad conversions a single place of work, and it means the API key you hand over can remove things too.
What it is
A Node server wrapping the Refgrow REST API: create, read, update and delete across affiliates, conversions and coupons, plus referral creation and lookup.
What you get
- Affiliates listed, created, read in detail, updated and deleted
- Referrals created, listed and read in detail
- Conversions created, listed, read, updated and deleted
- Coupons created, listed, read, updated and deleted
- A self-hosted Refgrow instance addressable by changing one base URL
Requirements
Node.js 18+, and REFGROW_API_KEY — generated in your Refgrow project settings, starting with rgk_ and shown only once. The API base URL defaults to https://refgrow.com and only needs setting for a self-hosted instance. Runs as npx -y @refgrow/mcp.
Setup effort
One command plus a key — npm install @refgrow/mcp, then supply credentials
USE CASES
Onboarding a new affiliate
Create the affiliate, then read their details back to confirm what was recorded.
Answering 'how is the program doing'
List affiliates and conversions and read the numbers without opening the dashboard.
Fixing a conversion that was recorded wrong
Read it, update the fields that are wrong, or delete it if it should never have counted.
Running a coupon campaign
Create the coupons, list what is live, and update or retire them as the campaign moves.
Tracking down a specific referral
List the referrals and pull the detail on the one in question.
Recording something the tracking script missed
Create the referral and its conversion directly.
18 tools
Listed in project docs. Your client may show a different list.
get_affiliate_detailscreate_affiliateupdate_affiliatedelete_affiliatelist_referralsget_referral_detailscreate_referrallist_conversionsget_conversioncreate_conversionupdate_conversiondelete_conversionlist_couponsget_couponcreate_couponupdate_coupondelete_couponBEFORE YOU INSTALL
What to know first
Tools you get
18 tools named in the project's documentation.
Requires
- npx on PATH
- Node.js 18+
- REFGROW_API_KEY in your environment
Where it runs
All 3 documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
npm install @refgrow/mcpMCP Clients
Claude Desktop, Cursor, Claude Code
{
"mcpServers": {
"refgrow": {
"command": "npx",
"args": [
"-y",
"@refgrow/mcp"
],
"env": {
"REFGROW_API_KEY": "<YOUR_REFGROW_API_KEY>"
}
}
}
}