How to Use the Civo (Cloud-native Kubernetes Cloud Provider API) MCP in Vercel AI SDK
Build UIs that manage Civo resources in real-time, streaming API results directly into your Vercel AI SDK application.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Civo (Cloud-native Kubernetes Cloud Provider API) MCP to Vercel AI SDK
Create your Vinkius account to connect Civo (Cloud-native Kubernetes Cloud Provider API) 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 Civo Cluster Dashboards
Stop showing loading spinners for infrastructure changes. Use the Vercel AI SDK to build a frontend that calls `create_cluster`, and then streams the new cluster's status directly into your UI as it becomes available. Your users see progress, not a frozen screen. Your dashboard can stay perpetually up-to-date. Have your app poll `list_clusters` in the background. When a user recycles a node with `recycle_cluster_node`, the status change appears on their screen instantly, without a page refresh. That's how you build a modern cloud control panel.
Interactive Instance Management
Let your users manage their Civo compute instances directly from your app. Your agent can call `reboot_instance` or `stop_instance`, and the Vercel AI SDK will stream the status updates. The UI can reflect the change from 'running' to 'stopping' to 'stopped' in real time. This isn't just for stopping and starting. You can build a full instance control panel. Give users buttons that trigger `resize_instance` for upgrades or `retag_instance` for better organization. The feedback is immediate, making your app feel responsive and powerful.
Stream Civo Usage with this MCP Server
Build a real-time billing dashboard for Civo services. Your AI client can call `get_charges` and stream the data straight into a chart or table in your React or Svelte app. Users see their hourly costs tick up live. It's also great for proactive alerts. Your app can monitor `get_quota` and display a warning bar in the UI when instance or volume limits are approaching. This MCP Server gives your frontend direct visibility into account status.
Set up Civo (Cloud-native Kubernetes Cloud Provider API) 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 Civo (Cloud-native Kubernetes Cloud Provider API) 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 Civo (Cloud-native Kubernetes Cloud Provider API) 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 Civo. 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 Civo (Cloud-native Kubernetes Cloud Provider API) 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 Civo (Cloud-native Kubernetes Cloud Provider API) MCP today
We host it, we monitor it, we maintain it. You just paste one token.