Mcp Redtrack

io.github.pijusz由 GitHub 帳號 pijusz 發布v0.1.4更新於 Oct 24, 2026

MCP server for RedTrack affiliate tracking API

已驗證STDIO僅桌面資料與分析商業與電商

概覽

AI 產生的概覽

讓助理查詢 RedTrack 聯盟追蹤資料,例如廣告活動、點擊、轉換、offer 與報表。

可以做什麼
這個 MCP 伺服器包裝 RedTrack 聯盟追蹤 API,提供 14 個以讀取為主的工具。它可以列出並取得廣告活動(含 v2 端點),抓取點擊與轉換記錄(包含 IP、國家、裝置、佣金、成本、收益與歸因等欄位),並回傳依廣告活動、offer、國家、日期或 sub1-20 等維度彙總的報表。它也能列出 offer、流量來源、聯盟網路、到達頁與帳戶設定。
適用情境
當助理需要檢視 RedTrack 中的聯盟行銷成效時使用,例如檢查廣告活動狀態、深入查看點擊或轉換記錄,或在不離開聊天用戶端的情況下依維度彙總報表。
執行需求
透過 stdio 在本機執行,通常使用 npx mcp-redtrack。需要以環境變數 REDTRACK_API_KEY 提供 RedTrack API 金鑰;選用變數 REDTRACK_ENV_FILE 可指向 .env 檔案。需要連線至 RedTrack API 的網路存取。
安裝前請注意
此伺服器需要 RedTrack API 金鑰(REDTRACK_API_KEY),可存取你的聯盟追蹤帳戶資料;請保存在用戶端設定或 .env 檔案中,不要外流。點擊與轉換記錄包含 IP 位址、國家等訪客層級資訊,查詢這些資料會將其傳給助理。所列工具看起來僅讀取資料,但使用前請自行確認。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Redtrack,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[mcp-redtrack]

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

bash
npx mcp-redtrack setup YOUR_API_KEY

This prints the config snippet for your MCP client.

Claude Code

bash
claude mcp add redtrack -e REDTRACK_API_KEY=YOUR_API_KEY -- npx mcp-redtrack

Claude Desktop / Cursor

Add to your MCP settings JSON:

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

bash
bun install          # install depsbun run dev          # run MCP serverbun test             # run testsbun run lint         # check formatting & lintbun run inspect      # open MCP inspectorbun run build        # compile standalone binarybun run build:npm    # bundle for Node.js / npm

License

MIT

來源:README.md,提交 d23264a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.4最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分