3,400+ MCP servers ready to use
Vinkius

Bring Referral Marketing
to Vercel AI SDK

Learn how to connect ReferralCandy to Vercel AI SDK 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 Vercel AI SDK?

The Vercel AI SDK gives every ReferralCandy tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 16 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.

  • TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box

  • Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same ReferralCandy integration everywhere

  • Built-in streaming UI primitives let you display ReferralCandy tool results progressively in React, Svelte, or Vue components

  • Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency

See it in action

ReferralCandy in Vercel AI SDK

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 Vercel AI SDK 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 Vercel AI SDK

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 Vercel AI SDK 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 Vercel AI SDK

Every tool call from Vercel AI SDK 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 the Vercel AI SDK connect to MCP servers?

Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.

05

Can I use MCP tools in Edge Functions?

Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.

06

Does it support streaming tool results?

Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.

07

createMCPClient is not a function

Install: npm install @ai-sdk/mcp