MCP Server Studio

Affitor MCP server

Affiliate programs in AI tools: read partners, commissions and payouts; track clicks and sales.

Registry name: com.affitor/mcp

Publisher
affitor.com
Runs
Local or hosted
Package
npm
Version
0.2.5
Category
AI & agents
Updated
2026-11-08

Source code on GitHub

Set up Affitor (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@affitor/mcp@0.2.4"
      ],
      "env": {
        "AFFITOR_API_KEY": "<AFFITOR_API_KEY>",
        "AFFITOR_API_URL": "<AFFITOR_API_URL>",
        "AFFITOR_MCP_WRITE": "<AFFITOR_MCP_WRITE>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp -e AFFITOR_API_KEY='<AFFITOR_API_KEY>' -e AFFITOR_API_URL='<AFFITOR_API_URL>' -e AFFITOR_MCP_WRITE='<AFFITOR_MCP_WRITE>' -- npx -y @affitor/mcp@0.2.4

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@affitor/mcp@0.2.4"
      ],
      "env": {
        "AFFITOR_API_KEY": "<AFFITOR_API_KEY>",
        "AFFITOR_API_URL": "<AFFITOR_API_URL>",
        "AFFITOR_MCP_WRITE": "<AFFITOR_MCP_WRITE>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@affitor/mcp@0.2.4"
      ],
      "env": {
        "AFFITOR_API_KEY": "<AFFITOR_API_KEY>",
        "AFFITOR_API_URL": "<AFFITOR_API_URL>",
        "AFFITOR_MCP_WRITE": "<AFFITOR_MCP_WRITE>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@affitor/mcp@0.2.4"
      ],
      "env": {
        "AFFITOR_API_KEY": "<AFFITOR_API_KEY>",
        "AFFITOR_API_URL": "<AFFITOR_API_URL>",
        "AFFITOR_MCP_WRITE": "<AFFITOR_MCP_WRITE>"
      }
    }
  }
}

Set up Affitor (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.affitor.com/mcp"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http mcp https://mcp.affitor.com/mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.affitor.com/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.affitor.com/mcp"
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.affitor.com/mcp"
    }
  }
}

Settings

NameRequiredWhat it is
AFFITOR_API_KEYYesYour Affitor program API key. Server-side only.
AFFITOR_API_URLNoAPI base override. Defaults to https://api.affitor.com.
AFFITOR_MCP_WRITENoSet to 1 to register the two tools that move money (track sale, track refund). Off by default.

More ai & agents MCP servers