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

How to Use the Aimtell MCP in Vercel AI SDK

Stream live push notification metrics directly into your React frontends using the Aimtell MCP server and Vercel AI SDK.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect Aimtell MCP to Vercel AI SDK

Create your Vinkius account to connect Aimtell 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

Stream Aimtell metrics via Vercel AI SDK

Pushing raw data to a dashboard usually means making users stare at loading spinners. This MCP integration flips that model on its head by streaming push notification metrics straight into your Next.js components as they resolve. Your users watch campaign click-through rates populate in real-time. You just pass the `get_campaign_performance` tool into your `streamText` configuration. The AI client pulls the analytics and immediately renders the results live on the page. Nobody waits for a bloated API response to finish before seeing how their latest broadcast performed.

Build interactive subscriber management

Managing notification audiences shouldn't require jumping between tabs. You can build internal admin panels that let your marketing team query specific users right from a chat interface. They ask about a specific device, and the frontend instantly displays the relevant metadata. Triggering `get_subscriber_details` pulls down the exact browser and engagement history for that individual. If the team needs to tag them for a specific promotion, the interface fires `add_subscriber_attribute` without breaking the conversation flow. The data updates right there in the UI.

Trigger campaigns from your frontend

Giving end-users the ability to send alerts usually involves building complex custom forms. Now you can let them describe what they want to send, and the AI handles the routing. They type a quick message, and the system maps it to the right endpoint. When someone confirms the prompt, the application executes `send_one_off_notification` to push the alert out. You can also build views that pull current active broadcasts using `list_campaigns` so they know exactly what else is running. Every action routes through your Vinkius MCP Server connection.

Setup guide

Set up Aimtell 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 Aimtell 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 Aimtell 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 Aimtell. 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 Aimtell MCP in Vercel AI SDK

Use `createMCPClient` with an HTTP transport pointing to your Vinkius endpoint URL. Call `mcpClient.tools()` to grab the available functions and pass them directly into your `generateText` or `streamText` parameters. Always remember to call `mcpClient.close()` when the execution finishes.
Yes, any MCP compatible client can fire off immediate alerts. You just expose the `send_one_off_notification` tool to your prompt. The user types their message, and the AI executes the push broadcast.
Writing custom fetch wrappers and managing types takes hours. This standard protocol gives your AI instant, typed access to ten different endpoints immediately. You drop it in and start streaming responses without writing boilerplate.
It runs perfectly on the Edge. The HTTP transport layer works natively in Edge environments. You can stream subscriber data or campaign metrics to your Next.js frontend with zero cold boot delays.
Your AI client accesses raw browser metadata, engagement history, and custom subscriber tags. Vinkius isolates this execution inside a V8 sandbox that destroys itself after the request completes. No data persists in the middle layer.

Start using the Aimtell MCP today

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

Built & Managed by Vinkius 30s setup 10 tools

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

No hosting. No infrastructure. No complex setup.
All 10 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.