GrowSurf MCP by usefulapi
Read referral campaigns, participants and rewards; add or update participants in GrowSurf.
사용해야 할까요
품질 및 안전성
발견 사항 (4)
- LOWgrowsurf_get_campaign_analytics에서
- LOWgrowsurf_list_participant_activity_logs에서
- LOWgrowsurf_list_participant_rewards에서
- LOWgrowsurf_list_affiliate_applications에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"growsurf": {
"url": "https://growsurf.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://growsurf.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (18)
🟢growsurf_get_team
Get the team that owns the API key: its name and verification status. A program cannot send participant emails until the team is VERIFIED. GET /team.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_campaigns
List the referral and affiliate programs (campaigns) of the team, with their ids and status. Good first call. GET /campaigns.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_get_campaign(campaign_id)
Get one campaign: name, type, status, counts of participants, referrals, impressions, invites and winners, and its rewards. GET /campaign/{id}.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_reward_groups(campaign_id)
List the reward groups of a campaign (participants can belong to a group with its own rewards). GET /campaign/{id}/groups.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_campaign_rewards(campaign_id, group_id)
List the reward configurations of a campaign, optionally for one reward group. GET /campaign/{id}/reward-configs.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"group_id": {
"description": "Only rewards for this reward group id.",
"type": "string"
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_webhooks(campaign_id)
List the webhooks of a campaign: their URLs and the events they receive. GET /campaign/{id}/webhooks.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_get_campaign_analytics(campaign_id, days, start_date, end_date, interval, ...)
Get aggregate analytics for a campaign: referrals, impressions, rates and series over a period. Use days, or startDate and endDate (YYYY-MM-DD). GET /campaign/{id}/analytics.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"days": {
"description": "Look back this many days (default 365). Not used with start_date and end_date.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1825
},
"start_date": {
"description": "Start date (UTC), yyyy-mm-dd. Send with end_date.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"end_date": {
"description": "End date (UTC, inclusive), yyyy-mm-dd. Send with start_date.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"interval": {
"description": "Series interval.",
"type": "string",
"enum": [
"day",
"week",
"month",
"total"
]
},
"include": {
"description": "Optional blocks to add. timezone and platform apply only when this includes engagement.",
"type": "array",
"items": {
"type": "string",
"enum": [
"previousPeriod",
"statusCounts",
"rates",
"email",
"engagement"
]
}
},
"timezone": {
"description": "IANA timezone for engagement boundaries, e.g. Europe/Prague. Needs include engagement.",
"type": "string"
},
"platform": {
"description": "Platform filter for engagement. Needs include engagement.",
"type": "string",
"enum": [
"ALL",
"WEB",
"IOS",
"ANDROID"
]
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_participants(campaign_id, group_id, next_id, limit)
List participants of a campaign, one page at a time, with their referral counts and rank. Pass nextId to page on. GET /campaign/{id}/participants.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"group_id": {
"description": "Only participants in this reward group id.",
"type": "string"
},
"next_id": {
"description": "Pass the nextId from the previous page to get the next page.",
"type": "string"
},
"limit": {
"description": "Items per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_get_participant(campaign_id, participant)
Get one participant: referral counts, rank, share URL, group, language, status and rewards. GET /campaign/{id}/participant/{participantIdOrEmail}.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"participant": {
"type": "string",
"minLength": 1,
"description": "Participant id or email address."
}
},
"required": [
"campaign_id",
"participant"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_leaderboard(campaign_id, is_monthly, leaderboard_type, next_id, limit)
List the leaderboard of a campaign: participants ranked by referrals, for all time or this month. Pass nextId to page on. GET /campaign/{id}/leaderboard.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"is_monthly": {
"description": "true for the current month only.",
"type": "boolean"
},
"leaderboard_type": {
"description": "Ordering mode, e.g. BY_REFERRALS (default ALL_TIME).",
"type": "string",
"enum": [
"ALL_TIME",
"CURRENT_MONTH",
"PREV_MONTH",
"TOTAL_IMPRESSION_COUNT",
"UNIQUE_IMPRESSION_COUNT",
"BY_COMMISSIONS",
"BY_REVENUE",
"BY_REFERRALS",
"BY_LEADS"
]
},
"next_id": {
"description": "Pass the nextId from the previous page to get the next page.",
"type": "string"
},
"limit": {
"description": "Items per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_referrals(campaign_id, sort_by, desc, referral_status, email, ...)
List referrals and invites of a campaign, filtered by status or email. Use offset or nextId to page. GET /campaign/{id}/referrals.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"sort_by": {
"description": "Sort field.",
"type": "string",
"enum": [
"updatedAt",
"createdAt",
"email",
"referralTriggeredAt"
]
},
"desc": {
"description": "Sort descending.",
"type": "boolean"
},
"referral_status": {
"description": "Only referrals with this status.",
"type": "string",
"enum": [
"CREDIT_PENDING",
"CREDIT_AWARDED",
"CREDIT_EXPIRED",
"INVITE_SENT"
]
},
"email": {
"description": "Only referrals with this email.",
"type": "string"
},
"limit": {
"description": "Items per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Offset for paging.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"next_id": {
"description": "Pass the nextId from the previous page to get the next page.",
"type": "string"
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_participant_activity_logs(campaign_id, participant, limit, offset)
List the activity log of one participant (events in the campaign). GET /campaign/{id}/participant/{participantIdOrEmail}/activity-logs.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"participant": {
"type": "string",
"minLength": 1,
"description": "Participant id or email address."
},
"limit": {
"description": "Items per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Offset for paging.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"campaign_id",
"participant"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_participant_rewards(campaign_id, participant, next_id, limit)
List the rewards one participant has earned in a campaign, with their status. Reads only: approving or paying is not available here. GET /campaign/{id}/participant/{participantIdOrEmail}/rewards.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"participant": {
"type": "string",
"minLength": 1,
"description": "Participant id or email address."
},
"next_id": {
"description": "Pass the nextId from the previous page to get the next page.",
"type": "string"
},
"limit": {
"description": "Items per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"campaign_id",
"participant"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_commissions(campaign_id, status, next_id, limit)
List affiliate commissions of a campaign, optionally filtered by status. Pass nextId to page on. GET /campaign/{id}/commissions.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"status": {
"description": "Only commissions with this status.",
"type": "string",
"enum": [
"PENDING",
"APPROVED",
"PAID",
"REVERSED",
"DELETED"
]
},
"next_id": {
"description": "Pass the nextId from the previous page to get the next page.",
"type": "string"
},
"limit": {
"description": "Items per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_payouts(campaign_id, status, next_id, limit)
List affiliate payouts of a campaign, optionally filtered by status. Reads only. Pass nextId to page on. GET /campaign/{id}/payouts.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"status": {
"description": "Only payouts with this status.",
"type": "string",
"enum": [
"UPCOMING",
"QUEUED",
"ISSUED",
"FAILED",
"REVERSED"
]
},
"next_id": {
"description": "Pass the nextId from the previous page to get the next page.",
"type": "string"
},
"limit": {
"description": "Items per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢growsurf_list_affiliate_applications(campaign_id, status, limit, offset)
List affiliate applications of an affiliate campaign, by status (PENDING, APPROVED or DENIED). Reads only: reviewing is not available here. GET /campaign/{id}/affiliate-applications.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"status": {
"description": "Only applications with this status.",
"type": "string",
"enum": [
"PENDING",
"APPROVED",
"DENIED"
]
},
"limit": {
"description": "Items per page.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"offset": {
"description": "Offset for paging.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"campaign_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴growsurf_create_participant(campaign_id, email, is_affiliate, first_name, last_name, ...)
Add one participant to a campaign. This changes program data; the campaign's own email settings decide any emails sent. POST /campaign/{id}/participant.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"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": "The participant's email address."
},
"is_affiliate": {
"type": "boolean",
"description": "Required. Affiliate programs: true enrolls the participant as an APPROVED affiliate; false adds a non-affiliate. Referral programs: send false."
},
"first_name": {
"description": "First name.",
"type": "string"
},
"last_name": {
"description": "Last name.",
"type": "string"
},
"group_id": {
"description": "Reward group id to put the participant in.",
"type": "string"
},
"language": {
"description": "Language code, e.g. en.",
"type": "string"
}
},
"required": [
"campaign_id",
"email",
"is_affiliate"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴growsurf_update_participant(campaign_id, participant, email, first_name, last_name, ...)
Update one participant's name, email, group, language, notes or unsubscribed flag. Changes only the fields you pass. POST /campaign/{id}/participant/{participantIdOrEmail}.
입력 스키마
{
"type": "object",
"properties": {
"campaign_id": {
"type": "string",
"minLength": 1,
"description": "Campaign (program) id, from growsurf_list_campaigns."
},
"participant": {
"type": "string",
"minLength": 1,
"description": "Participant id or email address."
},
"email": {
"description": "New email address.",
"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,}$"
},
"first_name": {
"description": "First name.",
"type": "string"
},
"last_name": {
"description": "Last name.",
"type": "string"
},
"group_id": {
"description": "Reward group id, or null to clear it.",
"type": [
"string",
"null"
]
},
"language": {
"description": "Language code, or null to clear it.",
"type": [
"string",
"null"
]
},
"notes": {
"description": "Internal notes (not shown to the participant).",
"type": "string"
},
"unsubscribed": {
"description": "true to stop the participant's program emails.",
"type": "boolean"
}
},
"required": [
"campaign_id",
"participant"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거