How to Use the Helpshift MCP in Mastra AI
Build resilient support workflows and automate ticket routing using Mastra AI.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Helpshift MCP to Mastra AI
Create your Vinkius account to connect Helpshift 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.
Automated Ticket Triage
The `update_issue_status` tool changes ticket states automatically based on your Mastra AI logic. Support agents waste hours manually closing stale tickets. Your MCP Server connection handles the API layer. You can build a condition that checks for inactivity and resolves the issue without human input. Queue monitoring starts the process. Using `list_issues`, your agent pulls the current backlog. If the workflow detects a high volume of a specific bug, it branches the logic to tag and route those tickets differently.
Mastra AI Bulk Operations
Calling `bulk_user_action` executes profile changes across multiple users at once. You pass the actions array as a JSON string. Mastra AI thrives on these heavy, multi-step operations. If a step fails, the framework automatically retries. Long-running jobs need verification. The `get_bulk_task_status` tool checks if your mass update finished. Your workflow can pause, poll this endpoint, and only notify the admin when the entire batch completes successfully.
Audit Logging and Branching
The `get_issue_audit_logs` tool retrieves the exact action history for any specific ticket. Debugging escalated issues requires knowing who did what. Your agent grabs this log and feeds it into a decision branch to determine if a manager needs to step in. Communication happens next. Invoking `add_issue_message` drops a note into the ticket. You simply provide the JSON payload. Mastra AI ensures this only triggers after the audit log confirms the ticket requires a response.
Set up Helpshift 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 Helpshift 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: "helpshift-mcp-client",
servers: {
"helpshift-mcp": {
url: new URL(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
),
},
},
});
const agent = new Agent({
name: "Helpshift Agent",
model: openai("gpt-4o"),
instructions: "You have access to Helpshift tools.",
tools: {
...(await mcpClient.listTools()),
},
});
const result = await agent.generate(
"List recent Helpshift 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 Helpshift. 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 Helpshift MCP in Mastra AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Helpshift MCP today
We host it, we monitor it, we maintain it. You just paste one token.