
Refgrow
io.github.refgrow由 GitHub 帳號 refgrow 發布v1.3.0更新於 Oct 29, 2026
Model Context Protocol server for Refgrow affiliate program management API
概覽
封裝 Refgrow 聯盟計畫 API,讓助理能在對話中管理聯盟夥伴、推薦、轉換與優惠券。
- 可以做什麼
- 列出、檢視、建立、更新與刪除聯盟夥伴,包含推薦碼與合作夥伴代稱
- 列出並查詢被推薦使用者,也可手動建立推薦紀錄
- 列出、檢視、建立、更新與刪除轉換紀錄,包含標記為已付款
- 列出、檢視、建立、更新與刪除優惠券,可連結聯盟夥伴及 Stripe 或 LemonSqueezy
- 適用情境
- 適合在 Refgrow 上經營聯盟計畫、想直接查詢收益、註冊量與未付款轉換,或完成新增夥伴、建立優惠券、標記轉換已付款等日常操作而不必開啟後台的情境。
- 執行需求
- 透過 npm 套件 @refgrow/mcp 以 stdio 在本機執行,需要 Node.js 18 以上。需要 Refgrow 帳號及以 rgk_ 開頭的 API 金鑰,透過環境變數 REFGROW_API_KEY 提供;REFGROW_API_URL 可覆寫 API 基礎位址。需能連線至 Refgrow API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Refgrow,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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
來源:README.md,提交 7b4fae2
工具
0版本歷史
2- v1.3.0最新Oct 29, 2026
- v1.0.3Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。