3,400+ MCP servers ready to use
Vinkius
M

Bring Referral Marketing
to Mastra AI

Learn how to connect ReferralCandy to Mastra AI and start using 16 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

Check Referralcandy StatusGet CampaignGet ReferralGet ReferrerGet StatsGet Top ReferrersList CampaignsList InvitesList Pending RewardsList PurchasesList ReferralsList Referrals By PeriodList ReferrersList RewardsRegister PurchaseSend Invite

What is the ReferralCandy MCP Server?

Give your AI agent full programmatic control over your ReferralCandy ecosystem. With 16 tools tailored for referral marketing, your agent can instantly track referrals by period, register attributed purchases, identify top advocates, monitor pending rewards, manage campaigns, and send referral invitations directly from your natural language workspace.

What you can do

  • List and filter referrals by period
  • Register purchases to trigger rewards
  • Identify and manage top-performing advocates
  • Monitor pending referral payouts
  • Configure campaigns and send invites
  • Access overall program statistics

How it works

1. Subscribe to this server 2. Enter your ReferralCandy API Keys (found in your developer settings) 3. Let your AI agents start managing your referral operations via Vinkius

Who is it for?

Designed for marketing teams, e-commerce operators, and growth hackers who need instant, conversational access to affiliate and referral performance metrics.

Built-in capabilities (16)

check_referralcandy_status

Verify connectivity

get_campaign

Get campaign details

get_referral

Get referral details

get_referrer

Get advocate profile

get_stats

Get program stats

get_top_referrers

Get top advocates

list_campaigns

List campaigns

list_invites

List sent invites

list_pending_rewards

List pending rewards

list_purchases

List referred purchases

list_referrals

List all referrals

list_referrals_by_period

List referrals by period

list_referrers

List all advocates

list_rewards

List all rewards

register_purchase

Register a purchase

send_invite

Send a referral invite

Why Mastra AI?

Mastra's agent abstraction provides a clean separation between LLM logic and ReferralCandy tool infrastructure. Connect 16 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

  • Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add ReferralCandy without touching business code

  • Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

  • TypeScript-native: full type inference for every ReferralCandy tool response with IDE autocomplete and compile-time checks

  • One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

M
See it in action

ReferralCandy in Mastra AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

ReferralCandy and 3,400+ other MCP servers. One platform. One governance layer.

Teams that connect ReferralCandy to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.

3,400+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself3,400+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

Why teams choose Vinkius for ReferralCandy in Mastra AI

The ReferralCandy MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 16 tools execute in hardened sandboxes optimized for native MCP execution.

Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

ReferralCandy
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

The Vinkius Advantage

How Vinkius secures ReferralCandy for Mastra AI

Every tool call from Mastra AI to the ReferralCandy MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

Can my AI automatically register a new purchase to trigger a referral reward?

Yes! Use the register_purchase tool providing the buyer's email, order amount, and order ID. Your agent will send this data to ReferralCandy, triggering the referral attribution and payout flow instantly.

02

How do I easily find out who my best performing advocates are?

Simply ask the agent to run the get_top_referrers action. It will compile your highest-performing ambassadors ranked by total successful referrals and the total revenue they generated for your store.

03

Can I check if a specific customer has any pending referral rewards?

Absolutely. By using the list_pending_rewards tool and filtering by the customer's email, your agent can instantly fetch their reward status and payout timeline without you needing to open the dashboard.

04

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.

05

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.

06

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

07

createMCPClient not exported

Install: npm install @mastra/mcp