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

How to Use the Wallarm MCP in Mastra AI

Build resilient, multi-step APIs with Mastra AI using the Wallarm MCP Server.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect Wallarm MCP to Mastra AI

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

Automate Vulnerability Status Changes

If a workflow detects a false positive hit, it can automatically call `update_vulnerability_status`. This changes the lifecycle status of the finding to 'falsepositive'. The agent manages this state change without human intervention. Conversely, when a critical vulnerability is confirmed, your Mastra AI flow sets the status using `update_vulnerability_status` to 'open' for immediate action.

Identify and Mitigate Blocked Attacks

When a workflow needs to analyze an attack failure, it runs `search_security_hits`. This gets the full context—headers and payloads—of blocked traffic. The agent then uses this data to inform conditional retries. Alternatively, use `search_security_attacks` to pull grouped reports (like SQLi or XSS) that guide your workflow's retry logic.

Manage API Access Policies

Your Mastra AI workflows can enforce access control. The `create_ip_acl_rule` tool allows the agent to add IP ranges to either a 'white' or 'black' list, ensuring only approved sources execute critical steps. Before adding rules, the workflow executes `list_ip_acl_rules`, checking existing policies to prevent conflicts.

Setup guide

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

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

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

The agent uses `update_vulnerability_status` to manage the life cycle of findings. This allows complex workflows to treat a finding as 'closed' or 'falsepositive,' preventing unnecessary alerts.
The agent runs `search_security_attacks` to gather structured data, grouping detected issues by vector like XSS. This informs the workflow's conditional branching logic.
Yes. The agent can execute `create_ip_acl_rule` to adjust IP allowlists or denylists, making the overall workflow highly secure and self-managing.
The `get_discovered_api_inventory` tool automatically gathers a list of all APIs from passive traffic analysis. This ensures the agent always knows which endpoints exist in the environment.
This MCP Server handles API traffic and security metadata. It deals with IP addresses, vulnerability IDs, request headers, payloads, and account subscription details retrieved by `get_client_info`.

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