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

How to Use the CallPage MCP in Mastra AI

Build resilient Mastra AI workflows that route CallPage callbacks, retry failed syncs, and alert managers automatically.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect CallPage MCP to Mastra AI

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

Build CallPage routing workflows in Mastra AI

Sales leads go cold in minutes. You need a system that catches a new callback request, checks the department, and routes it immediately. Set up a workflow using `list_leads` and `list_departments`. If a specific department is offline, the logic branches and uses `list_managers` to escalate the lead to an available supervisor.

Handle API failures with MCP Server backoff

Network requests fail. That is just reality. Instead of writing custom retry logic for your customer support syncs, let the framework handle it. When your agent executes `get_call_details` and hits a timeout, Mastra automatically retries with exponential backoff. You get the recording links without writing a single try-catch block.

Gate SMS templates behind human review

You probably do not want an autonomous script firing off text messages without a quick sanity check. The framework lets you pause execution. Enable approval requirements for `list_sms_templates`. The workflow stops, waits for a real person to confirm the template choice, and then resumes the callback process.

Setup guide

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

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

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

Install the latest package. Instantiate your client with your Vinkius URL, then call the list method to spread them into your Agent's toolset.
It does. You can build paths that check the lead status first. If the number is invalid, branch to an error state; otherwise, proceed to assignment.
The framework auto-detects the right transport layer. It will negotiate either SSE or Streamable HTTP with the Vinkius endpoint automatically.
Have your workflow execute `list_managers` to pull the active roster. The agent reads the availability and assigns the callback accordingly.
The connection runs through ephemeral zero-trust sandboxes. Your SMS templates, widget settings, and customer phone numbers are processed in memory and immediately wiped. No persistence layer exists here.

Start using the CallPage 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 CallPage. 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.