Pangea (Security APIs) MCP Server for Mastra AIGive Mastra AI instant access to 40 tools to Ai Guard Prompt, Ai Guard Text, Aidr Chat Completions, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Pangea (Security APIs) through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
Ask AI about this MCP Server for Mastra AI
The Pangea (Security APIs) MCP Server for Mastra AI is a standout in the Fort Knox category — giving your AI agent 40 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"pangea-security-apis": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Pangea (Security APIs) Agent",
instructions:
"You help users interact with Pangea (Security APIs) " +
"using 40 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Pangea (Security APIs)?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Pangea (Security APIs) MCP Server
Integrate Pangea into your AI workflows to provide a robust security layer for LLM interactions and organizational data. This server provides a unified interface to Pangea's cloud-native security services.
Mastra's agent abstraction provides a clean separation between LLM logic and Pangea (Security APIs) tool infrastructure. Connect 40 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.
Key Capabilities
- AI Security & Guarding — Use
ai_guard_textandai_guard_promptto detect prompt injections, PII, and malicious content before they reach your model or user. - Data Privacy — Automatically redact sensitive information from plain text or structured JSON objects using
redact_textandredact_structured. - Secure Auditing — Maintain a tamper-proof record of activities with
audit_logand perform natural language searches through your security history viaaudit_search. - Threat Intelligence — Check for embargoed locations with
embargo_ip_checkand scan files for threats withsanitize_file. - Identity & Access — Manage authentication flows, user sessions, and authorization tuples directly from your agent.
The Pangea (Security APIs) MCP Server exposes 40 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 40 Pangea (Security APIs) tools available for Mastra AI
When Mastra AI connects to Pangea (Security APIs) through Vinkius, your AI agent gets direct access to every tool listed below — spanning ai-guardrails, pii-redaction, threat-intelligence, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Ai guard prompt on Pangea (Security APIs)
Analyze and redact content in LLM inputs/outputs
Ai guard text on Pangea (Security APIs)
Scan text for PII, malicious content, and prompt injections
Aidr chat completions on Pangea (Security APIs)
Guard LLM chat completions with integrated logging and tracing
Audit log on Pangea (Security APIs)
Create a single secure audit log entry
Audit log bulk on Pangea (Security APIs)
Create multiple secure audit log entries
Audit search on Pangea (Security APIs)
Search the audit log using natural language queries
Audit search results on Pangea (Security APIs)
Paginate through audit search results
Authn flow complete on Pangea (Security APIs)
Finalize the flow and receive session tokens
Authn flow start on Pangea (Security APIs)
Start a sign-up or sign-in flow
Authn flow update on Pangea (Security APIs)
Update flow state (e.g., submit password, OTP)
Authn session list on Pangea (Security APIs)
List active user sessions
Authn session logout on Pangea (Security APIs)
Invalidate sessions
Authn user create on Pangea (Security APIs)
Programmatically create a user
Authz check on Pangea (Security APIs)
Check if a subject has permission for an action on a resource
Authz list resources on Pangea (Security APIs)
List all resources a subject can access
Authz tuple create on Pangea (Security APIs)
Define relationships for AuthZ
Domain whois on Pangea (Security APIs)
Get WHOIS details for a domain
Embargo ip check on Pangea (Security APIs)
Check if an IP originates from an embargoed country
Embargo iso check on Pangea (Security APIs)
Check a 2-character ISO country code against embargo lists
File scan on Pangea (Security APIs)
Scan a file for malware
Intel reputation on Pangea (Security APIs)
Retrieve reputation scores for domains, URLs, or file hashes
Ip geolocate on Pangea (Security APIs)
Retrieve location data for an IP
Ip proxy on Pangea (Security APIs)
Detect if an IP is a proxy
Ip reputation on Pangea (Security APIs)
Get reputation score and verdict for an IP
Ip vpn on Pangea (Security APIs)
Detect if an IP is a VPN
Password breached on Pangea (Security APIs)
Check if a password hash prefix appears in breach data
Redact structured on Pangea (Security APIs)
Redact specific fields in a JSON object using JSONPath
Redact text on Pangea (Security APIs)
Redact sensitive data from plain text
Sanitize file on Pangea (Security APIs)
Apply sanitization rules to a file and receive a cleaned version
Share delete on Pangea (Security APIs)
Delete files or folders
Share folder create on Pangea (Security APIs)
Create folders in Secure Share
Share get on Pangea (Security APIs)
Download a file or retrieve metadata
Share list on Pangea (Security APIs)
List objects in a bucket or folder with filtering
Unredact on Pangea (Security APIs)
Decrypt data previously redacted using FPE
User breached on Pangea (Security APIs)
Check if an email, phone, or username appears in known data breaches
Vault decrypt on Pangea (Security APIs)
Perform cryptographic decryption
Vault encrypt on Pangea (Security APIs)
Perform cryptographic encryption
Vault get on Pangea (Security APIs)
Retrieve item details or secret values from Vault
Vault key generate on Pangea (Security APIs)
Generate symmetric or asymmetric keys in Vault
Vault secret store on Pangea (Security APIs)
Store a secret or token in Vault
Connect Pangea (Security APIs) to Mastra AI via MCP
Follow these steps to wire Pangea (Security APIs) into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the Pangea (Security APIs) MCP Server
Mastra AI provides unique advantages when paired with Pangea (Security APIs) through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Pangea (Security APIs) 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 Pangea (Security APIs) 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
Pangea (Security APIs) + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Pangea (Security APIs) MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Pangea (Security APIs), process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Pangea (Security APIs) as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Pangea (Security APIs) on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Pangea (Security APIs) tools alongside other MCP servers
Example Prompts for Pangea (Security APIs) in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Pangea (Security APIs) immediately.
"Redact any PII from this text: 'My email is john.doe@example.com and I live in New York'."
"Search the audit logs for any 'login' events from the last 24 hours."
"Check if the IP address 1.1.1.1 is from an embargoed country."
Troubleshooting Pangea (Security APIs) MCP Server with Mastra AI
Common issues when connecting Pangea (Security APIs) to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpPangea (Security APIs) + Mastra AI FAQ
Common questions about integrating Pangea (Security APIs) MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
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?
Does Mastra support workflow orchestration?
Explore More MCP Servers
View all →
CyberArk Privilege Cloud
10 toolsManage privileged access via CyberArk — audit secure safes, checkout vaulted account passwords, monitor users, and terminate sessions directly from any AI agent.

PubChem PUG REST API
4 toolsAccess chemical data — audit compounds, formulas, and CIDs via AI.

S&P Global Commodity Insights
12 toolsAccess global commodity price assessments — crude oil, natural gas, power, coal, metals, petrochemicals, and agriculture via S&P Global Platts benchmarks.

Matrix Operations Engine
1 toolsPerform exact linear algebra — multiply, transpose, invert, and compute determinants of massive matrices local. Zero LLM math hallucinations.
