Affilync MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "AFFILYNC_TOKEN=${AFFILYNC_TOKEN}" affilync -- npx @affilync/mcp-server
Required:AFFILYNC_TOKEN+ 1 optional
README.md

Manage affiliate marketing directly from Claude.

@affilync/mcp-server

MCP (Model Context Protocol) server for Affilync — manage affiliate marketing directly from Claude.

Setup

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "affilync": {
      "command": "npx",
      "args": ["@affilync/mcp-server"],
      "env": {
        "AFFILYNC_TOKEN": "<your-jwt-token>"
      }
    }
  }
}

Claude Code

claude mcp add affilync -- env AFFILYNC_TOKEN=<your-jwt-token> npx @affilync/mcp-server

Get your token

  1. Go to app.affilync.com/settings/api-keys
  2. Create a new API key
  3. Use the token value as AFFILYNC_TOKEN

Available Tools

Shared (all users)

Tool Description
getUserProfile Get your profile (affiliate or brand)
searchCampaigns Search campaigns by name/category
getNotifications View recent notifications

Affiliate Tools

Tool Description
listAvailableCampaigns Browse campaigns to join
joinCampaign Apply to join a campaign
generateAffiliateLink Create a tracking link
listMyLinks View your tracking links
getEarningsSummary Total/pending/available earnings
listCommissions Individual commission records
getClickAnalytics Click stats (today/week/month)
requestPayout Cash out available earnings
listActiveCampaigns Your joined campaigns

Brand Tools

Tool Description
createCampaign Create a campaign with commission structure
listBrandCampaigns View your campaigns
getCampaignPerformance Campaign metrics (clicks, conversions, EPC)
listAffiliateApplications Review applications
decideApplication Approve/reject an application
getBrandDashboard Overall brand performance
listBrandAffiliates Affiliates working with you

Development

npm install
AFFILYNC_TOKEN=<token> npm run dev

Environment Variables

Variable Required Default Description
AFFILYNC_TOKEN Yes JWT access token
AFFILYNC_API_URL No https://api.affilync.com API base URL

Tools (19)

getUserProfileGet your profile (affiliate or brand)
searchCampaignsSearch campaigns by name/category
getNotificationsView recent notifications
listAvailableCampaignsBrowse campaigns to join
joinCampaignApply to join a campaign
generateAffiliateLinkCreate a tracking link
listMyLinksView your tracking links
getEarningsSummaryTotal/pending/available earnings
listCommissionsIndividual commission records
getClickAnalyticsClick stats (today/week/month)
requestPayoutCash out available earnings
listActiveCampaignsYour joined campaigns
createCampaignCreate a campaign with commission structure
listBrandCampaignsView your campaigns
getCampaignPerformanceCampaign metrics (clicks, conversions, EPC)
listAffiliateApplicationsReview applications
decideApplicationApprove/reject an application
getBrandDashboardOverall brand performance
listBrandAffiliatesAffiliates working with you

Environment Variables

AFFILYNC_TOKENrequiredJWT access token
AFFILYNC_API_URLAPI base URL

Configuration

claude_desktop_config.json
{"mcpServers": {"affilync": {"command": "npx", "args": ["@affilync/mcp-server"], "env": {"AFFILYNC_TOKEN": "<your-jwt-token>"}}}}

Try it

What are my total earnings for this month?
Search for new affiliate campaigns in the technology category.
Generate a new tracking link for the latest campaign I joined.
Show me the performance metrics for my active brand campaigns.
List all pending affiliate applications for my brand.

Frequently Asked Questions

What are the key features of Affilync?

Search and join affiliate marketing campaigns. Generate and manage affiliate tracking links. Track earnings, commissions, and click analytics. Create and manage brand campaigns with commission structures. Review and approve affiliate applications.

What can I use Affilync for?

Affiliates checking their daily earnings and click performance without leaving Claude.. Brands managing incoming affiliate applications and reviewing campaign performance.. Affiliates quickly generating tracking links for specific campaigns while writing content.. Brands creating new marketing campaigns and setting commission structures via natural language..

How do I install Affilync?

Install Affilync by running: npx @affilync/mcp-server

What MCP clients work with Affilync?

Affilync works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Affilync docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare