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

How to Use the CallFire MCP in Mastra AI

Build resilient CallFire voice and text automation workflows using the Mastra AI agent framework.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect CallFire MCP to Mastra AI

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

Automated Campaign Retries with Mastra AI

This MCP Server exposes campaign tools like `list_campaigns` to monitor active broadcasts and trigger retries if performance metrics drop below your threshold. When high-volume voice campaigns stall, you need automated recovery. Using Mastra's built-in workflow engine, the agent handles transient API errors gracefully. If `get_campaign` fails due to rate limits, the framework automatically backs off and retries the call without crashing your background service.

Conditional Text Notification Workflows

This MCP Server exposes text tools like `list_texts` to scan incoming messages and route the conversation based on the sentiment or keywords found in the message body. Set up complex logic paths using MCP tools based on customer replies. If a customer requests a callback, the workflow triggers `get_text` to verify the sender's identity, then flags the record for manual follow-up. You write the branching logic in TypeScript, and the agent executes the steps reliably.

Human-in-the-Loop Webhook Management

This MCP Server exposes webhook tools like `list_webhooks` to inspect active endpoints. Modifying live communication channels requires oversight, and your agent can list active endpoints but requires explicit developer approval before making any structural changes to your messaging infrastructure. By using Mastra's tool approval flags, you keep control over critical operations. The agent drafts the webhook updates after running `get_webhook`, then pauses for your confirmation in the console before applying the changes.

Setup guide

Set up CallFire 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 CallFire 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: "callfire-alternative-mcp-client",
  servers: {
    "callfire-alternative-mcp": {
      url: new URL(
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
      ),
    },
  },
});

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

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

Initialize the MCP client with your Vinkius HTTP endpoint and call `mcpClient.listTools()`. You then spread those tools directly into your agent's tool configuration array. This gives your agent immediate access to operations like `list_calls` and `get_contact`.
Yes. Mastra's workflow engine excels at handling API rate limits. When your agent calls `list_contacts` or `get_call`, any temporary connection drops or limit blocks trigger automatic retries with exponential backoff.
You can register a workflow step that periodically checks your integrations. The agent runs `list_webhooks` to fetch active listeners, parses the metadata via `get_webhook`, and triggers subsequent workflow steps based on those configurations.
Yes. You can write a preprocessing step in your workflow that calls `list_contacts` but only feeds a specific subset of phone numbers to the agent. This prevents your context window from getting cluttered with irrelevant data.
Text logs retrieved via `get_text` are processed entirely in memory during workflow execution. Vinkius runs the underlying MCP Server in secure V8 isolates, meaning your message logs are never saved to disk or used for training.

Start using the CallFire MCP today

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

Built & Managed by Vinkius 30s setup 10 tools

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

No hosting. No infrastructure. No complex setup.
All 10 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.