How to Use the Berg System CRM MCP in Mastra AI
Build automated financial workflows with Mastra AI and Berg System CRM to track policies and tasks on autopilot.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Berg System CRM MCP to Mastra AI
Create your Vinkius account to connect Berg System CRM 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.
Automate task creation inside Mastra AI workflows
`list_crm_tasks` reads outstanding reminders so your workflow engine can schedule immediate follow-ups. If a high-priority task is near its deadline, the Mastra AI agent triggers an escalation branch to alert the assigned Berg System CRM advisor. This keeps your financial advisory operations moving without requiring manual dashboard checks. When a task is completed, you can use other tools in this MCP Server to update the record status. Mastra AI's built-in retry engine handles network drops automatically, ensuring that no Berg System CRM client reminder slips through the cracks.
Run conditional branches on sales opportunities
`list_sales_opportunities` pulls active deals into your agentic workflow to evaluate pipeline health. If a deal size exceeds a specific threshold, Mastra AI routes the record to a senior advisor for immediate action. You define these branching rules in pure TypeScript, leaving the data fetching to the Mastra AI agent. The agent can also run `get_sales_custom_fields` to inspect tailored financial metrics before making routing decisions. This MCP Server connection ensures your Mastra AI automated workflows have the exact context they need to make smart decisions.
Sync employee directories with Mastra AI agents
`list_system_employees` identifies available staff members so the workflow engine can assign new leads dynamically. The Mastra AI agent checks the workload of each advisor and routes the prospect to the person with the fewest open Berg System CRM tasks. This removes manual delegation from the sales manager's daily to-do list. If the API call fails due to rate limits, the Mastra AI framework's exponential backoff policy retries the Berg System CRM request automatically. Your integration remains stable even during peak hours when multiple workflows run concurrently.
Set up Berg System CRM 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 Berg System CRM 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: "berg-system-crm-mcp-client",
servers: {
"berg-system-crm-mcp": {
url: new URL(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
),
},
},
});
const agent = new Agent({
name: "Berg System CRM Agent",
model: openai("gpt-4o"),
instructions: "You have access to Berg System CRM tools.",
tools: {
...(await mcpClient.listTools()),
},
});
const result = await agent.generate(
"List recent Berg System CRM 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 Berg System. 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 Berg System CRM MCP in Mastra AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Berg System CRM MCP today
We host it, we monitor it, we maintain it. You just paste one token.