How to Use the Cyberimpact MCP in Mastra AI
Build resilient marketing workflows that manage Cyberimpact data automatically with Mastra AI.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Cyberimpact MCP to Mastra AI
Create your Vinkius account to connect Cyberimpact to Mastra AI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Build Resilient Subscriber Workflows
Your Mastra AI agent executes `add_subscriber` within a conditional workflow branch. If a user signs up but the group assignment fails, the engine catches the error. It automatically retries the insertion with exponential backoff. Searching works perfectly inside these logic chains. The agent runs `search_subscribers_by_email` to check if an address exists before attempting an insert. You define the failure conditions once, and the workflow handles the rest.
Automate Campaign Checks
Polling `get_campaign_details` inside a scheduled Mastra workflow pulls fresh open rates on a timer. The agent evaluates the click metrics against your defined thresholds. If performance drops, it triggers an alert branch. Managing the transport connection requires zero extra code. The framework auto-detects the Streamable HTTP protocol from your Vinkius endpoint. You spread `mcpClient.listTools()` directly into the agent configuration.
Govern Cyberimpact MCP Server Actions
Exposing `list_marketing_automations` lets your agent read workflow statuses, but you maintain control over mutations. The `requireToolApproval` flag forces a human to sign off before the agent touches production data. Deploying these managed pipelines takes one command. You push the agent to your cloud provider, and it immediately starts checking `list_subscribers` against your internal databases. The connection stays active and monitored.
Set up Cyberimpact MCP in Mastra AI
Prerequisites
- Node.js 18+ and a TypeScript project
-
@mastra/mcp+@mastra/corepackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
npm install @mastra/mcp @mastra/coreplus your preferred model provider (e.g.@ai-sdk/openai). - 2
Configure the MCPClient
Create an
MCPClientwith your Vinkius endpoint as aURLobject. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Discover and inject tools
Call
mcpClient.listTools()and spread the result into your agent'stoolsobject. All Cyberimpact tools become native Mastra tools. - 4
Run with any model
Swap
openai("gpt-4o")for any AI SDK-compatible provider. Callagent.generate()and the agent routes tool calls through MCP automatically.
import { MCPClient } from "@mastra/mcp";
import { Agent } from "@mastra/core/agent";
import { openai } from "@ai-sdk/openai";
const mcpClient = new MCPClient({
id: "cyberimpact-mcp-client",
servers: {
"cyberimpact-mcp": {
url: new URL(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
),
},
},
});
const agent = new Agent({
name: "Cyberimpact Agent",
model: openai("gpt-4o"),
instructions: "You have access to Cyberimpact tools.",
tools: {
...(await mcpClient.listTools()),
},
});
const result = await agent.generate(
"List recent Cyberimpact transactions"
);
console.log(result.text); Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Cyberimpact. 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 Cyberimpact MCP in Mastra AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Cyberimpact MCP today
We host it, we monitor it, we maintain it. You just paste one token.