Bring Llm Guardrails
to Mastra AI
Create your Vinkius account to connect Aporia to Mastra AI and start using all 7 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Aporia MCP Server?
Connect your Aporia workspace to any AI agent to enforce strict guardrails, monitor ML model performance in real time, and audit custom dashboards directly through natural conversation.
What you can do
- Guardrail Validation — Instantly validate LLM messages against your configured Aporia guardrails to detect toxicity, PII, and off-topic responses
- Model Observability — List instrumented machine learning and LLM models, and fetch their architectural details
- Performance Metrics — Retrieve real-time metrics highlighting operational performance and potential data drift
- Active Monitors — View and trigger active monitors to immediately check for data integrity issues or performance degradation
- Dashboards — Access custom dashboards that aggregate your critical observability metrics
How it works
- Subscribe to this server
- Enter your Aporia API Key
- Protect your prompt chains and manage your AI infrastructure directly from Claude, Cursor, or any MCP-compatible client
Who is this for?
- AI engineers — enforce guardrails over inputs and outputs during development without swapping contexts
- Data scientists — track model drift and analyze production metrics instantly
- MLOps teams — trigger monitors on demand and visualize custom observability dashboards from a single chat pane
- Risk officers — guarantee compliance checking against PII and hateful content dynamically
Built-in capabilities (7)
Get performance and drift metrics for an Aporia monitored model
Get specific details for a monitored Aporia model
List custom dashboards configured in the Aporia workspace
List Aporia monitored machine learning and LLM models
List configured Aporia monitors for a specific model
Trigger an immediate run of a specific Aporia monitor
g. toxicity, PII, off-topic). Pass an array of messages. Validate LLM interactions against Aporia guardrails
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Aporia tool infrastructure. Connect 7 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Aporia without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Aporia tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Aporia in Mastra AI
Why run Aporia with Vinkius?
The Aporia connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 7 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Aporia using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Aporia and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Aporia to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Aporia for Mastra AI
Every request between Mastra AI and Aporia is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Can my AI agent check for PII vulnerabilities in my conversation logs?
Yes. Provide a message context and prompt the agent to validate guardrails for a specific Aporia project. It will query the Aporia rules engine and return actionable insights immediately — ensuring that your outputs remain safe and compliant before deployment.
How quickly can I review data drift alerts triggered over the weekend?
In seconds. During your Monday stand-up, ask your AI agent to fetch metrics for your primary model and list its monitors. The agent will pull up statistical variations and active alerts directly into your chat, saving you from navigating complex visual dashboards when you need a quick situational report.
If a monitor seems stuck, can the agent force its execution?
Absolutely. If you suspect an anomaly, ask the agent to manually trigger the specific monitor ID. Instead of scheduling a redundant pipeline, the agent hits the Aporia backend to force a run, ensuring your MLOps workflow isn't blocked by cadence limitations.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Drift
10 toolsEquip your AI agent to manage conversations, track contacts, and monitor agent availability via the Drift API.

AeroLeads
12 toolsFind verified business emails and phone numbers for any prospect and build targeted lead lists in seconds.

Listrak
7 toolsManage email and SMS campaigns, contacts, and messaging via the Listrak REST API.

Pinterest Ads
10 toolsManage advertising and pins via Pinterest Ads — list campaigns, track analytics, and audit audiences directly from any AI agent.
