How to Use the Zealy MCP in Vercel AI SDK
Build real-time Zealy features into your app with Vercel AI SDK.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Zealy MCP to Vercel AI SDK
Create your Vinkius account to connect Zealy 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.
Manage Community Content via MCP Server
You can instantly build new game elements. Use `create_quest` to add objectives or `update_quest` if the details change. Need something more hidden? You'll use `create_secret` for community secrets that your users have to find. This lets you programmatically adjust the entire user experience. If a group needs immediate content, call `list_modules` to see what categories exist before deciding on new assets.
Fetch User Details with Vercel AI SDK
To verify who's in your community, you use `check_member`. Need specific data? Call `get_user` to fetch user details by ID. If you need to find a person by their social handle instead, try `search_users`. These tools let you check membership status and gather necessary context before running any major logic in your front-end code.
Handle Community Progression
Controlling user progress is simple. Use `add_xp` to manually award points, or call `remove_xp` if an error occurs. If someone misbehaves, you can execute a ban using `ban_user`. For tracking efforts, use `get_leaderboard` and specify if you want the all-time scores or just the current sprint leaderboard.
Set up Zealy 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 Zealy 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 Zealy 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 Zealy. 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 Zealy 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 Zealy MCP today
We host it, we monitor it, we maintain it. You just paste one token.