How to Use the Liaison MCP in Vercel AI SDK
Feed real-time admissions data directly into your Next.js interface using the Vercel AI SDK.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Liaison MCP to Vercel AI SDK
Create your Vinkius account to connect Liaison 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.
Live applicant tracking in your Vercel AI SDK app
Stop making users stare at loading spinners while waiting for admissions data. This Vercel AI SDK integration lets your interface render applicant details as they stream in from the server. Your users see live status updates the second the backend fetches them. This MCP Server lets your UI call `list_applications` and stream the results straight to Vercel AI SDK components. When a user clicks an applicant, `get_application` instantly pulls the specific academic record they need to review.
Instant program and designation mapping
Academic programs change, and manual mapping in Next.js is a nightmare. This Vercel AI SDK setup lets your interface resolve program requirements on the fly. You query active offerings without building custom database sync scripts. Your Vercel AI SDK client uses `list_programs` and `list_designations` to show applicants the exact tracks available. It grabs current admissions options directly from the Liaison API, so your front end never displays stale academic codes.
Direct custom field rendering
Every school has custom questions that break standard Vercel AI SDK forms. This toolset lets your UI adapt to whatever custom fields the admissions team configures on the backend. By calling `list_custom_fields`, your Vercel AI SDK system renders dynamic form inputs matching the exact schema. It means your React forms match the backend admissions database without a redeploy.
Set up Liaison 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 Liaison 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 Liaison 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 Liaison. 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 Liaison 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 Liaison MCP today
We host it, we monitor it, we maintain it. You just paste one token.