How to Use the Nuviad Advertising MCP in Vercel AI SDK
Stream live mobile ad campaign metrics and micro-bid adjustments directly to your React components with Vercel AI SDK.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Nuviad Advertising MCP to Vercel AI SDK
Create your Vinkius account to connect Nuviad Advertising 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 RTB performance updates with Vercel AI SDK
The `get_reports_summary` tool fetches high-level metrics for your mobile ad campaigns, feeding them straight to your Vercel AI SDK stream. Instead of waiting for a full page reload, your frontend gets raw performance data as it happens. This lets you render live charts that update dynamically while your agent analyzes the numbers. Your custom dashboard calls `get_report_status` and `get_report_content` on the edge to render tables without blocking the main thread. It bypasses slow database layers entirely. Users see exactly which campaigns are hitting target margins without staring at a loading spinner.
Real-time micro-bid adjustments
The `list_micro_bids` tool exposes current bidding thresholds directly to your UI components via the Vercel AI SDK. Your agent reads these configurations and suggests bid modifications. The numbers stream straight into your custom React forms, letting ad ops teams see recommended changes instantly. You pair this with `list_micro_margins` to feed live profit spreads directly into your streaming UI. This MCP setup prevents stale bid data from lingering on-screen. Your team edits live RTB parameters without lag or backend overhead.
Dynamic targeting and creative audits
The `list_creatives` tool pulls active mobile ad assets directly into your client's streaming interface. Combined with `list_targeting_lists`, your Vercel AI SDK agent checks targeting alignment on the fly. It streams matches and mismatches directly to the user's viewport. You can render geographic segments using `list_geo_locations` as the agent processes them. This keeps your ad operations team informed without waiting for massive report downloads. The interface stays light, responsive, and fast.
Set up Nuviad Advertising 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 Nuviad Advertising 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 Nuviad Advertising 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 Nuviad. 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 Nuviad Advertising 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 Nuviad Advertising MCP today
We host it, we monitor it, we maintain it. You just paste one token.