Getting Started

Guides

REST API: Campaigns

Affiliates

Conversions

Affiliate Teams

SCALE

Coupons

Payouts

Shopify Apps

Other

Webhooks

Cursor
MCP SERVER

Use LinkJolt with Cursor

Cursor connects to LinkJolt's hosted MCP server and signs you in through the browser, so there is nothing to install and no API key to paste. Then Cursor's agent can set up your affiliate program while it works in your code: the campaign, the tracking script, the checkout change, and a check that it all works.

Setup
1
Add LinkJolt

Click "Add to Cursor" above, or put the hosted endpoint in ~/.cursor/mcp.json (every project) or .cursor/mcp.json (this project). Nothing to install.

{
  "mcpServers": {
    "linkjolt": {
      "url": "https://www.linkjolt.io/api/mcp"
    }
  }
}
2
Sign in through the browser

The first time the agent uses a LinkJolt tool that needs your account, Cursor opens linkjolt.io to sign in or create an account and approve the connection. No API key. If it does not ask, open Cursor Settings, MCP, and connect linkjolt there.

3
Ask the agent to set it up

Try "Add a LinkJolt affiliate program to this app." The agent reads your setup, creates the campaign, adds the tracking script and the checkout change to your code, gives you the one-click link to connect Stripe, and runs check_tracking to confirm it works.

4
Or use an API key (CI, or no browser)

Create a key at linkjolt.io/merchant/api-keys and send it as a header instead of signing in.

{
  "mcpServers": {
    "linkjolt": {
      "url": "https://www.linkjolt.io/api/mcp",
      "headers": {
        "Authorization": "Bearer lj_pk_your_key"
      }
    }
  }
}
Example Queries

Once connected, ask Cursor natural language questions about your affiliate program:

“Add a LinkJolt affiliate program to this app”
“Check my affiliate tracking works”
“Pull my top affiliate into a local JSON file so I can reference them in this component”
“What's my current conversion volume this month?”
“Approve all pending conversions over $100”

Official Cursor MCP docs

https://cursor.com/docs/mcp

Need help?

Email ollie@linkjolt.io with what you asked Cursor and what happened, and we will help you get it working.