Skip to main content
Glama
VAAST MCP

VAAST MCP

Official

vaast-mcp

Read-only MCP server shim for VAAST — gives AI agents secure, local-only access to your VAAST vulnerability data.

What is this?

vaast-mcp is a Model Context Protocol server that forwards requests to a locally running VAAST application. It provides AI agents (Claude, Cursor, etc.) with read-only access to your scan findings, workspaces, and targets.

Security Model

  • Local only: Connects only to 127.0.0.1 — never touches the network

  • Read-only: No scan launching, no deletion, no modification. The shim enforces this itself with an allowlist of the four tools below (src/tools.ts); any other tool is hidden from tools/list and rejected without being forwarded to VAAST

  • Your data stays local: All queries run against your local VAAST SQLite database

  • Bearer token auth: Token regenerated per VAAST session, read from ~/.vaast/mcp.json

  • No data exfiltration: The shim itself only talks to 127.0.0.1; any account data (such as list_targets) is fetched by the VAAST app, not the shim

Related MCP server: Sn1per MCP Server

Available Tools

Tool

Description

list_workspaces

List all VAAST workspaces (local SQLite)

get_findings

Get scan findings for a workspace

get_scan_status

Get current scan status

list_targets

List registered scan targets (fetched by the VAAST app from your Xtrinel account)

All tools are read-only. No scanning, installation, or deletion capabilities.

Prerequisites

  1. VAAST installed and running — Download from xtrinel.com

  2. MCP server started in VAAST — Navigate to Integrations → MCP Server → Start

  3. Node.js 18+ — For running the shim

Setup

Claude Code

claude mcp add vaast -- npx -y @xtrinel/vaast-mcp

For a local build, use claude mcp add vaast -- node /path/to/vaast-mcp/dist/index.js instead.

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

From npm:

{
  "mcpServers": {
    "vaast": {
      "command": "npx",
      "args": ["-y", "@xtrinel/vaast-mcp"]
    }
  }
}

Local build:

{
  "mcpServers": {
    "vaast": {
      "command": "node",
      "args": ["/absolute/path/to/vaast-mcp/dist/index.js"]
    }
  }
}

Cursor

Add to Cursor's MCP settings:

{
  "mcpServers": {
    "vaast": {
      "command": "npx",
      "args": ["-y", "@xtrinel/vaast-mcp"]
    }
  }
}

VS Code (Continue extension)

Add to ~/.continue/config.json:

{
  "mcpServers": [
    {
      "name": "vaast",
      "command": "npx",
      "args": ["-y", "@xtrinel/vaast-mcp"]
    }
  ]
}

Testing

Manual Test with MCP Inspector

# Build the shim
cd vaast-mcp
npm install
npm run build

# Start VAAST and enable MCP server first!

# Test with inspector
npx @modelcontextprotocol/inspector node dist/index.js

Expected Behavior

When VAAST MCP server is running:

  • Shim connects successfully

  • Tools are listed (4 tools)

  • Tool calls return data from local VAAST database

When VAAST MCP server is NOT running:

  • Error: Failed to read VAAST MCP session file at ~/.vaast/mcp.json

  • Clear instructions to start VAAST MCP server first

How It Works

  1. VAAST starts an MCP server on 127.0.0.1:<random-port> when you click Start

  2. VAAST writes ~/.vaast/mcp.json with the port and a session bearer token

  3. Your AI agent launches vaast-mcp as a subprocess

  4. vaast-mcp reads the session file and forwards MCP requests via HTTP to VAAST

  5. VAAST validates the token and returns data from your local SQLite database

Troubleshooting

Error: Failed to read VAAST MCP session file

Cause: VAAST MCP server is not running.

Fix: Open VAAST → Integrations → MCP Server → Start

Connection refused / HTTP errors

Cause: VAAST MCP server stopped or crashed.

Fix: Restart the MCP server in VAAST.

Tools not appearing in AI agent

Cause: MCP config incorrect or agent needs restart.

Fix:

  1. Verify config points to correct command/path

  2. Restart your AI agent (Claude Desktop, Cursor, etc.)

  3. Check agent's MCP logs for errors

Development

# Clone and install
git clone https://github.com/Xtrinel-Group/vaast-mcp.git
cd vaast-mcp
npm install

# Build
npm run build

# Test locally (see Local development config above)
node dist/index.js

License

Apache-2.0 — See LICENSE

Security

See SECURITY.md for vulnerability disclosure policy.


Made by Xtrinel — Offensive security tools for AI applications.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      A
      maintenance
      Lets AI assistants query Dynatrace Managed environments — services, traces, metrics, pods, and problems — by running read-only GET requests through your already logged-in browser session, so no API tokens are needed. All traffic stays on your machine between the AI client, a local server, and a browser extension.
      39
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Lets an AI assistant drive a self-hosted Sn1per install over local stdio, launching orchestrated scans and reading back structured findings, ports, subdomains and technologies. Enforces configured target scope, redacts secrets, and writes an audit log of every scan, cancel, delete and export request.
      10
      3
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes read-only local analysis tools for source auditing, web traffic review, binary reverse engineering, exploit scaffolding, OSINT, and reporting via JSON-RPC over stdio, enabling LLMs to orchestrate evidence-based security workflows without executing targets or sending network requests.
      1
      MIT
    • F
      license
      B
      quality
      B
      maintenance
      Enables AI agents to run passive, boundary, and gated active reconnaissance and web-security CLI tools (nmap, sqlmap, commix, httpx, ffuf, nikto, subfinder, and more) against authorized targets through a persistent, API-key-protected HTTP service. Scope gates, authorization windows, evidence capture, and a full audit trail are enforced in code so every tool call stays within the engagement's declared rules.
      29
      1
      -