Aikido Security MCP Server for Mastra AI 16 tools — connect in under 2 minutes
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Aikido Security 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
Vinkius supports streamable HTTP and SSE.
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: {
"aikido-security": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Aikido Security Agent",
instructions:
"You help users interact with Aikido Security " +
"using 16 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Aikido Security?"
);
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 Aikido Security MCP Server
Connect your Aikido Security account to any AI agent and take full control of your security posture monitoring through natural conversation.
Mastra's agent abstraction provides a clean separation between LLM logic and Aikido Security tool infrastructure. Connect 16 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.
What you can do
- Open Issues — List all open security vulnerabilities (CVEs, leaked secrets, cloud misconfigs, SAST findings) ordered by priority
- Repository Scanning — View all connected code repositories and their scanning status across GitHub, GitLab, Bitbucket
- Cloud Asset Monitoring — List cloud infrastructure assets from AWS, GCP, and Azure being monitored for misconfigurations
- Container Security — Monitor container images and registries for known vulnerabilities
- Compliance Tracking — Get ISO 27001 and SOC2 compliance overviews for audit preparation
- Export Issues — Bulk export all security findings for reporting and analysis
- Webhook Management — List configured webhooks for Slack, Jira, and other integrations
The Aikido Security MCP Server exposes 16 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect Aikido Security to Mastra AI via MCP
Follow these steps to integrate the Aikido Security MCP Server with Mastra AI.
Install dependencies
Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save to agent.ts and run with npx tsx agent.ts
Explore tools
Mastra discovers 16 tools from Aikido Security via MCP
Why Use Mastra AI with the Aikido Security MCP Server
Mastra AI provides unique advantages when paired with Aikido Security through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Aikido Security 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 Aikido Security 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
Aikido Security + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Aikido Security MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Aikido Security, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Aikido Security as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Aikido Security on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Aikido Security tools alongside other MCP servers
Aikido Security MCP Tools for Mastra AI (16)
These 16 tools become available when you connect Aikido Security to Mastra AI via MCP:
export_all_issues
This provides a comprehensive snapshot of your organization's security posture. Use this for compliance reporting, audit preparation, or bulk analysis of vulnerabilities. Export all security issues from Aikido
get_iso_compliance
Shows which controls are passing, failing, or need attention. Use this for compliance monitoring, audit preparation, and security posture reporting. This endpoint is available on all paid Aikido plans. Get ISO 27001 compliance overview for your organization
get_issue_group
The issue group ID can be obtained from list_open_issues. Each issue group represents a category of related vulnerabilities (e.g., the same CVE across multiple repositories). Use this to deep-dive into a specific security finding before deciding on remediation steps. Get detailed information about a specific security issue group
get_soc2_compliance
Shows which trust service criteria are met and which need remediation. Use this for SOC2 audit preparation and compliance monitoring. This endpoint is available on all paid Aikido plans. Get SOC2 compliance overview for your organization
get_workspace
Use this to verify your workspace setup and check for any configuration errors. Get workspace information and configuration
list_apps
Shows which apps have active protection and their configuration status. Use this to verify your web applications are properly secured against common attacks (SQL injection, XSS, etc.). List all web applications protected by Aikido firewall
list_cloud_assets
You can paginate through results and optionally search by text or sort by name, asset type, region, etc. Use this to understand your cloud attack surface and identify misconfigurations or vulnerabilities. List cloud infrastructure assets monitored by Aikido
list_code_repositories
This includes repositories connected from GitHub, GitLab, Bitbucket, etc. Use this to discover which repositories are being monitored for vulnerabilities and security issues. List all active code repositories connected to Aikido
list_connected_clouds
Shows which cloud environments are being monitored for security misconfigurations and vulnerabilities. Use this to verify cloud integrations are properly configured. List all cloud accounts connected to Aikido
list_containers
This includes Docker images from registries like Docker Hub, ECR, GCR, etc. Use this to monitor container security and identify vulnerable base images or dependencies. List all container images and repositories scanned by Aikido
list_custom_rules
Custom rules allow you to define organization-specific security checks beyond the default scanner. Use this to audit your custom rule coverage and ensure your security policies are properly enforced. List all custom SAST scanning rules in Aikido
list_open_issues
Issues include vulnerabilities from code scanning, container scanning, cloud security, SAST, IaC, DAST, and more. You can optionally filter by issue type (open_source, leaked_secret, cloud, sast, iac, docker_container, etc.), by team ID, or by repository. Supports pagination with page and per_page parameters. Use this to get a comprehensive view of your organization's security posture and prioritize remediation efforts. List all open security issues (vulnerabilities) in your Aikido account
list_teams
Teams are used to organize repositories, assign issues, and manage security workflows. Use this to understand how your organization structures its security responsibilities. List all teams in your Aikido organization
list_users
Shows user roles, permissions, and access levels. Use this to audit user access and ensure proper security team membership. List all users in your Aikido organization
list_virtual_machines
Use this to understand your VM attack surface and identify security gaps. List all virtual machines monitored by Aikido
list_webhooks
Webhooks are used to send security event notifications to external systems (Slack, Jira, etc.). Use this to verify integrations are properly configured and troubleshoot notification delivery. List all configured webhooks in Aikido
Example Prompts for Aikido Security in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Aikido Security immediately.
"Show me all critical and high severity open security issues, grouped by type."
"What's our current ISO 27001 compliance status?"
"List all our connected cloud accounts and any misconfigurations found in the last 7 days."
Troubleshooting Aikido Security MCP Server with Mastra AI
Common issues when connecting Aikido Security to Mastra AI through the Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpAikido Security + Mastra AI FAQ
Common questions about integrating Aikido Security 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?
Connect Aikido Security with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect Aikido Security to Mastra AI
Get your token, paste the configuration, and start using 16 tools in under 2 minutes. No API key management needed.
