4,500+ servers built on MCP Fusion
Vinkius
CONSENSUS logo
Vinkius
Mastra AI logo

How to Use the CONSENSUS MCP in Mastra AI

Build resilient, branching sales agent workflows with Mastra AI and the CONSENSUS MCP Server.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

CONSENSUS MCP on Cursor AI Code Editor MCP Client CONSENSUS MCP on Claude Desktop App MCP Integration CONSENSUS MCP on OpenAI Agents SDK MCP Compatible CONSENSUS MCP on Visual Studio Code MCP Extension Client CONSENSUS MCP on GitHub Copilot AI Agent MCP Integration CONSENSUS MCP on Google Gemini AI MCP Integration CONSENSUS MCP on Lovable AI Development MCP Client CONSENSUS MCP on Mistral AI Agents MCP Compatible CONSENSUS MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Mastra AI

Connect CONSENSUS MCP to Mastra AI

Create your Vinkius account to connect CONSENSUS 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.

GDPR Free for Subscribers

Branching workflows for demo engagement

Running `list_demolytics` allows your Mastra AI agent to instantly check how long a buyer watched your product video. You can set up a workflow that branches based on their watch time. If the watch time is under thirty seconds, the agent triggers a step to fetch fresh materials using `list_demos`. It uses this MCP Server to find a shorter overview and automatically emails a new link to the prospect.

Automated invite follow-ups with retry logic

Calling `list_invitations` with Mastra AI's built-in exponential backoff ensures your agent never misses a stale invite due to network hiccups. Don't let prospect invitations fall through the cracks because of temporary API timeouts. Once the workflow successfully fetches the stale invites, your agent can automatically ping the owner from `list_users`. This ensures your sales reps never miss a chance to follow up on cold leads.

Mastra AI human-in-the-loop demoboard creation

Executing `get_demoboard` within a human-in-the-loop workflow prevents your agents from sending unapproved portals to high-value leads. You can require manual approval in your Mastra agent before it finalizes a prospect's portal. The agent drafts the personalized experience using `list_demoboards`, pauses for a human sales manager to review, and deploys it immediately upon approval. This keeps your messaging tight while letting the agent do the heavy lifting.

Setup guide

Set up CONSENSUS MCP in Mastra AI

Prerequisites

  • Node.js 18+ and a TypeScript project
  • @mastra/mcp + @mastra/core packages
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install dependencies

    Run npm install @mastra/mcp @mastra/core plus your preferred model provider (e.g. @ai-sdk/openai).

  2. 2

    Configure the MCPClient

    Create an MCPClient with your Vinkius endpoint as a URL object. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com.

  3. 3

    Discover and inject tools

    Call mcpClient.listTools() and spread the result into your agent's tools object. All CONSENSUS tools become native Mastra tools.

  4. 4

    Run with any model

    Swap openai("gpt-4o") for any AI SDK-compatible provider. Call agent.generate() and the agent routes tool calls through MCP automatically.

agent.ts
import { MCPClient } from "@mastra/mcp";
import { Agent } from "@mastra/core/agent";
import { openai } from "@ai-sdk/openai";

const mcpClient = new MCPClient({
  id: "consensus-mcp-client",
  servers: {
    "consensus-mcp": {
      url: new URL(
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
      ),
    },
  },
});

const agent = new Agent({
  name: "CONSENSUS Agent",
  model: openai("gpt-4o"),
  instructions: "You have access to CONSENSUS tools.",
  tools: {
    ...(await mcpClient.listTools()),
  },
});

const result = await agent.generate(
  "List recent CONSENSUS 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 CONSENSUS. 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 CONSENSUS MCP in Mastra AI

Instantiate the `MCPClient` pointing to your Vinkius MCP URL, then fetch the toolset using `listTools()`. You can spread these tools directly into your agent's configuration object. This instantly grants your agent access to your interactive demo data.
Yes, Mastra has built-in retry mechanisms with exponential backoff. If a call to `list_demolytics` fails due to rate limits or network issues, the workflow engine automatically retries the operation. This keeps your automated sales pipelines running without manual intervention.
Use the `requireToolApproval` modifier on your Mastra agent when configuring the `get_demoboard` tool. The workflow pauses and alerts your team, resuming only after a rep approves the generated layout.
The integration automatically detects and supports both SSE and Streamable HTTP transports. You don't have to write custom network code to connect your agent to the Vinkius gateway.
Your buyer invitations and demoboard analytics are processed entirely in memory inside ephemeral, zero-trust V8 isolates. No customer data or viewer metrics are cached on the server. Your internal team lists stay safe because all transactions use secure, one-way HTTPS channels.

Start using the CONSENSUS MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 6 tools

We've already built the connector for CONSENSUS. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 6 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.