Atlas: 20% higher ROASEnds in34d21h35m21s

Windsurf MCP server for affiliate programs

Your Affiliate ProgramInside Windsurf

Add the Referly MCP server to Windsurf, 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

01 / Install

Connect Windsurf in 2 minutes

Paste one config block into Windsurf, save, and sign in with your Referly account.

Server URL

https://mcp.referly.so/mcp

No API key. mcp-remote opens a browser window for the Referly sign-in the first time the server is used.

  1. Open the MCP config

    In Windsurf, open Settings, Cascade, MCP Servers, and choose Add custom server. It opens mcp_config.json.

  2. Paste the block

    Add the server under mcpServers using mcp-remote, as below, and save.

  3. Refresh and sign in

    Click Refresh in the MCP panel. A browser window opens for the Referly sign-in the first time Cascade uses a tool.

~/.codeium/windsurf/mcp_config.json
{  "mcpServers": {    "referly": {      "command": "npx",      "args": ["-y", "mcp-remote", "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/atlas
Atlas MCP setup

02 / Ask

Ask Windsurf about your program

The questions you would ask a teammate, answered from your own Referly records without leaving Windsurf.

03 / The work

Tracking checks while you code

The jobs Windsurf can take off your list. Anything that changes data asks you first.

  • Tracking install

    The agent adds the script to your app and marks the setup step done.

  • Verify the script

    Fetch your site and confirm the script is live, page by page.

  • Webhook debugging

    Read delivery attempts with status codes, then replay the one that failed.

  • Integration status

    See which integration is connected and which setup step is still missing.

  • Snippet for your stack

    The exact script tag for this program, fitted to Next.js, Remix or plain HTML.

  • Reports while you code

    Referrals and sales by affiliate, link or coupon without leaving the editor.

Prompts

Prompts to try in Windsurf

Copy one and paste it into Windsurf. 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.

FAQ

Using Referly in Windsurf

Referly's MCP server connects Windsurf to your affiliate program. Add https://mcp.referly.so/mcp in Windsurf, sign in with your Referly account, and ask about affiliates, referrals, sales and commissions. Changes are previewed before they run. Payouts are prepared in Windsurf and sent from Referly. Included on every plan.

14-day free trial · Full access from day one · Cancel anytime

  • No. Windsurf 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.

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
Server reference