Zerion (DeFi Portfolio) MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 16 tools to Get Fungible, Get Nft, Get Swap Quotes, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Zerion (DeFi Portfolio) 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 for Vercel AI SDK
The Zerion (DeFi Portfolio) MCP Server for Vercel AI SDK is a standout in the Data Analytics category — giving your AI agent 16 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
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 Zerion (DeFi Portfolio), 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 Zerion (DeFi Portfolio) MCP Server
Connect your AI agent to the Zerion API to gain deep insights into any Web3 wallet. This server enables real-time monitoring of DeFi positions, NFT valuations, and historical performance across all major blockchains.
The Vercel AI SDK gives every Zerion (DeFi Portfolio) tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 16 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
- Portfolio Overview — Get total value, asset distribution, and net worth for any wallet address or a set of multiple addresses.
- DeFi & Token Positions — Inspect specific fungible token balances and complex DeFi positions (liquidity pools, lending, etc.).
- Transaction History — Retrieve human-readable transaction logs to understand past on-chain activity.
- PnL Analysis — Calculate realized and unrealized gains to track investment performance over time.
- NFT Analytics — Fetch NFT portfolio values, individual holdings, and collection-grouped data.
- Market Data — List supported chains, dApps, and check real-time gas prices across networks.
The Zerion (DeFi Portfolio) MCP Server exposes 16 tools through the Vinkius. Connect it to Vercel AI SDK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 16 Zerion (DeFi Portfolio) tools available for Vercel AI SDK
When Vercel AI SDK connects to Zerion (DeFi Portfolio) through Vinkius, your AI agent gets direct access to every tool listed below — spanning defi, web3, portfolio-tracking, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Get fungible on Zerion (DeFi Portfolio)
Get token metadata, prices, and charts
Get nft on Zerion (DeFi Portfolio)
Look up specific NFTs by reference
Get swap quotes on Zerion (DeFi Portfolio)
Get quotes for same-chain swaps or cross-chain bridges
Get wallet nft collections on Zerion (DeFi Portfolio)
Get NFT holdings grouped by collection for a wallet
Get wallet nft portfolio on Zerion (DeFi Portfolio)
Get NFT value summary for a wallet
Get wallet nft positions on Zerion (DeFi Portfolio)
Get individual NFT holdings for a wallet
Get wallet pnl on Zerion (DeFi Portfolio)
Get realized and unrealized gains (PnL) for a wallet
Get wallet portfolio on Zerion (DeFi Portfolio)
Get total value and distribution for a wallet
Get wallet positions on Zerion (DeFi Portfolio)
Get list of tokens and DeFi positions for a wallet
Get wallet set portfolio on Zerion (DeFi Portfolio)
Get aggregated portfolio for multiple wallets
Get wallet set positions on Zerion (DeFi Portfolio)
Get aggregated positions for multiple wallets
Get wallet set transactions on Zerion (DeFi Portfolio)
Get aggregated transactions for multiple wallets
Get wallet transactions on Zerion (DeFi Portfolio)
Get human-readable transaction history for a wallet
List chains on Zerion (DeFi Portfolio)
List supported blockchains and metadata
List dapps on Zerion (DeFi Portfolio)
List metadata for decentralized applications
List gas prices on Zerion (DeFi Portfolio)
Get real-time gas estimates across chains
Connect Zerion (DeFi Portfolio) to Vercel AI SDK via MCP
Follow these steps to wire Zerion (DeFi Portfolio) into Vercel AI SDK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @ai-sdk/mcp ai @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the script
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Vercel AI SDK with the Zerion (DeFi Portfolio) MCP Server
Vercel AI SDK provides unique advantages when paired with Zerion (DeFi Portfolio) 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 Zerion (DeFi Portfolio) integration everywhere
Built-in streaming UI primitives let you display Zerion (DeFi Portfolio) 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
Zerion (DeFi Portfolio) + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Zerion (DeFi Portfolio) MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Zerion (DeFi Portfolio) in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Zerion (DeFi Portfolio) tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Zerion (DeFi Portfolio) capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Zerion (DeFi Portfolio) through natural language queries
Example Prompts for Zerion (DeFi Portfolio) in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with Zerion (DeFi Portfolio) immediately.
"What is the total portfolio value and asset distribution for wallet 0x71C7656EC7ab88b098defB751B7401B5f6d8976F?"
"Show me the last 5 transactions for address 0x123... and explain what happened."
"What is the current PnL for wallet 0xabc... in USD?"
Troubleshooting Zerion (DeFi Portfolio) MCP Server with Vercel AI SDK
Common issues when connecting Zerion (DeFi Portfolio) to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpZerion (DeFi Portfolio) + Vercel AI SDK FAQ
Common questions about integrating Zerion (DeFi Portfolio) 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.Explore More MCP Servers
View all →
BrioHR
10 toolsOrchestrate BrioHR management — retrieve employee profiles, monitor leave, and integrate claim reports directly from any AI agent.

Hostfully
10 toolsManage vacation rental properties, leads, and bookings via Hostfully API.

Range
11 toolsKeep distributed teams in sync with async check-ins, team updates, and meeting tools that reduce unnecessary status meetings.

Nord Pool
10 toolsAccess European electricity market data via Nord Pool — query day-ahead prices, auction volumes, cross-border flows, and consumption forecasts from any AI agent.
