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

How to Use the Metaplane MCP in Mastra AI

Automate your data observability workflows in Mastra-ai using the Metaplane MCP server.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect Metaplane MCP to Mastra AI

Create your Vinkius account to connect Metaplane 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 incident response in Mastra-ai

Build agent workflows that react to data drift. When `list_incidents` finds a failure, your Mastra-ai agent can automatically branch into a recovery task. Use `get_incident` to gather context for your agent's decision logic. This prevents wasted cycles on false alarms.

Dynamic monitor triggering

Control your observability schedule with `trigger_monitor_run`. It's perfect for workflows that need to verify data before moving to the next step. Check if a monitor is healthy by invoking `get_monitor`. If it fails, your agent can retry the operation using Mastra-ai's built-in backoff logic.

Schema-aware agent workflows

Give your agents a map of your environment with `list_data_connections`. It helps them understand which databases they are currently observing. Use `list_connection_schemas` to check table structures during a workflow execution. This ensures your agent operates on the correct data fields.

Setup guide

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

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

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

It does. You simply import the MCP server and spread the tools into your agent definition. This gives your agent control over data observability.
If an agent fails a data check, configure a workflow step to call `trigger_monitor_run`. This forces a fresh look at the data before the next retry.
Your API key is kept outside the agent code. The server handles the authentication handshake for you.
Simply use `list_monitors` within your agent tools. It returns an array of current monitors you can iterate through.
It only touches monitor statuses, incident metadata, and schema information. No raw business data leaves your environment.

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