MCP Server Studio
Affiliate programs in AI tools: read partners, commissions and payouts; track clicks and sales.
Registry name: com.affitor/mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@affitor/[email protected]"
],
"env": {
"AFFITOR_API_KEY": "<AFFITOR_API_KEY>",
"AFFITOR_API_URL": "<AFFITOR_API_URL>",
"AFFITOR_MCP_WRITE": "<AFFITOR_MCP_WRITE>"
}
}
}
}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/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@affitor/[email protected]"
],
"env": {
"AFFITOR_API_KEY": "<AFFITOR_API_KEY>",
"AFFITOR_API_URL": "<AFFITOR_API_URL>",
"AFFITOR_MCP_WRITE": "<AFFITOR_MCP_WRITE>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@affitor/[email protected]"
],
"env": {
"AFFITOR_API_KEY": "<AFFITOR_API_KEY>",
"AFFITOR_API_URL": "<AFFITOR_API_URL>",
"AFFITOR_MCP_WRITE": "<AFFITOR_MCP_WRITE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@affitor/[email protected]"
],
"env": {
"AFFITOR_API_KEY": "<AFFITOR_API_KEY>",
"AFFITOR_API_URL": "<AFFITOR_API_URL>",
"AFFITOR_MCP_WRITE": "<AFFITOR_MCP_WRITE>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.affitor.com/mcp"
]
}
}
}Run in your terminal:
claude mcp add --transport http mcp https://mcp.affitor.com/mcpAdd to .cursor/mcp.json:
{
"mcpServers": {
"mcp": {
"url": "https://mcp.affitor.com/mcp"
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"mcp": {
"type": "http",
"url": "https://mcp.affitor.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"mcp": {
"serverUrl": "https://mcp.affitor.com/mcp"
}
}
}| Name | Required | What it is |
|---|---|---|
AFFITOR_API_KEY | Yes | Your Affitor program API key. Server-side only. |
AFFITOR_API_URL | No | API base override. Defaults to https://api.affitor.com. |
AFFITOR_MCP_WRITE | No | Set to 1 to register the two tools that move money (track sale, track refund). Off by default. |