Atlas: 20% higher ROASEnds in20d21h54m53s

JetBrains MCP server for affiliate programs

Your Affiliate ProgramInside JetBrains

Add the Referly MCP server to JetBrains, 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
  • Personal token, revoke any time
  • Writes preview before they run

01 / Install

Connect JetBrains in 2 minutes

Create a personal token in Referly, give it to JetBrains with the server URL, and ask.

Server URL

https://mcp.referly.so/mcp

AI Assistant uses a Referly personal token sent as a Bearer header. Junie signs in with your Referly account in the browser.

  1. Create a personal token

    AI Assistant sends fixed headers and has no browser sign-in for MCP servers, so it uses a token. In Referly, open Settings, AI apps & MCP, and create one.

  2. Paste as JSON

    In your IDE, open Settings, Tools, AI Assistant, Model Context Protocol (MCP), click Add, choose As JSON and paste the block below with your token.

  3. Ask

    Ask in the AI Assistant chat. Junie has its own config file and signs in with OAuth; see the second block.

MCP settings (As JSON)
{  "mcpServers": {    "referly": {      "url": "https://mcp.referly.so/mcp",      "headers": {        "Authorization": "Bearer rfk_your_token"      }    }  }}

For Junie (OAuth sign-in, no token)

~/.junie/mcp/mcp.json
{  "mcpServers": {    "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/atlas
Atlas MCP setup

02 / Ask

Ask JetBrains about your program

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

03 / The work

Tracking checks while you code

The jobs JetBrains 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 JetBrains

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

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

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

  • You need a Referly personal token, because JetBrains runs where no browser can open for the sign-in. Create it under Settings, AI apps & MCP, choose its program and scopes, and revoke it there 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