Grok Build MCP server for affiliate programs
Your Affiliate ProgramInside Grok Build
Add the Referly MCP server to Grok Build, then ask about affiliates, sales and payouts in chat.
14-day free trial · Full access from day one · Cancel anytime
- One config block to paste
- No API key, sign in with Referly
- Writes preview before they run
Add the server
Add the block below to ~/.grok/config.toml. A project-only server goes in .grok/config.toml instead.
Sign in
Start grok. The first Referly tool call opens the sign-in in your browser; Grok keeps the token for next time.
Check and ask
Run grok mcp doctor if a tool does not show up, then ask for this week's referrals.
grok mcp doctor
[mcp_servers.referly]url = "https://mcp.referly.so/mcp"Using Referly Atlas?
Atlas has its own server. Add it the same way, with this URL.
https://mcp.referly.so/atlas02 / Ask
Ask Grok Build about your program
The questions you would ask a teammate, answered from your own Referly records without leaving Grok Build.
03 / The work
Checks and exports from a script
The jobs Grok Build can take off your list. Anything that changes data asks you first.
Scripted checks
Run the tracking check from a script and read plain text back.
Exports
Performance by affiliate, link or coupon, as text you can pipe into a file.
CI gates
Stop a deploy when the integration reports a setup step still missing.
Scheduled briefs
A weekday overview of revenue and referrals, run from cron.
Bulk approvals with preview
The first call previews. Nothing is approved until you confirm.
Asks firstPayout prep
Count and total the next batch from the terminal. Sending stays in Referly.
Prompts
Prompts to try in Grok Build
Copy one and paste it into Grok Build. Every prompt here is answered by a real tool.
- Tracking and reports
Using Referly, is my tracking script live on my site, and which integration is connected right now?
- Affiliates
Using Referly, who were my top 5 affiliates by revenue last month, and how did each compare with the month before?
- Commissions
Using Referly, list the commissions on hold for more than 30 days and tell me which ones look safe to approve.
- Payouts
Using Referly, preview a payout batch for everything approved and above my minimum, and show me the total before creating it.
- Affiliates
Using Referly, which affiliates joined in the last 30 days but have not sent a single click yet?
- Referrals and sales
Using Referly, show this month's referrals by affiliate and flag any customer who refunded.
No. Grok Build opens a Referly sign-in the first time it connects. You choose which program it can see, and you can revoke the connection from Referly at any time.
More assistants
Use it in another assistant
Each one takes the same server URL and the same Referly sign-in.
Chat appClaude
Ask about affiliates and sales from the Claude app
mcp.referly.so/mcpSetup guide
Chat appChatGPT
Your program in ChatGPT, with every write confirmed
mcp.referly.so/mcpSetup guide
TerminalClaude Code
Run checks and exports from the terminal
$claude mcp add --transport http referly mcp.referly.so/mcpSetup guide
AgentClaude Cowork
Hand Cowork the morning affiliate check
mcp.referly.so/mcpSetup guide
TerminalCodex
Referly tools inside OpenAI's coding agent
$codex mcp add referly --url mcp.referly.so/mcpSetup guide
AgentDots
Bring affiliate review queues into your dot
Paste one messageSetup guide
Code editorCursor
One click to add Referly to Cursor
Add to CursorSetup guide
AgentGrok Bot
Partner and commission updates from your bot
Paste one messageSetup guide
TerminalGemini CLI
Referly in Google's terminal agent
$gemini mcp add --transport http referly mcp.referly.so/mcpSetup guide
TerminalDeepSeek
Referral summaries and review queues in DeepSeek Harness
Paste one messageSetup guide
TerminalKimi Code
Partner and commission answers in Kimi Code
$kimi mcp add --transport http --auth oauth referly mcp.referly.so/mcpSetup guide
AgentHermes Agent
Let Hermes watch commissions and partner activity
"url":"mcp.referly.so/mcp"Setup guide
AgentNanoClaw
Make payout and application checks a NanoClaw routine
Paste one messageSetup guide
AgentOpenClaw
Let OpenClaw run the daily affiliate check
$openclaw mcp add referly --url mcp.referly.so/mcp --transport streamable-httpSetup guide
AgentPaperclip
Put partner briefs and reports into Paperclip work
Paste one messageSetup guide
AgentBuzz
Daily affiliate priorities in your Buzz channel
Paste one messageSetup guide
Chat appPerplexity
Live partner data in Perplexity and Computer
mcp.referly.so/mcpSetup guide
AgentMuse
Ask Muse for application reviews and briefs
mcp.referly.so/mcpSetup guide
AgentManus
Give Manus partner context for research and reviews
mcp.referly.so/mcpSetup guide
AgentCue
Keep application and activity summaries in Cue
Paste one messageSetup guide
Code editorVS Code
Referly in Copilot agent mode
Install in VS CodeSetup guide
Code editorWindsurf
Referly tools in Cascade
"url":"mcp.referly.so/mcp"Setup guide
Code editorZed
Referly as a Zed context server
"url":"mcp.referly.so/mcp"Setup guide
Code editorJetBrains
Referly in the AI Assistant chat
"url":"mcp.referly.so/mcp"Setup guide
Chat appGrok
Ask Grok about your affiliates
mcp.referly.so/mcpSetup guide
Using another agent?
Any MCP client that speaks Streamable HTTP can add the URL and sign in the same way.
https://mcp.referly.so/mcp