AwardWallet MCP Server for Vercel AI SDK 9 tools — connect in under 2 minutes
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect AwardWallet through Vinkius and every tool is available as a typed function. ready for React Server Components, API routes, or any Node.js backend.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token. get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using AwardWallet, list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
main();
* 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
About AwardWallet MCP Server
Connect your AwardWallet business account to any AI agent and track your loyalty points, frequent flyer miles, and travel itineraries through natural conversation.
The Vercel AI SDK gives every AwardWallet tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 9 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
What you can do
- Loyalty Tracking — Monitor balances, expiration dates, and elite status across hundreds of frequent flyer and reward programs
- Travel Timelines — Access a unified view of past and upcoming trips, including flights, hotels, and car rentals
- Itinerary Auditing — Retrieve detailed metadata and confirmation details for trips shared by your connected users
- User Access Control — List and manage users who have authorized your business to access their travel and loyalty data
The AwardWallet MCP Server exposes 9 tools through the Vinkius. Connect it to Vercel AI SDK in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect AwardWallet to Vercel AI SDK via MCP
Follow these steps to integrate the AwardWallet MCP Server with Vercel AI SDK.
Install dependencies
Run npm install @ai-sdk/mcp ai @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the script
Save to agent.ts and run with npx tsx agent.ts
Explore tools
The SDK discovers 9 tools from AwardWallet and passes them to the LLM
Why Use Vercel AI SDK with the AwardWallet MCP Server
Vercel AI SDK provides unique advantages when paired with AwardWallet through the Model Context Protocol.
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 AwardWallet integration everywhere
Built-in streaming UI primitives let you display AwardWallet 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
AwardWallet + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the AwardWallet MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query AwardWallet in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate AwardWallet tools and return structured JSON responses to any frontend
Chatbots with tool use: embed AwardWallet capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with AwardWallet through natural language queries
AwardWallet MCP Tools for Vercel AI SDK (9)
These 9 tools become available when you connect AwardWallet to Vercel AI SDK via MCP:
create_auth_url
Generate an authorization URL for a user to link their AwardWallet account
get_account_check
Verify AwardWallet Business API connection
get_account_details
Get specific details for a loyalty account
get_account_history
Retrieve historical activity for a specific loyalty account
get_user_accounts
Retrieve loyalty account list for a specific user
get_user_itineraries
Retrieve detailed itineraries for a specific user
get_user_timeline
Retrieve the travel timeline for a specific user
list_connected_users
List all AwardWallet users who have authorized your business account
list_loyalty_providers
List all supported loyalty providers
Example Prompts for AwardWallet in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with AwardWallet immediately.
"List all connected users in my AwardWallet account."
"Show me the loyalty accounts for user ID '12345'."
"Get the travel timeline for user '998877'."
Troubleshooting AwardWallet MCP Server with Vercel AI SDK
Common issues when connecting AwardWallet to Vercel AI SDK through the Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpAwardWallet + Vercel AI SDK FAQ
Common questions about integrating AwardWallet MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Connect AwardWallet with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect AwardWallet to Vercel AI SDK
Get your token, paste the configuration, and start using 9 tools in under 2 minutes. No API key management needed.
