io.github.pijusz/mcp-redtrack

السجل الرسمي أخرى

MCP server for RedTrack affiliate tracking API

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package mcp-redtrack
Claude Code
claude mcp add mcp-redtrack -- npx -y mcp-redtrack@0.1.4
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "mcp-redtrack": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-redtrack@0.1.4"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. mcp-redtrack
  2. Quick start
  3. Tools (18)
  4. Environment variables
  5. Development
  6. License

mcp-redtrack

MCP server for the RedTrack affiliate tracking API. Query campaigns, clicks, conversions, and reports from any MCP-compatible client (Claude Code, Claude Desktop, Cursor, etc.).

Quick start

npx mcp-redtrack setup YOUR_API_KEY

This prints the config snippet for your MCP client.

Claude Code
claude mcp add redtrack -e REDTRACK_API_KEY=YOUR_API_KEY -- npx mcp-redtrack
Claude Desktop / Cursor

Add to your MCP settings JSON:

{
  "mcpServers": {
    "redtrack": {
      "command": "npx",
      "args": ["mcp-redtrack"],
      "env": {
        "REDTRACK_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Tools (18)

All tools are read-only (annotated with readOnlyHint); the server never modifies your RedTrack account.

Campaigns
ToolDescription
get_campaignsList campaigns with filtering by title, status, source, tags, date range
get_campaignGet single campaign by ID with full config
get_campaigns_v2List campaigns via v2 endpoint
Logs
ToolDescription
get_clicksClick-level log with IP, country, device, campaign details (max 10k/page)
get_conversionsConversion log with payout, cost, revenue, attribution (max 10k/page)
Reports
ToolDescription
get_reportAggregated stats grouped by one or more dimensions (campaign, offer, country, date, sub1-20, etc.), with sorting
Entities
ToolDescription
get_offersList offers, filter by title, network, country, status, tags
get_offerSingle offer by ID
get_sourcesList traffic sources
get_sourceSingle source by ID
get_networksList affiliate networks
get_networkSingle affiliate network by ID
get_landingsList landing pages and prelandings
get_landingSingle landing by ID
get_streamsList streams
get_domainsList tracking domains
get_dictionaryReference lists: countries, currencies, timezones, browsers, OS, devices, ISPs, etc.
get_settingsAccount settings (timezone, currency, conversion types)

Environment variables

VariableRequiredDefaultDescription
REDTRACK_API_KEYYes—Your RedTrack API key
REDTRACK_ENV_FILENo.envPath to .env file

Development

bun install          # install deps
bun run dev          # run MCP server
bun test             # run tests
bun run lint         # check formatting & lint
bun run inspect      # open MCP inspector
bun run build        # compile standalone binary
bun run build:npm    # bundle for Node.js / npm

License

MIT

الأسئلة الشائعة

ما هو io.github.pijusz/mcp-redtrack؟

MCP server for RedTrack affiliate tracking API

كيف أثبّت io.github.pijusz/mcp-redtrack؟

يعمل على جهازك. في Claude Code: claude mcp add mcp-redtrack -- npx -y mcp-redtrack@0.1.4. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.pijusz/mcp-redtrack إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.pijusz/mcp-redtrack مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.pijusz/mcp-redtrack؟

ينشره pijusz. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.