impactdotcom-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@impactdotcom-mcpdiagnose tracking for last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
impactdotcom-mcp
A local MCP server that wraps the Impact.com partner REST API so you can query and act on your affiliate/partnership data from Claude Code, Claude Desktop, or any MCP client.
Its primary focus is diagnosing publisher tracking problems — most importantly "I'm getting clicks but no revenue" — by exposing the full click → action → revenue funnel, tracing individual orders, and filing dispute (action inquiry) tickets when conversions don't track.
Why a custom server? Impact.com ships a hosted MCP at
https://mcp.impact.com/mcp, but it can't be connected from Claude Code: its OAuth server doesn't support Dynamic Client Registration (RFC 7591) and the static client id is unpublished. This server talks to Impact's REST API directly with an API key, sidestepping the OAuth blocker entirely.
What it can do
Diagnose tracking — one call (
diagnose_tracking) pulls clicks, actions (across PENDING/APPROVED/REVERSED), and revenue for a window and explains, in plain English, why you're seeing clicks but no revenue.Trace a specific order — find an action by OrderId, see its state and reversal reason, or confirm a click recorded.
Run reports — list/run any report your token can access (Performance by Brand, Action Listing, etc.).
File disputes — open
UNTRACKED/INCORRECT/DECLINEDaction inquiries for orders that didn't track (gated behind a write flag).Generate tracking links and reach any endpoint via fenced escape-hatch tools.
Related MCP server: amp-mcp-server
Example: "clicks but no revenue"
Ask Claude "why am I getting clicks but no revenue this month?" and diagnose_tracking returns something like:
{
"diagnosis": {
"summary": "Clicks are landing but there are NO actions in any state. Your conversions are not reaching Impact.",
"counts": { "clicks": 10, "actionsTotal": 0, "pending": 0, "approved": 0, "reversed": 0 },
"likelyCauses": [
"The conversion tag/postback isn't firing, or fires without the click id (irclickid) — so Impact can't attribute it.",
"Mobile clicks that complete the purchase in the retailer's app or a new browser session lose the irclickid.",
"Reporting delay: actions can take up to 48 hours to appear."
],
"nextChecks": [
"Run export_clicks for the click day(s) to inspect each click's DeviceType and irclickid.",
"Click the tracking link → complete checkout in the SAME session, and confirm the order carries that irclickid.",
"Take a recorded irclickid to support (or file an ActionInquiry) and ask why no action was created."
]
}
}From there you can export_clicks to see device/irclickid detail, find_action_by_order to trace a test order, and — if conversions genuinely didn't track — create_action_inquiry to file the dispute.
Requirements
Node ≥ 20 (uses native
fetch).An Impact.com account and API credentials (Settings → API → Account SID + Auth Token). A scoped token is recommended; grant the APIs you need (Actions, Reports, Clicks/ClickExport, ActionInquiries, etc.).
Quick start
git clone https://github.com/gblush/impactdotcom-mcp.git
cd impactdotcom-mcp
npm install
cp .env.example .env # then fill in your real credentials (see below)
npm run build
npm run inspect # optional: open the MCP Inspector to try the toolsConfiguration
Set these in .env (gitignored) or your environment:
Variable | Required | Default | Description |
| yes | — | Basic-auth username (your Account SID, starts with |
| yes | — | Basic-auth password (secret) |
| no |
| API persona: |
| no |
| API base URL override |
| no |
| set |
| no |
| max concurrent API requests (rate-limit guardrail, 1–16) |
Register with Claude Code
A project-scoped .mcp.json is included. With .env in place and npm run build done, open the project in Claude Code and approve the server. Or register it explicitly (use --scope user to make it available everywhere):
claude mcp add impactdotcom --scope local -- node /absolute/path/to/impactdotcom-mcp/dist/index.jsTools
Diagnostics (the point of this server)
diagnose_tracking— pull the clicks → actions → revenue funnel for a window and explain why you may see clicks but no revenue.list_actions— conversions/commissions; scans PENDING + APPROVED + REVERSED by default so test/reversed orders surface.get_action— full detail for one action.find_action_by_order— trace an order by OrderId (incl. reversal reason) via the Advanced Action Listing report.get_click/export_clicks— confirm a click recorded / list a day's clicks (device, irclickid, landing page).list_action_inquiries/get_action_inquiry— view dispute tickets you've filed.
Reporting & catalog
list_reports,get_report_metadata,run_report,run_report_exportlist_campaigns,get_campaign,list_catalogs,list_catalog_items,get_accountimpact_api_get— read-only escape hatch: GET any persona-scoped endpoint.
Writes (only when IMPACT_ENABLE_WRITES=true)
create_action_inquiry— file anUNTRACKED/INCORRECT/DECLINEDdispute for an order.create_tracking_link— generate a tracking/deep link for a program.impact_api_request— write escape hatch (POST/PUT/DELETE).
How it works
src/client.tsis the only module that talks HTTP — auth, JSON negotiation, pagination (@nextpageuri), retries, and async jobs (ClickExport/ReportExport) all live here.src/diagnostics.tsencodes Impact's attribution rules and reversal codes sodiagnose_trackingcan interpret the funnel.src/tools/*is one file per domain; writes are gated insrc/tools/index.ts.
A few Impact.com quirks the server handles for you (verified against the live API):
Paths are persona-prefixed:
/{IMPACT_ACCOUNT_TYPE}/{AccountSID}/…. If every call 403s, the account type is likely wrong (Mediapartners vs Advertisers).The API defaults to XML; the client always sends
Accept: application/json.Date formats differ by endpoint: tool inputs are
YYYY-MM-DD, but/Actionsand/ActionInquiriesneed full ISO-8601 datetimes (the server converts them), while report filters take bare dates.Report ids and filter names vary per report — call
get_report_metadatafirst.Rate limits: the API enforces an hourly quota (and exports like
ClickExportare expensive). The client caps concurrent requests (IMPACT_MAX_CONCURRENCY), and on a429it retries only if the reset is within 30s — otherwise it fails fast with the reset time rather than blocking the call for hours.
Security
Real credentials live only in the gitignored .env. No secrets or PII belong in any tracked file (.env.example, .mcp.json, and docs use placeholders). Run npm run check:secrets before committing — it scans the tree against your real .env values and fails if anything leaks.
Development
npm run dev # watch-mode run via tsx
npm run typecheck # tsc --noEmit
npm run lint # eslint (enforces no stray console.log; stdout is JSON-RPC only)
npm run check:secretsLicense
MIT © 2026 Eric Blush
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gblush/impactdotcom-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server