mcp-server
v1.0.0MCP server for Agent Kong — gives Claude access to attribution, financials, conversations, and CRM data
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_attribution
Get the full attribution table — shows which marketing sources/campaigns/ads drive conversions and revenue. USE THIS WHEN: "Which ad is performing best?", "What's my CPA per channel?", "Where do my best customers come from?", "Show me ROAS by campaign" DRILL-DOWN WORKFLOW: 1. Start with groupBy=source to see top-level channels (Meta, Google, Direct, etc.) 2. Filter by a source and switch to groupBy=campaign to see campaigns within that source 3. Filter by campaign and switch to groupBy=ad to see individual ad performance The response includes: pageViews, leads, conversions (per event type…
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date ISO 8601 |
startDate * | string | Start date ISO 8601 (e.g., 2026-03-01T00:00:00Z) |
ads | string | Filter by ad names (pipe-separated) |
attributionModel | string | |
campaigns | string | Filter by campaign names (pipe-separated) |
currency | string | Currency code (e.g., USD, CAD). Defaults to USD. |
eventTypes | string | Filter by conversion event types (pipe-separated: "purchase|||lead") |
groupBy | string | Dimension to group by |
mediums | string | Filter by medium names (pipe-separated) |
presetId | string | Attribution preset ID for column configuration |
sources | string | Filter by source names (pipe-separated: "meta|||google") |
timezone | string | IANA timezone (e.g., America/New_York). Defaults to America/New_York. |
get_utms
Get all available UTM values — sources, campaigns, mediums, ads, and their relationships. USE THIS WHEN: You need to know what filter values are available before calling get_attribution. For example, to find out what sources exist before filtering. Returns: { sources: [], campaigns: [], mediums: [], ads: [], hierarchy: { sourceToCampaigns: {}, campaignToMediums: {} } }
get_presets
Get attribution column presets (funnel views). Each preset defines which conversion types are shown in the attribution table. USE THIS WHEN: The user asks about a specific funnel or preset, or you need to know what presetId to pass to get_attribution.
get_stripe_financials
Access Stripe financial data — payments, subscriptions, customers, daily metrics, and products. USE THIS WHEN: "What's my MRR?", "Show me revenue trends", "Who are my top customers?", "What's my churn rate?", "Show me subscription cancellations" MODES: - payments: Payment history with amounts, status, customer info. Filter by date, status, isRecurring. - subscriptions: Active and historical subscriptions with MRR contribution. Filter by status (active/canceled/past_due). - customers: Customer roster with LTV, MRR, churn dates. Sort by -totalRevenue for highest-value customers. - metrics: D…
| Parameter | Type | Description |
|---|---|---|
mode * | string | Which Stripe data to fetch |
from | string | Start date ISO 8601 (required for metrics and payments) |
hasActiveSubscription | string | Filter customers with active subs (true/false) |
isRecurring | string | Filter recurring payments only (true/false) |
limit | number | Results per page (max 100) |
page | number | Page number |
periodType | string | Metric granularity (for metrics mode) |
sort | string | Sort field (e.g., -totalRevenue, -amount, -paymentDate) |
status | string | Filter by status (e.g., succeeded, active, canceled) |
stripeCustomerId | string | Filter by Stripe customer ID |
to | string | End date ISO 8601 (required for metrics and payments) |
get_shopify_data
Access Shopify e-commerce data — orders, customers, products, daily analytics, and abandoned carts. USE THIS WHEN: "What are my top products?", "Show me order trends", "Which customers spend the most?", "What's my cart abandonment rate?", "Show me repeat customers" MODES: - orders: Order history with UTM attribution, line items, financial status. Filter by date, financialStatus, contactId. - customers: Customer roster with RFM segmentation, acquisition source, spend data. Filter by rfmSegment (Champions, Loyal, At Risk, New). - products: Product catalog with revenue, order count, repeat dr…
| Parameter | Type | Description |
|---|---|---|
mode * | string | Which Shopify data to fetch |
contactId | string | Filter by linked contact ID |
financialStatus | string | Filter orders by status (paid, pending, refunded) |
from | string | Start date ISO 8601 (required for analytics) |
limit | number | Results per page (max 100) |
page | number | Page number |
productType | string | Filter products by type |
rfmSegment | string | Filter customers by RFM segment (Champions, Loyal, At Risk, New) |
sort | string | Sort field (e.g., -totalSpent, -totalRevenue, -orderCreatedAt) |
status | string | Filter products by status |
to | string | End date ISO 8601 (required for analytics) |
get_whop_data
Access Whop marketplace data — payments, connections, customers, and memberships. USE THIS WHEN: "How's Whop revenue?", "Show me Whop customers", "What's my Whop churn?", "Compare Whop vs Stripe revenue" MODES: - payments: Whop payment events with product info, user details, attribution status. Filter by date, eventType, contactId. - connections: Connected Whop marketplace accounts. - customers: Customer roster with LTV, membership status, churn dates. Sort by -totalRevenue for highest-value customers. - memberships: Membership lifecycle — active, canceled, plan details. Filter by status…
| Parameter | Type | Description |
|---|---|---|
mode * | string | Which Whop data to fetch |
contactId | string | Filter by linked contact ID |
eventType | string | Filter payments by event type (payment.succeeded, membership.went_valid) |
from | string | Start date ISO 8601 |
hasActiveMembership | string | Filter customers by active membership (true/false) |
limit | number | Results per page (max 100) |
page | number | Page number |
sort | string | Sort field (e.g., -totalRevenue, -paidAt, -canceledAt) |
status | string | Filter by status (active, canceled) |
to | string | End date ISO 8601 |
whopProductId | string | Filter memberships by product ID |
get_conversations
Access conversation data — list conversations or read full message history for a specific conversation. USE THIS WHEN: "What are customers asking about?", "Show me conversations about refunds", "Read this customer's messages", "How is the AI agent performing?" MODES: - list: List conversations with filters. Each has contactId, starred status, replyMode, lastMessageAt. - messages: Get full message history for a specific conversation. Includes sender (AI_AGENT/CONTACT/USER), channel, status. Voice call messages include callLog with duration and recording URL. WORKFLOW: First list conversati…
| Parameter | Type | Description |
|---|---|---|
mode * | string | list = list conversations, messages = get messages for a conversation |
contactId | string | Filter conversations by contact ID |
conversationId | string | Conversation ID (required for messages mode) |
limit | number | Results per page (max 100) |
page | number | Page number |
replyMode | string | Filter by reply mode (AUTO, MANUAL, HYBRID) |
sort | string | Sort field (e.g., -lastMessageAt, -createdAt) |
starred | string | Filter starred conversations (true/false) |
get_call_data
Access voice call logs and transcripts. USE THIS WHEN: "What questions come up on sales calls?", "What's the average call duration?", "Summarize this customer's calls", "Show me the longest calls" MODES: - list: List call logs with contact info, duration, recording URL. Filter by date range, agentId. Sort by -duration for longest calls. - get: Get a single call log by ID. - transcript: Get the full transcript for a call. Returns JSON transcript data. Use this to analyze what was discussed. WORKFLOW: First list calls to find the one you need, then use transcript mode to read the conversation…
| Parameter | Type | Description |
|---|---|---|
mode * | string | list = list calls, get = single call, transcript = call transcript |
agentId | string | Filter by AI agent ID |
callId | string | Call ID (required for get and transcript modes) |
from | string | Start date ISO 8601 |
limit | number | Results per page (max 100) |
page | number | Page number |
sort | string | Sort field (e.g., -createdAt, -duration) |
to | string | End date ISO 8601 |
get_contacts
Access CRM contact data and customer journey (tracking sessions). USE THIS WHEN: "Show me this contact's full journey", "Find contacts with email X", "Which contacts have the highest engagement?", "Show me this customer's tracking sessions" MODES: - list: Search and list contacts. Filter by email, phone, tag, search query. Include tags and custom fields with include=tags,customFields. - get: Get a single contact with full details including tags and custom fields. - sessions: Get tracking sessions for a contact — shows their website visits, UTM sources, pages viewed, device info. WORKFLOW…
| Parameter | Type | Description |
|---|---|---|
mode * | string | list = search contacts, get = single contact, sessions = tracking sessions |
contactId | string | Contact ID (required for get and sessions modes) |
email | string | Filter by exact email |
include | string | Include relations: tags, customFields (comma-separated) |
limit | number | Results per page (max 100) |
page | number | Page number |
phone | string | Filter by exact phone |
search | string | Search across name, email, phone |
sort | string | Sort field (e.g., -createdAt, name) |
tag | string | Filter by tag name |
get_conversion_events
Access conversion events and LTV analysis. USE THIS WHEN: "Show me recent conversions", "What's the average order value?", "Who are my highest LTV contacts?", "Show me conversions from Google Ads" MODES: - list: List conversion entries with filters. Each includes contactId, configName (event type), sourceName, eventValue, currency, attribution data (source, campaign, medium, ad). Sort by -eventValue for highest value. - ltv: Get contacts ranked by lifetime value. Shows total revenue per contact with their acquisition source/campaign. Sort by -ltv for highest LTV. For list mode, you can filt…
| Parameter | Type | Description |
|---|---|---|
mode * | string | list = conversion entries, ltv = contacts by lifetime value |
configId | string | Filter by conversion config ID |
configName | string | Filter by conversion config name (e.g., "purchase", "lead") |
contactId | string | Filter by contact ID |
from | string | Start date ISO 8601 |
limit | number | Results per page (max 100, default 20, max 200 for ltv) |
page | number | Page number |
sort | string | Sort field (e.g., -occurredAt, -eventValue, -ltv) |
sourceId | string | Filter by conversion source ID |
to | string | End date ISO 8601 |