
Refgrow
io.github.refgrowPublished by GitHub account refgrowv1.3.0Updated Oct 29, 2026
Model Context Protocol server for Refgrow affiliate program management API
Overview
Wraps the Refgrow affiliate program API so an assistant can manage affiliates, referrals, conversions and coupons from chat.
- What you can do
- List, inspect, create, update and delete affiliates, including referral codes and partner slugs
- List and look up referred users, and manually create referral records
- List, view, create, update and delete conversions, including marking them paid
- List, view, create, update and delete coupon codes, optionally linked to an affiliate and to Stripe or LemonSqueezy
- When to use it
- Useful when you run an affiliate program on Refgrow and want to query earnings, signups and unpaid conversions, or make routine changes such as adding a partner, creating a coupon or marking a conversion paid, without opening the dashboard.
- Requirements
- Runs locally over stdio via the npm package @refgrow/mcp, so Node.js 18+ is needed. A Refgrow account and an API key (starting with rgk_) supplied in the REFGROW_API_KEY environment variable; REFGROW_API_URL optionally overrides the API base URL. Network access to the Refgrow API.
Installation
In SourceWeft
- Open Refgrow in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@refgrow/mcp
A Model Context Protocol (MCP) server that wraps the Refgrow REST API. This allows AI agents -- Claude Desktop, Cursor, ChatGPT, and other MCP-compatible clients -- to manage your affiliate program directly.
Prerequisites
- Node.js 18+
- A Refgrow account with an API key (generated in project settings)
- API keys start with
rgk_
Installation
Or clone and build from source:
Configuration
The server requires two environment variables:
Getting an API Key
- Log in to Refgrow
- Go to your project settings
- Scroll to the API Keys section
- Click Generate API Key
- Copy the key (it starts with
rgk_and is shown only once)
Usage with Claude Desktop
Add this to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Or if installed globally / from source:
Usage with Cursor
In Cursor settings, add an MCP server with:
- Name: refgrow
- Command:
npx -y @refgrow/mcp - Environment:
REFGROW_API_KEY=rgk_your_api_key_here
Or add to .cursor/mcp.json in your project root:
Usage with Claude Code
Add to your project's .mcp.json:
Available Tools
Affiliates
Referrals
Conversions
Coupons
Example Conversations
Once connected, you can ask your AI agent things like:
- "Show me all active affiliates and their earnings"
- "Create a new affiliate for [email protected] with referral code PARTNER2025"
- "List all unpaid conversions from the last 30 days"
- "How many signups did we get through affiliate referrals this month?"
- "Create a coupon code SAVE20 linked to affiliate ID 42"
- "Mark conversion #123 as paid"
- "Deactivate the affiliate with email [email protected]"
Development
Documentation
Full setup guide with examples and troubleshooting: https://refgrow.com/docs/mcp-server
REST API reference (for direct HTTP integration): https://refgrow.com/docs/api-reference
License
MIT
Source: README.md at commit 7b4fae2
Tools
0Version history
2- v1.3.0LatestOct 29, 2026
- v1.0.3Sep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.