io.github.pijusz/mcp-redtrack
MCP server for RedTrack affiliate tracking API
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
mcp-redtrackclaude mcp add mcp-redtrack -- npx -y mcp-redtrack@0.1.4
{
"mcpServers": {
"mcp-redtrack": {
"command": "npx",
"args": [
"-y",
"mcp-redtrack@0.1.4"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
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
| Tool | Description |
|---|---|
get_campaigns | List campaigns with filtering by title, status, source, tags, date range |
get_campaign | Get single campaign by ID with full config |
get_campaigns_v2 | List campaigns via v2 endpoint |
Logs
| Tool | Description |
|---|---|
get_clicks | Click-level log with IP, country, device, campaign details (max 10k/page) |
get_conversions | Conversion log with payout, cost, revenue, attribution (max 10k/page) |
Reports
| Tool | Description |
|---|---|
get_report | Aggregated stats grouped by one or more dimensions (campaign, offer, country, date, sub1-20, etc.), with sorting |
Entities
| Tool | Description |
|---|---|
get_offers | List offers, filter by title, network, country, status, tags |
get_offer | Single offer by ID |
get_sources | List traffic sources |
get_source | Single source by ID |
get_networks | List affiliate networks |
get_network | Single affiliate network by ID |
get_landings | List landing pages and prelandings |
get_landing | Single landing by ID |
get_streams | List streams |
get_domains | List tracking domains |
get_dictionary | Reference lists: countries, currencies, timezones, browsers, OS, devices, ISPs, etc. |
get_settings | Account settings (timezone, currency, conversion types) |
Environment variables
| Variable | Required | Default | Description |
|---|---|---|---|
REDTRACK_API_KEY | Yes | — | Your RedTrack API key |
REDTRACK_ENV_FILE | No | .env | Path 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
Frequently asked questions
What is io.github.pijusz/mcp-redtrack?
MCP server for RedTrack affiliate tracking API
How do I install io.github.pijusz/mcp-redtrack?
It runs on your machine. In Claude Code: claude mcp add mcp-redtrack -- npx -y mcp-redtrack@0.1.4. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.pijusz/mcp-redtrack need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.pijusz/mcp-redtrack open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.pijusz/mcp-redtrack?
It is published by pijusz. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.