3,400+ MCP servers ready to use
Vinkius

Bring Referly
to Vercel AI SDK

Learn how to connect Referly to Vercel AI SDK and start using 12 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

Create AffiliateGet Affiliate DetailsGet Current UserGet Referral AnalyticsGet Workflow StatusList AffiliatesList CouponsList Referral WorkflowsList ReferralsTrack Referral EventTrigger WorkflowValidate Coupon

What is the Referly MCP Server?

Connect your Referly (referly.so) account to any AI agent and take full control of your referral marketing and affiliate orchestration through natural conversation. Referly provides a powerful platform for managing partners and conversion tracking, and this integration allows you to retrieve affiliate metadata, trigger custom referral workflows, and monitor program performance directly from your chat interface.

What you can do

  • Affiliate & Partner Orchestration — List all managed affiliates and retrieve detailed performance metadata, including creating new partner profiles programmatically.
  • Referral & Conversion Intelligence — Track real-time conversion events and attribute sign-ups or sales to specific referral codes directly from the AI interface.
  • Workflow & Automation Control — Trigger custom referral workflows and monitor their execution statuses via natural language to keep your growth loops synchronized.
  • Coupon & Promo Oversight — Validate discount coupons and list active promo codes to ensure your marketing campaigns are always optimized.
  • Operational Monitoring — Access analytics summaries and manage tenant metadata using simple AI commands.

How it works

1. Subscribe to this server
2. Enter your Referly Tenant ID and API Key from your dashboard at referly.so
3. Start managing your growth programs from Claude, Cursor, or any MCP-compatible client

No more manual CSV exports or attribute hunting. Your AI acts as a dedicated growth manager or affiliate coordinator.

Who is this for?

  • Growth Marketers — quickly retrieve referral stats and monitor partner performance without switching apps.
  • Partnership Managers — automate the onboarding of new affiliates and track their impact via natural conversation.
  • Operations Teams — streamline the retrieval of conversion metadata and monitor organizational growth health directly within the chat.

Built-in capabilities (12)

create_affiliate

Requires name and email. Create a new affiliate

get_affiliate_details

Get details for a specific affiliate

get_current_user

Get authenticated user profile

get_referral_analytics

Get referral performance summary

get_workflow_status

Check workflow execution status

list_affiliates

List all affiliates/partners

list_coupons

List all discount coupons

list_referral_workflows

List automation workflows

list_referrals

List all referral events

track_referral_event

Track a new referral conversion

trigger_workflow

Manually trigger a workflow

validate_coupon

Validate a discount coupon

Why Vercel AI SDK?

The Vercel AI SDK gives every Referly tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 12 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 Referly integration everywhere

  • Built-in streaming UI primitives let you display Referly 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

Referly in Vercel AI SDK

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

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

Teams that connect Referly 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 Referly in Vercel AI SDK

The Referly 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 12 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.

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

Every tool call from Vercel AI SDK to the Referly 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 find if a specific discount code is valid in Referly?

Yes! Use the validate_coupon tool. Provide the promo code, and your agent will return its eligibility status and technical metadata instantly.

02

How do I find my Referly Tenant ID and API Key?

Log in to your Referly dashboard at referly.so, navigate to Settings > API Keys, and you will find your unique Tenant ID and secret API key there.

03

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.

04

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.

05

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.

06

createMCPClient is not a function

Install: npm install @ai-sdk/mcp