4,500+ servers built on MCP Fusion
Vinkius
CleverTap logo
Vinkius
Vercel AI SDK logo

How to Use the CleverTap MCP in Vercel AI SDK

Build live dashboards with CleverTap data streaming straight into your UIs using the Vercel AI SDK.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

CleverTap MCP on Cursor AI Code Editor MCP Client CleverTap MCP on Claude Desktop App MCP Integration CleverTap MCP on OpenAI Agents SDK MCP Compatible CleverTap MCP on Visual Studio Code MCP Extension Client CleverTap MCP on GitHub Copilot AI Agent MCP Integration CleverTap MCP on Google Gemini AI MCP Integration CleverTap MCP on Lovable AI Development MCP Client CleverTap MCP on Mistral AI Agents MCP Compatible CleverTap MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Vercel AI SDK

Connect CleverTap MCP to Vercel AI SDK

Create your Vinkius account to connect CleverTap to Vercel AI SDK and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Live Campaign Metrics

Stop making your users wait for dashboards to load. When your frontend asks for campaign performance, the Vercel AI SDK streams data from `get_campaign_performance_report` directly into your components. You can build charts and tables that populate in real time. This gives you a live window into user activity. Your app can call `get_real_time_usage_stats` and show active user counts or event totals that update on the screen as they happen. It's a much better experience than a static number behind a refresh button.

On-Demand User Lookups

Build internal tools that feel instant. Let your support team look up a customer by calling `get_user_profile_details` and have their full CleverTap profile render immediately in your admin panel. There's no backend API to build or maintain. Your agent can also pull account-wide metadata for auditing or exploration. You can create a UI that uses `list_user_profile_properties` to show all defined attributes or `list_event_schemas` to check your tracking setup, all powered by your agent and this MCP Server.

Dynamic Reporting with the Vercel AI SDK

Let your users ask for what they want to see. Your agent can take a query like "show me all campaigns from Q2" and use `list_clevertap_campaigns` to stream the results directly into a report. The Vercel AI SDK handles the connection, you just render the data as it arrives. This works for any list-based data in your CleverTap account. Build an interface where a product manager can ask about defined segments and see the list from `list_clevertap_segments` appear right away. It's the fastest way to get CleverTap data into your frontend.

Setup guide

Set up CleverTap MCP in Vercel AI SDK

Prerequisites

  • Node.js 18+ and a TypeScript project
  • ai + @modelcontextprotocol/sdk packages
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install dependencies

    Run npm install ai @modelcontextprotocol/sdk plus your preferred model provider (e.g. @ai-sdk/openai).

  2. 2

    Create the Streamable HTTP transport

    Use StreamableHTTPClientTransport with your Vinkius endpoint URL. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com.

  3. 3

    Discover and use tools

    Call mcpClient.tools() to auto-discover all CleverTap tools. Pass them directly to generateText() or streamText() — no manual schema definitions needed.

  4. 4

    Works with any model provider

    Swap openai("gpt-4o") for any AI SDK provider — Anthropic, Google, Mistral. The MCP tools work identically across all supported models.

index.ts
import { experimental_createMCPClient as createMCPClient } from "ai";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";

const transport = new StreamableHTTPClientTransport(
  new URL("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
);

const mcpClient = await createMCPClient({ transport });
const tools = await mcpClient.tools();

const { text } = await generateText({
  model: openai("gpt-4o"),
  tools,
  prompt: "List recent CleverTap transactions",
});

console.log(text);
await mcpClient.close();

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by CleverTap. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about CleverTap MCP in Vercel AI SDK

Connect the CleverTap MCP server to your AI SDK client using your Vinkius URL. Your agent can then call `get_campaign_performance_report`, and you can stream the results directly into your React components for a live view.
Yes. The `get_real_time_usage_stats` tool is designed for exactly this. With the Vercel AI SDK, you can stream user counts and event stats into your UI, updating them live without page reloads.
Just install `@ai-sdk/mcp` and create a client pointing to your Vinkius endpoint. You get the tools by calling `mcpClient.tools()` and pass them to `generateText` or `streamText`. It's designed to work perfectly inside Vercel Edge Functions.
It does. The Vercel AI SDK is not tied to React. You can stream CleverTap tool results into your Svelte or Vue applications just as easily, building the same kind of live, responsive UIs.
The server only fetches user profiles when your agent explicitly calls `get_user_profile_details`. Vinkius runs every request in an ephemeral, sandboxed environment, and your connection is secured by a unique endpoint token. No user profile data is ever stored on the MCP server.

Start using the CleverTap MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 8 tools

We've already built the connector for CleverTap. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 8 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.