How to Use the Froged MCP in Vercel AI SDK
Stream Froged customer data directly into your Vercel AI SDK app. Show users live updates instead of loading spinners.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Froged MCP to Vercel AI SDK
Create your Vinkius account to connect Froged 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.
Build a live customer directory
This MCP server gives your agent tools to pull Froged data right into your UI. You can build a customer profile page that populates in real-time. As the AI client calls `get_contact_details`, the user sees their information appear field by field, no waiting. Use `list_cs_contacts` to stream a list of users into a table component. Because the Vercel AI SDK streams tool results, your interface feels incredibly responsive. It's the difference between a static page and a live dashboard.
Create a real-time support chat UI
Connect your Vercel AI SDK frontend to a live stream of customer support activity. Your agent can use `list_support_conversations` to populate a ticket queue. When a support rep clicks a conversation, `get_chat_details` streams the entire message history into view. When your agent needs to reply, it calls `send_chat_message`. The new message appears instantly in the UI for a true real-time chat experience. You're not just calling an API; you're building a live window into your Froged support desk.
Display live user activity feeds with this MCP Server
Show what users are doing inside your app, as it happens. Your AI agent can call `list_behavioral_events` to get a stream of user actions. This is perfect for building an admin dashboard with a live activity feed. Combine this with `track_custom_event` to let your agent log new events from your app's UI. The user clicks a button, the agent calls the tool, and the event immediately appears in the feed. It closes the loop between user action and system feedback.
Set up Froged MCP in Vercel AI SDK
Prerequisites
- Node.js 18+ and a TypeScript project
-
ai+@modelcontextprotocol/sdkpackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
npm install ai @modelcontextprotocol/sdkplus your preferred model provider (e.g.@ai-sdk/openai). - 2
Create the Streamable HTTP transport
Use
StreamableHTTPClientTransportwith your Vinkius endpoint URL. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Discover and use tools
Call
mcpClient.tools()to auto-discover all Froged tools. Pass them directly togenerateText()orstreamText()— no manual schema definitions needed. - 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.
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 Froged 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 Froged. 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 Froged MCP in Vercel AI SDK
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Froged MCP today
We host it, we monitor it, we maintain it. You just paste one token.