mcpField
M
mcp-redtrack

mcp-redtrack

Local
github.com/pijuszBusiness & Marketing1Updated 1w ago

About mcp-redtrack

mcp-redtrack is a read-only MCP server for querying RedTrack affiliate tracking data. It gives MCP-compatible clients tools for campaigns, activity logs, reports, and account entities.

Key features

  1. 01Read campaign lists and details
  2. 02Query click and conversion logs
  3. 03Group and sort performance reports
  4. 04Browse offers and tracking entities
  5. 05Inspect settings and reference data

Use cases

  1. 01Review campaign setup and status
  2. 02Analyze clicks and conversion attribution
  3. 03Compare performance across countries or dates

MCP support

Exposes 18 read-only tools to MCP clients for querying the RedTrack API; it does not modify the account.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"pijusz-mcp-redtrack": {
"command": "npx",
"args": [
"-y",
"mcp-redtrack"
]
}
}
}
Run commandnpx -y mcp-redtrack

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-redtrack0.1.4

Tools

13

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
idsstringNo
pernumberNo
pagenumberNo
tagsstringNo
titlestringNo
statusstringNo
date_tostringNo
sourcesstringNo
timezonestringNo
date_fromstringNo
total_statbooleanNo

Details

From the project 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

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.