LeadDyno MCP by usefulapi
Read affiliates, purchases, commissions and leads; approve or reject affiliates in LeadDyno.
Should I use this
Quality & Safety
Findings (1)
- LOWin leaddyno_get_affiliate_by_email
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"leaddyno": {
"url": "https://leaddyno.usefulapi.io/mcp"
}
}
}Remote endpoints
https://leaddyno.usefulapi.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (13)
🟢leaddyno_list_affiliates(query, created_after, created_before, updated_after, updated_before, ...)
List affiliates in the LeadDyno program, filtered by a search string (first name, last name or email) and by created or updated time. Vendor: GET /affiliates.
Input Schema
{
"type": "object",
"properties": {
"query": {
"description": "Text to find in first name, last name or email.",
"type": "string"
},
"created_after": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"created_before": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"updated_after": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"updated_before": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page (default 100, max 200).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leaddyno_get_affiliate(affiliate_id)
Get one affiliate by its LeadDyno id, with status, affiliate code, referrer and archive flag. Vendor: GET /affiliates/{id}.
Input Schema
{
"type": "object",
"properties": {
"affiliate_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "LeadDyno numeric id."
}
},
"required": [
"affiliate_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leaddyno_get_affiliate_by_email(email)
Find one affiliate by the email address they signed up with. Vendor: GET /affiliates/by_email.
Input Schema
{
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Email address."
}
},
"required": [
"email"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leaddyno_get_affiliate_by_code(affiliate_code)
Find one affiliate by their affiliate or coupon code. Vendor: GET /affiliates/by_affiliate_code.
Input Schema
{
"type": "object",
"properties": {
"affiliate_code": {
"type": "string",
"minLength": 1,
"description": "The affiliate's coupon or discount code."
}
},
"required": [
"affiliate_code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leaddyno_list_affiliate_groups(page, per_page)
List affiliate groups (commission tiers and program segments). Vendor: GET /affiliate_groups.
Input Schema
{
"type": "object",
"properties": {
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page (default 100, max 200).",
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leaddyno_list_purchases(created_after, created_before, updated_after, updated_before, cancelled_after, ...)
List purchases tracked through the program, filtered by created, updated or cancelled time, and optionally only affiliate-referred purchases. Vendor: GET /purchases.
Input Schema
{
"type": "object",
"properties": {
"created_after": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"created_before": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"updated_after": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"updated_before": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"cancelled_after": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"cancelled_before": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"affiliates_only": {
"description": "Return only purchases referred by affiliates (default false).",
"type": "boolean"
},
"include_line_items": {
"description": "Include SKU line items for each purchase (default false).",
"type": "boolean"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page (default 100, max 200).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leaddyno_get_purchase(purchase_id, include_line_items)
Get one purchase by its LeadDyno id, with amount, currency, referral source, cancellation and lead. Vendor: GET /purchases/{id}.
Input Schema
{
"type": "object",
"properties": {
"purchase_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "LeadDyno numeric id."
},
"include_line_items": {
"description": "Include SKU line items (default false).",
"type": "boolean"
}
},
"required": [
"purchase_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leaddyno_list_commissions(created_after, created_before, updated_after, updated_before, note, ...)
List commissions earned by affiliates, filtered by created or updated time, exact or partial note text, and affiliate group. Vendor: GET /commissions.
Input Schema
{
"type": "object",
"properties": {
"created_after": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"created_before": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"updated_after": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"updated_before": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"note": {
"description": "Exact, case-insensitive match on the commission note.",
"type": "string"
},
"note_contains": {
"description": "Case-insensitive text the note contains.",
"type": "string"
},
"affiliate_group_id": {
"description": "Only affiliates in this group.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page (default 100, max 200).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leaddyno_get_commission_totals(start_date, end_date, currency, affiliate_id, note)
Get commission totals (counts and costs: total, cancelled, due and paid) for a date range, optionally for one affiliate or note. Vendor: GET /commissions/totals.
Input Schema
{
"type": "object",
"properties": {
"start_date": {
"description": "Start of the range, yyyy-mm-dd (default: all time).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"end_date": {
"description": "End of the range, yyyy-mm-dd (default: now).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"currency": {
"description": "Currency code, for example USD (default: the account currency).",
"type": "string"
},
"affiliate_id": {
"description": "Totals for one affiliate id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"note": {
"description": "Exact, case-insensitive match on the commission note.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leaddyno_get_lead_by_email(email)
Find one lead (a referred or tracked contact) by email address, with status, custom status and address fields. Vendor: GET /leads/by_email.
Input Schema
{
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Email address."
}
},
"required": [
"email"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢leaddyno_list_campaigns(created_after, created_before, updated_after, updated_before, page, ...)
List tracking campaigns, filtered by created or updated time. Vendor: GET /campaigns.
Input Schema
{
"type": "object",
"properties": {
"created_after": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"created_before": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"updated_after": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"updated_before": {
"description": "ISO 8601 timestamp, for example 2026-10-01T00:00:00Z.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Records per page (default 100, max 200).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 200
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡leaddyno_approve_affiliate(affiliate_id)
Approve a pending affiliate so they can earn commissions and sign in to the affiliate area. Vendor: POST /affiliates/{id}/approve. Calling it again on an approved affiliate is harmless.
Input Schema
{
"type": "object",
"properties": {
"affiliate_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "LeadDyno numeric id."
}
},
"required": [
"affiliate_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴leaddyno_reject_affiliate(affiliate_id)
Reject a pending affiliate application, so they do not join the program. Check the affiliate with leaddyno_get_affiliate first. Vendor: POST /affiliates/{id}/reject.
Input Schema
{
"type": "object",
"properties": {
"affiliate_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "LeadDyno numeric id."
}
},
"required": [
"affiliate_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence