Back to Browse

Vaast MCP Server

Developer ToolsModerate7.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

Read-only access to VAAST vulnerability scan findings, workspaces, and targets for AI agents

About

Read-only access to VAAST vulnerability scan findings, workspaces, and targets for AI agents

Security Report

7.2
Moderate7.2Low Risk

The vaast-mcp shim is a small, well-scoped local forwarder that connects only to 127.0.0.1, authenticates with a per-session bearer token read from ~/.vaast/mcp.json, and enforces a hardcoded read-only tool allowlist with tests. No exfiltration, shell execution, or hardcoded secrets were found; the remaining concerns are minor, such as the dependence on the local VAAST app for authorization and the reliance on an unpinned SDK version range. Supply chain analysis found 2 known vulnerabilities in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

7 files analyzed · 7 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

system_info

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

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

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

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

Available Tools

ToolDescription
list_workspacesList all VAAST workspaces (local SQLite)
get_findingsGet scan findings for a workspace
get_scan_statusGet current scan status
list_targetsList 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.

Reviews

No reviews yet

Be the first to review this server!