mcp-redtrack
MCP server for RedTrack affiliate tracking API, enabling querying campaigns, clicks, conversions, and reports from any MCP-compatible client.
README
<p align="center"> <img src="logo.svg" alt="mcp-redtrack" width="280" /> </p>
<h1 align="center">mcp-redtrack</h1>
<p align="center">MCP server for the <a href="https://redtrack.io">RedTrack</a> affiliate tracking API. Query campaigns, clicks, conversions, and reports from any MCP-compatible client (Claude Code, Claude Desktop, Cursor, etc.).</p>
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 (14)
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 dimension (campaign, offer, country, date, sub1-20, etc.) |
Entities
| Tool | Description |
|---|---|
get_offers |
List offers with filtering |
get_offer |
Single offer by ID |
get_sources |
List traffic sources |
get_source |
Single source by ID |
get_networks |
List affiliate networks |
get_landings |
List landing pages |
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.