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

How to Use the Airship MCP in Vercel AI SDK

Run Airship mobile messaging tools directly inside Vercel AI SDK streams to update push campaigns live in your React UI.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect Airship MCP to Vercel AI SDK

Create your Vinkius account to connect Airship 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 live push delivery metrics to your React components

The `get_push_status` tool lets your Vercel AI SDK application check the exact delivery state of any notification. Instead of waiting for a full page reload, your app streams raw delivery updates straight to the screen. Your users watch the push delivery percentages tick up in real time on the dashboard, powered by Edge-compatible serverless functions. This direct streaming removes the lag from monitoring mobile campaigns. Your users watch the push delivery percentages tick up in real time on the dashboard, powered by Edge-compatible serverless functions.

Dynamic audience segment filtering via Vercel AI SDK

The `list_segments` and `get_segment_details` tools fetch live mobile audience criteria directly into your Next.js frontend. When your AI client analyzes these segments, the results render instantly in the chat interface without blocking the main thread. You don't write complex state management because the SDK handles the data stream from the Airship MCP Server straight to your React hooks.

Real-time device registration and mapping in the browser

The `associate_named_user` tool links specific hardware devices to your database profiles during a live agent chat session. Your Vercel AI SDK setup executes this mapping immediately when a user confirms their identity, streaming the confirmation status back to the screen. Combining this with `list_channels` lets your agent show users their active mobile devices on the fly. The prompt handles the lookup over the MCP connection and updates the DOM in one continuous, streaming response.

Setup guide

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

You initialize the client using `createMCPClient` with the Vinkius HTTP endpoint. Pass the tools directly into `streamText` and make sure to call `close()` when the execution finishes to avoid leaking connections on Vercel.
Yes, you can loop the send tool inside your agent loop and stream the output. The SDK pushes each delivery receipt token directly to the UI as Airship processes the requests.
Vinkius handles the underlying token exchange for you. Your Vercel AI SDK app needs only one endpoint token, removing the need to store raw Airship API keys in your frontend environment.
Yes, the agent calls the list tools to find target audiences. It filters the data dynamically during the text generation phase and prepares the payload for the push API.
All mobile channel metadata and device tokens are processed inside an isolated V8 sandbox on Vinkius. Your Vercel AI SDK application receives only the sanitized API outputs, ensuring no sensitive push payloads or device identifiers are exposed or cached.

Start using the Airship 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 Airship. 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.