Getting Started

Guides

REST API: Campaigns

Affiliates

Conversions

Affiliate Teams

SCALE

Coupons

Payouts

Shopify Apps

Other

Webhooks

VS Code
MCP SERVER

Use LinkJolt with VS Code

VS Code 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 Copilot's agent mode 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 VS Code" above, or run "MCP: Add Server" from the Command Palette, choose HTTP and paste the address below. Nothing to install.

{
  "servers": {
    "linkjolt": {
      "type": "http",
      "url": "https://www.linkjolt.io/api/mcp"
    }
  }
}
2
Sign in through the browser

When VS Code first needs your account it opens linkjolt.io to sign in or create an account and approve the connection. No API key.

3
Ask Copilot to set it up

In Copilot Chat, switch to Agent mode and 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, 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.

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

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

“Add a LinkJolt affiliate program to this app”
“Check my affiliate tracking works”
“Show me my affiliate program stats in a quick summary”
“List any pending conversions I need to review”
“Fetch my top 10 affiliates and save to affiliates.json”

Need help?

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